Kconfig 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568
  1. #
  2. # EDAC Kconfig
  3. # Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
  4. # Licensed and distributed under the GPL
  5. config EDAC_ATOMIC_SCRUB
  6. bool
  7. config EDAC_SUPPORT
  8. bool
  9. menuconfig EDAC
  10. tristate "EDAC (Error Detection And Correction) reporting"
  11. depends on HAS_IOMEM && EDAC_SUPPORT && RAS
  12. help
  13. EDAC is a subsystem along with hardware-specific drivers designed to
  14. report hardware errors. These are low-level errors that are reported
  15. in the CPU or supporting chipset or other subsystems:
  16. memory errors, cache errors, PCI errors, thermal throttling, etc..
  17. If unsure, select 'Y'.
  18. The mailing list for the EDAC project is linux-edac@vger.kernel.org.
  19. if EDAC
  20. config EDAC_LEGACY_SYSFS
  21. bool "EDAC legacy sysfs"
  22. default y
  23. help
  24. Enable the compatibility sysfs nodes.
  25. Use 'Y' if your edac utilities aren't ported to work with the newer
  26. structures.
  27. config EDAC_DEBUG
  28. bool "Debugging"
  29. select DEBUG_FS
  30. help
  31. This turns on debugging information for the entire EDAC subsystem.
  32. You do so by inserting edac_module with "edac_debug_level=x." Valid
  33. levels are 0-4 (from low to high) and by default it is set to 2.
  34. Usually you should select 'N' here.
  35. config EDAC_DECODE_MCE
  36. tristate "Decode MCEs in human-readable form (only on AMD for now)"
  37. depends on CPU_SUP_AMD && X86_MCE_AMD
  38. default y
  39. help
  40. Enable this option if you want to decode Machine Check Exceptions
  41. occurring on your machine in human-readable form.
  42. You should definitely say Y here in case you want to decode MCEs
  43. which occur really early upon boot, before the module infrastructure
  44. has been initialized.
  45. config EDAC_GHES
  46. tristate "Output ACPI APEI/GHES BIOS detected errors via EDAC"
  47. depends on ACPI_APEI_GHES
  48. select UEFI_CPER
  49. help
  50. Not all machines support hardware-driven error report. Some of those
  51. provide a BIOS-driven error report mechanism via ACPI, using the
  52. APEI/GHES driver. By enabling this option, the error reports provided
  53. by GHES are sent to userspace via the EDAC API.
  54. When this option is enabled, it will disable the hardware-driven
  55. mechanisms, if a GHES BIOS is detected, entering into the
  56. "Firmware First" mode.
  57. It should be noticed that keeping both GHES and a hardware-driven
  58. error mechanism won't work well, as BIOS will race with OS, while
  59. reading the error registers. So, if you want to not use "Firmware
  60. first" GHES error mechanism, you should disable GHES either at
  61. compilation time or by passing "ghes.disable=1" Kernel parameter
  62. at boot time.
  63. In doubt, say 'Y'.
  64. config EDAC_AMD64
  65. tristate "AMD64 (Opteron, Athlon64)"
  66. depends on AMD_NB && EDAC_DECODE_MCE
  67. imply AMD_ATL
  68. help
  69. Support for error detection and correction of DRAM ECC errors on
  70. the AMD64 families (>= K8) of memory controllers.
  71. When EDAC_DEBUG is enabled, hardware error injection facilities
  72. through sysfs are available:
  73. AMD CPUs up to and excluding family 0x17 provide for Memory
  74. Error Injection into the ECC detection circuits. The amd64_edac
  75. module allows the operator/user to inject Uncorrectable and
  76. Correctable errors into DRAM.
  77. When enabled, in each of the respective memory controller directories
  78. (/sys/devices/system/edac/mc/mcX), there are 3 input files:
  79. - inject_section (0..3, 16-byte section of 64-byte cacheline),
  80. - inject_word (0..8, 16-bit word of 16-byte section),
  81. - inject_ecc_vector (hex ecc vector: select bits of inject word)
  82. In addition, there are two control files, inject_read and inject_write,
  83. which trigger the DRAM ECC Read and Write respectively.
  84. config EDAC_AL_MC
  85. tristate "Amazon's Annapurna Lab Memory Controller"
  86. depends on (ARCH_ALPINE || COMPILE_TEST)
  87. help
  88. Support for error detection and correction for Amazon's Annapurna
  89. Labs Alpine chips which allow 1 bit correction and 2 bits detection.
  90. config EDAC_AMD76X
  91. tristate "AMD 76x (760, 762, 768)"
  92. depends on PCI && X86_32
  93. help
  94. Support for error detection and correction on the AMD 76x
  95. series of chipsets used with the Athlon processor.
  96. config EDAC_E7XXX
  97. tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
  98. depends on PCI && X86_32
  99. help
  100. Support for error detection and correction on the Intel
  101. E7205, E7500, E7501 and E7505 server chipsets.
  102. config EDAC_E752X
  103. tristate "Intel e752x (e7520, e7525, e7320) and 3100"
  104. depends on PCI && X86
  105. help
  106. Support for error detection and correction on the Intel
  107. E7520, E7525, E7320 server chipsets.
  108. config EDAC_I82443BXGX
  109. tristate "Intel 82443BX/GX (440BX/GX)"
  110. depends on PCI && X86_32
  111. depends on BROKEN
  112. help
  113. Support for error detection and correction on the Intel
  114. 82443BX/GX memory controllers (440BX/GX chipsets).
  115. config EDAC_I82875P
  116. tristate "Intel 82875p (D82875P, E7210)"
  117. depends on PCI && X86_32
  118. help
  119. Support for error detection and correction on the Intel
  120. DP82785P and E7210 server chipsets.
  121. config EDAC_I82975X
  122. tristate "Intel 82975x (D82975x)"
  123. depends on PCI && X86
  124. help
  125. Support for error detection and correction on the Intel
  126. DP82975x server chipsets.
  127. config EDAC_I3000
  128. tristate "Intel 3000/3010"
  129. depends on PCI && X86
  130. help
  131. Support for error detection and correction on the Intel
  132. 3000 and 3010 server chipsets.
  133. config EDAC_I3200
  134. tristate "Intel 3200"
  135. depends on PCI && X86
  136. help
  137. Support for error detection and correction on the Intel
  138. 3200 and 3210 server chipsets.
  139. config EDAC_IE31200
  140. tristate "Intel e312xx"
  141. depends on PCI && X86
  142. help
  143. Support for error detection and correction on the Intel
  144. E3-1200 based DRAM controllers.
  145. config EDAC_X38
  146. tristate "Intel X38"
  147. depends on PCI && X86
  148. help
  149. Support for error detection and correction on the Intel
  150. X38 server chipsets.
  151. config EDAC_I5400
  152. tristate "Intel 5400 (Seaburg) chipsets"
  153. depends on PCI && X86
  154. help
  155. Support for error detection and correction the Intel
  156. i5400 MCH chipset (Seaburg).
  157. config EDAC_I7CORE
  158. tristate "Intel i7 Core (Nehalem) processors"
  159. depends on PCI && X86 && X86_MCE_INTEL
  160. help
  161. Support for error detection and correction the Intel
  162. i7 Core (Nehalem) Integrated Memory Controller that exists on
  163. newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
  164. and Xeon 55xx processors.
  165. config EDAC_I82860
  166. tristate "Intel 82860"
  167. depends on PCI && X86_32
  168. help
  169. Support for error detection and correction on the Intel
  170. 82860 chipset.
  171. config EDAC_R82600
  172. tristate "Radisys 82600 embedded chipset"
  173. depends on PCI && X86_32
  174. help
  175. Support for error detection and correction on the Radisys
  176. 82600 embedded chipset.
  177. config EDAC_I5000
  178. tristate "Intel Greencreek/Blackford chipset"
  179. depends on X86 && PCI
  180. depends on BROKEN
  181. help
  182. Support for error detection and correction the Intel
  183. Greekcreek/Blackford chipsets.
  184. config EDAC_I5100
  185. tristate "Intel San Clemente MCH"
  186. depends on X86 && PCI
  187. help
  188. Support for error detection and correction the Intel
  189. San Clemente MCH.
  190. config EDAC_I7300
  191. tristate "Intel Clarksboro MCH"
  192. depends on X86 && PCI
  193. help
  194. Support for error detection and correction the Intel
  195. Clarksboro MCH (Intel 7300 chipset).
  196. config EDAC_SBRIDGE
  197. tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
  198. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
  199. help
  200. Support for error detection and correction the Intel
  201. Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
  202. config EDAC_SKX
  203. tristate "Intel Skylake server Integrated MC"
  204. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
  205. depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_SKX can't be y
  206. select DMI
  207. select ACPI_ADXL
  208. help
  209. Support for error detection and correction the Intel
  210. Skylake server Integrated Memory Controllers. If your
  211. system has non-volatile DIMMs you should also manually
  212. select CONFIG_ACPI_NFIT.
  213. config EDAC_I10NM
  214. tristate "Intel 10nm server Integrated MC"
  215. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
  216. depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_I10NM can't be y
  217. select DMI
  218. select ACPI_ADXL
  219. help
  220. Support for error detection and correction the Intel
  221. 10nm server Integrated Memory Controllers. If your
  222. system has non-volatile DIMMs you should also manually
  223. select CONFIG_ACPI_NFIT.
  224. config EDAC_PND2
  225. tristate "Intel Pondicherry2"
  226. depends on PCI && X86_64 && X86_MCE_INTEL
  227. select P2SB if X86
  228. help
  229. Support for error detection and correction on the Intel
  230. Pondicherry2 Integrated Memory Controller. This SoC IP is
  231. first used on the Apollo Lake platform and Denverton
  232. micro-server but may appear on others in the future.
  233. config EDAC_IGEN6
  234. tristate "Intel client SoC Integrated MC"
  235. depends on PCI && PCI_MMCONFIG && ARCH_HAVE_NMI_SAFE_CMPXCHG
  236. depends on X86_64 && X86_MCE_INTEL
  237. help
  238. Support for error detection and correction on the Intel
  239. client SoC Integrated Memory Controller using In-Band ECC IP.
  240. This In-Band ECC is first used on the Elkhart Lake SoC but
  241. may appear on others in the future.
  242. config EDAC_MPC85XX
  243. bool "Freescale MPC83xx / MPC85xx"
  244. depends on FSL_SOC && EDAC=y
  245. help
  246. Support for error detection and correction on the Freescale
  247. MPC8349, MPC8560, MPC8540, MPC8548, T4240
  248. config EDAC_LAYERSCAPE
  249. tristate "Freescale Layerscape DDR"
  250. depends on ARCH_LAYERSCAPE || SOC_LS1021A
  251. help
  252. Support for error detection and correction on Freescale memory
  253. controllers on Layerscape SoCs.
  254. config EDAC_PASEMI
  255. tristate "PA Semi PWRficient"
  256. depends on PPC_PASEMI && PCI
  257. help
  258. Support for error detection and correction on PA Semi
  259. PWRficient.
  260. config EDAC_CELL
  261. tristate "Cell Broadband Engine memory controller"
  262. depends on PPC_CELL_COMMON
  263. help
  264. Support for error detection and correction on the
  265. Cell Broadband Engine internal memory controller
  266. on platform without a hypervisor
  267. config EDAC_AMD8131
  268. tristate "AMD8131 HyperTransport PCI-X Tunnel"
  269. depends on PCI && PPC_MAPLE
  270. help
  271. Support for error detection and correction on the
  272. AMD8131 HyperTransport PCI-X Tunnel chip.
  273. Note, add more Kconfig dependency if it's adopted
  274. on some machine other than Maple.
  275. config EDAC_AMD8111
  276. tristate "AMD8111 HyperTransport I/O Hub"
  277. depends on PCI && PPC_MAPLE
  278. help
  279. Support for error detection and correction on the
  280. AMD8111 HyperTransport I/O Hub chip.
  281. Note, add more Kconfig dependency if it's adopted
  282. on some machine other than Maple.
  283. config EDAC_CPC925
  284. tristate "IBM CPC925 Memory Controller (PPC970FX)"
  285. depends on PPC64
  286. help
  287. Support for error detection and correction on the
  288. IBM CPC925 Bridge and Memory Controller, which is
  289. a companion chip to the PowerPC 970 family of
  290. processors.
  291. config EDAC_HIGHBANK_MC
  292. tristate "Highbank Memory Controller"
  293. depends on ARCH_HIGHBANK
  294. help
  295. Support for error detection and correction on the
  296. Calxeda Highbank memory controller.
  297. config EDAC_HIGHBANK_L2
  298. tristate "Highbank L2 Cache"
  299. depends on ARCH_HIGHBANK
  300. help
  301. Support for error detection and correction on the
  302. Calxeda Highbank memory controller.
  303. config EDAC_OCTEON_PC
  304. tristate "Cavium Octeon Primary Caches"
  305. depends on CPU_CAVIUM_OCTEON
  306. help
  307. Support for error detection and correction on the primary caches of
  308. the cnMIPS cores of Cavium Octeon family SOCs.
  309. config EDAC_OCTEON_L2C
  310. tristate "Cavium Octeon Secondary Caches (L2C)"
  311. depends on CAVIUM_OCTEON_SOC
  312. help
  313. Support for error detection and correction on the
  314. Cavium Octeon family of SOCs.
  315. config EDAC_OCTEON_LMC
  316. tristate "Cavium Octeon DRAM Memory Controller (LMC)"
  317. depends on CAVIUM_OCTEON_SOC
  318. help
  319. Support for error detection and correction on the
  320. Cavium Octeon family of SOCs.
  321. config EDAC_OCTEON_PCI
  322. tristate "Cavium Octeon PCI Controller"
  323. depends on PCI && CAVIUM_OCTEON_SOC
  324. help
  325. Support for error detection and correction on the
  326. Cavium Octeon family of SOCs.
  327. config EDAC_THUNDERX
  328. tristate "Cavium ThunderX EDAC"
  329. depends on ARM64
  330. depends on PCI
  331. help
  332. Support for error detection and correction on the
  333. Cavium ThunderX memory controllers (LMC), Cache
  334. Coherent Processor Interconnect (CCPI) and L2 cache
  335. blocks (TAD, CBC, MCI).
  336. config EDAC_ALTERA
  337. bool "Altera SOCFPGA ECC"
  338. depends on EDAC=y && ARCH_INTEL_SOCFPGA
  339. help
  340. Support for error detection and correction on the
  341. Altera SOCs. This is the global enable for the
  342. various Altera peripherals.
  343. config EDAC_ALTERA_SDRAM
  344. bool "Altera SDRAM ECC"
  345. depends on EDAC_ALTERA=y
  346. help
  347. Support for error detection and correction on the
  348. Altera SDRAM Memory for Altera SoCs. Note that the
  349. preloader must initialize the SDRAM before loading
  350. the kernel.
  351. config EDAC_ALTERA_L2C
  352. bool "Altera L2 Cache ECC"
  353. depends on EDAC_ALTERA=y && CACHE_L2X0
  354. help
  355. Support for error detection and correction on the
  356. Altera L2 cache Memory for Altera SoCs. This option
  357. requires L2 cache.
  358. config EDAC_ALTERA_OCRAM
  359. bool "Altera On-Chip RAM ECC"
  360. depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
  361. help
  362. Support for error detection and correction on the
  363. Altera On-Chip RAM Memory for Altera SoCs.
  364. config EDAC_ALTERA_ETHERNET
  365. bool "Altera Ethernet FIFO ECC"
  366. depends on EDAC_ALTERA=y
  367. help
  368. Support for error detection and correction on the
  369. Altera Ethernet FIFO Memory for Altera SoCs.
  370. config EDAC_ALTERA_NAND
  371. bool "Altera NAND FIFO ECC"
  372. depends on EDAC_ALTERA=y && MTD_NAND_DENALI
  373. help
  374. Support for error detection and correction on the
  375. Altera NAND FIFO Memory for Altera SoCs.
  376. config EDAC_ALTERA_DMA
  377. bool "Altera DMA FIFO ECC"
  378. depends on EDAC_ALTERA=y && PL330_DMA=y
  379. help
  380. Support for error detection and correction on the
  381. Altera DMA FIFO Memory for Altera SoCs.
  382. config EDAC_ALTERA_USB
  383. bool "Altera USB FIFO ECC"
  384. depends on EDAC_ALTERA=y && USB_DWC2
  385. help
  386. Support for error detection and correction on the
  387. Altera USB FIFO Memory for Altera SoCs.
  388. config EDAC_ALTERA_QSPI
  389. bool "Altera QSPI FIFO ECC"
  390. depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
  391. help
  392. Support for error detection and correction on the
  393. Altera QSPI FIFO Memory for Altera SoCs.
  394. config EDAC_ALTERA_SDMMC
  395. bool "Altera SDMMC FIFO ECC"
  396. depends on EDAC_ALTERA=y && MMC_DW
  397. help
  398. Support for error detection and correction on the
  399. Altera SDMMC FIFO Memory for Altera SoCs.
  400. config EDAC_SIFIVE
  401. bool "Sifive platform EDAC driver"
  402. depends on EDAC=y && SIFIVE_CCACHE
  403. help
  404. Support for error detection and correction on the SiFive SoCs.
  405. config EDAC_ARMADA_XP
  406. bool "Marvell Armada XP DDR and L2 Cache ECC"
  407. depends on MACH_MVEBU_V7
  408. help
  409. Support for error correction and detection on the Marvell Aramada XP
  410. DDR RAM and L2 cache controllers.
  411. config EDAC_SYNOPSYS
  412. tristate "Synopsys DDR Memory Controller"
  413. depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || ARCH_MXC
  414. help
  415. Support for error detection and correction on the Synopsys DDR
  416. memory controller.
  417. config EDAC_XGENE
  418. tristate "APM X-Gene SoC"
  419. depends on (ARM64 || COMPILE_TEST)
  420. help
  421. Support for error detection and correction on the
  422. APM X-Gene family of SOCs.
  423. config EDAC_TI
  424. tristate "Texas Instruments DDR3 ECC Controller"
  425. depends on ARCH_KEYSTONE || SOC_DRA7XX
  426. help
  427. Support for error detection and correction on the TI SoCs.
  428. config EDAC_QCOM
  429. tristate "QCOM EDAC Controller"
  430. depends on ARCH_QCOM && QCOM_LLCC
  431. help
  432. Support for error detection and correction on the
  433. Qualcomm Technologies, Inc. SoCs.
  434. This driver reports Single Bit Errors (SBEs) and Double Bit Errors (DBEs).
  435. As of now, it supports error reporting for Last Level Cache Controller (LLCC)
  436. of Tag RAM and Data RAM.
  437. For debugging issues having to do with stability and overall system
  438. health, you should probably say 'Y' here.
  439. config EDAC_ASPEED
  440. tristate "Aspeed AST BMC SoC"
  441. depends on ARCH_ASPEED
  442. help
  443. Support for error detection and correction on the Aspeed AST BMC SoC.
  444. First, ECC must be configured in the bootloader. Then, this driver
  445. will expose error counters via the EDAC kernel framework.
  446. config EDAC_BLUEFIELD
  447. tristate "Mellanox BlueField Memory ECC"
  448. depends on ARM64 && ((MELLANOX_PLATFORM && ACPI) || COMPILE_TEST)
  449. help
  450. Support for error detection and correction on the
  451. Mellanox BlueField SoCs.
  452. config EDAC_DMC520
  453. tristate "ARM DMC-520 ECC"
  454. depends on ARM64
  455. help
  456. Support for error detection and correction on the
  457. SoCs with ARM DMC-520 DRAM controller.
  458. config EDAC_ZYNQMP
  459. tristate "Xilinx ZynqMP OCM Controller"
  460. depends on ARCH_ZYNQMP || COMPILE_TEST
  461. help
  462. This driver supports error detection and correction for the
  463. Xilinx ZynqMP OCM (On Chip Memory) controller. It can also be
  464. built as a module. In that case it will be called zynqmp_edac.
  465. config EDAC_NPCM
  466. tristate "Nuvoton NPCM DDR Memory Controller"
  467. depends on (ARCH_NPCM || COMPILE_TEST)
  468. help
  469. Support for error detection and correction on the Nuvoton NPCM DDR
  470. memory controller.
  471. The memory controller supports single bit error correction, double bit
  472. error detection (in-line ECC in which a section 1/8th of the memory
  473. device used to store data is used for ECC storage).
  474. config EDAC_VERSAL
  475. tristate "Xilinx Versal DDR Memory Controller"
  476. depends on ARCH_ZYNQMP || COMPILE_TEST
  477. help
  478. Support for error detection and correction on the Xilinx Versal DDR
  479. memory controller.
  480. Report both single bit errors (CE) and double bit errors (UE).
  481. Support injecting both correctable and uncorrectable errors
  482. for debugging purposes.
  483. endif # EDAC