Kconfig 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  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. bool "Output ACPI APEI/GHES BIOS detected errors via EDAC"
  47. depends on ACPI_APEI_GHES && (EDAC=y)
  48. help
  49. Not all machines support hardware-driven error report. Some of those
  50. provide a BIOS-driven error report mechanism via ACPI, using the
  51. APEI/GHES driver. By enabling this option, the error reports provided
  52. by GHES are sent to userspace via the EDAC API.
  53. When this option is enabled, it will disable the hardware-driven
  54. mechanisms, if a GHES BIOS is detected, entering into the
  55. "Firmware First" mode.
  56. It should be noticed that keeping both GHES and a hardware-driven
  57. error mechanism won't work well, as BIOS will race with OS, while
  58. reading the error registers. So, if you want to not use "Firmware
  59. first" GHES error mechanism, you should disable GHES either at
  60. compilation time or by passing "ghes.disable=1" Kernel parameter
  61. at boot time.
  62. In doubt, say 'Y'.
  63. config EDAC_AMD64
  64. tristate "AMD64 (Opteron, Athlon64)"
  65. depends on AMD_NB && EDAC_DECODE_MCE
  66. help
  67. Support for error detection and correction of DRAM ECC errors on
  68. the AMD64 families (>= K8) of memory controllers.
  69. config EDAC_AMD64_ERROR_INJECTION
  70. bool "Sysfs HW Error injection facilities"
  71. depends on EDAC_AMD64
  72. help
  73. Recent Opterons (Family 10h and later) provide for Memory Error
  74. Injection into the ECC detection circuits. The amd64_edac module
  75. allows the operator/user to inject Uncorrectable and Correctable
  76. 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_AMD76X
  85. tristate "AMD 76x (760, 762, 768)"
  86. depends on PCI && X86_32
  87. help
  88. Support for error detection and correction on the AMD 76x
  89. series of chipsets used with the Athlon processor.
  90. config EDAC_E7XXX
  91. tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
  92. depends on PCI && X86_32
  93. help
  94. Support for error detection and correction on the Intel
  95. E7205, E7500, E7501 and E7505 server chipsets.
  96. config EDAC_E752X
  97. tristate "Intel e752x (e7520, e7525, e7320) and 3100"
  98. depends on PCI && X86
  99. help
  100. Support for error detection and correction on the Intel
  101. E7520, E7525, E7320 server chipsets.
  102. config EDAC_I82443BXGX
  103. tristate "Intel 82443BX/GX (440BX/GX)"
  104. depends on PCI && X86_32
  105. depends on BROKEN
  106. help
  107. Support for error detection and correction on the Intel
  108. 82443BX/GX memory controllers (440BX/GX chipsets).
  109. config EDAC_I82875P
  110. tristate "Intel 82875p (D82875P, E7210)"
  111. depends on PCI && X86_32
  112. help
  113. Support for error detection and correction on the Intel
  114. DP82785P and E7210 server chipsets.
  115. config EDAC_I82975X
  116. tristate "Intel 82975x (D82975x)"
  117. depends on PCI && X86
  118. help
  119. Support for error detection and correction on the Intel
  120. DP82975x server chipsets.
  121. config EDAC_I3000
  122. tristate "Intel 3000/3010"
  123. depends on PCI && X86
  124. help
  125. Support for error detection and correction on the Intel
  126. 3000 and 3010 server chipsets.
  127. config EDAC_I3200
  128. tristate "Intel 3200"
  129. depends on PCI && X86
  130. help
  131. Support for error detection and correction on the Intel
  132. 3200 and 3210 server chipsets.
  133. config EDAC_IE31200
  134. tristate "Intel e312xx"
  135. depends on PCI && X86
  136. help
  137. Support for error detection and correction on the Intel
  138. E3-1200 based DRAM controllers.
  139. config EDAC_X38
  140. tristate "Intel X38"
  141. depends on PCI && X86
  142. help
  143. Support for error detection and correction on the Intel
  144. X38 server chipsets.
  145. config EDAC_I5400
  146. tristate "Intel 5400 (Seaburg) chipsets"
  147. depends on PCI && X86
  148. help
  149. Support for error detection and correction the Intel
  150. i5400 MCH chipset (Seaburg).
  151. config EDAC_I7CORE
  152. tristate "Intel i7 Core (Nehalem) processors"
  153. depends on PCI && X86 && X86_MCE_INTEL
  154. help
  155. Support for error detection and correction the Intel
  156. i7 Core (Nehalem) Integrated Memory Controller that exists on
  157. newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
  158. and Xeon 55xx processors.
  159. config EDAC_I82860
  160. tristate "Intel 82860"
  161. depends on PCI && X86_32
  162. help
  163. Support for error detection and correction on the Intel
  164. 82860 chipset.
  165. config EDAC_R82600
  166. tristate "Radisys 82600 embedded chipset"
  167. depends on PCI && X86_32
  168. help
  169. Support for error detection and correction on the Radisys
  170. 82600 embedded chipset.
  171. config EDAC_I5000
  172. tristate "Intel Greencreek/Blackford chipset"
  173. depends on X86 && PCI
  174. help
  175. Support for error detection and correction the Intel
  176. Greekcreek/Blackford chipsets.
  177. config EDAC_I5100
  178. tristate "Intel San Clemente MCH"
  179. depends on X86 && PCI
  180. help
  181. Support for error detection and correction the Intel
  182. San Clemente MCH.
  183. config EDAC_I7300
  184. tristate "Intel Clarksboro MCH"
  185. depends on X86 && PCI
  186. help
  187. Support for error detection and correction the Intel
  188. Clarksboro MCH (Intel 7300 chipset).
  189. config EDAC_SBRIDGE
  190. tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
  191. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
  192. help
  193. Support for error detection and correction the Intel
  194. Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
  195. config EDAC_SKX
  196. tristate "Intel Skylake server Integrated MC"
  197. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
  198. depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_SKX can't be y
  199. select DMI
  200. help
  201. Support for error detection and correction the Intel
  202. Skylake server Integrated Memory Controllers. If your
  203. system has non-volatile DIMMs you should also manually
  204. select CONFIG_ACPI_NFIT.
  205. config EDAC_PND2
  206. tristate "Intel Pondicherry2"
  207. depends on PCI && X86_64 && X86_MCE_INTEL
  208. help
  209. Support for error detection and correction on the Intel
  210. Pondicherry2 Integrated Memory Controller. This SoC IP is
  211. first used on the Apollo Lake platform and Denverton
  212. micro-server but may appear on others in the future.
  213. config EDAC_MPC85XX
  214. bool "Freescale MPC83xx / MPC85xx"
  215. depends on FSL_SOC && EDAC=y
  216. help
  217. Support for error detection and correction on the Freescale
  218. MPC8349, MPC8560, MPC8540, MPC8548, T4240
  219. config EDAC_LAYERSCAPE
  220. tristate "Freescale Layerscape DDR"
  221. depends on ARCH_LAYERSCAPE || SOC_LS1021A
  222. help
  223. Support for error detection and correction on Freescale memory
  224. controllers on Layerscape SoCs.
  225. config EDAC_MV64X60
  226. tristate "Marvell MV64x60"
  227. depends on MV64X60
  228. help
  229. Support for error detection and correction on the Marvell
  230. MV64360 and MV64460 chipsets.
  231. config EDAC_PASEMI
  232. tristate "PA Semi PWRficient"
  233. depends on PPC_PASEMI && PCI
  234. help
  235. Support for error detection and correction on PA Semi
  236. PWRficient.
  237. config EDAC_CELL
  238. tristate "Cell Broadband Engine memory controller"
  239. depends on PPC_CELL_COMMON
  240. help
  241. Support for error detection and correction on the
  242. Cell Broadband Engine internal memory controller
  243. on platform without a hypervisor
  244. config EDAC_PPC4XX
  245. tristate "PPC4xx IBM DDR2 Memory Controller"
  246. depends on 4xx
  247. help
  248. This enables support for EDAC on the ECC memory used
  249. with the IBM DDR2 memory controller found in various
  250. PowerPC 4xx embedded processors such as the 405EX[r],
  251. 440SP, 440SPe, 460EX, 460GT and 460SX.
  252. config EDAC_AMD8131
  253. tristate "AMD8131 HyperTransport PCI-X Tunnel"
  254. depends on PCI && PPC_MAPLE
  255. help
  256. Support for error detection and correction on the
  257. AMD8131 HyperTransport PCI-X Tunnel chip.
  258. Note, add more Kconfig dependency if it's adopted
  259. on some machine other than Maple.
  260. config EDAC_AMD8111
  261. tristate "AMD8111 HyperTransport I/O Hub"
  262. depends on PCI && PPC_MAPLE
  263. help
  264. Support for error detection and correction on the
  265. AMD8111 HyperTransport I/O Hub chip.
  266. Note, add more Kconfig dependency if it's adopted
  267. on some machine other than Maple.
  268. config EDAC_CPC925
  269. tristate "IBM CPC925 Memory Controller (PPC970FX)"
  270. depends on PPC64
  271. help
  272. Support for error detection and correction on the
  273. IBM CPC925 Bridge and Memory Controller, which is
  274. a companion chip to the PowerPC 970 family of
  275. processors.
  276. config EDAC_HIGHBANK_MC
  277. tristate "Highbank Memory Controller"
  278. depends on ARCH_HIGHBANK
  279. help
  280. Support for error detection and correction on the
  281. Calxeda Highbank memory controller.
  282. config EDAC_HIGHBANK_L2
  283. tristate "Highbank L2 Cache"
  284. depends on ARCH_HIGHBANK
  285. help
  286. Support for error detection and correction on the
  287. Calxeda Highbank memory controller.
  288. config EDAC_OCTEON_PC
  289. tristate "Cavium Octeon Primary Caches"
  290. depends on CPU_CAVIUM_OCTEON
  291. help
  292. Support for error detection and correction on the primary caches of
  293. the cnMIPS cores of Cavium Octeon family SOCs.
  294. config EDAC_OCTEON_L2C
  295. tristate "Cavium Octeon Secondary Caches (L2C)"
  296. depends on CAVIUM_OCTEON_SOC
  297. help
  298. Support for error detection and correction on the
  299. Cavium Octeon family of SOCs.
  300. config EDAC_OCTEON_LMC
  301. tristate "Cavium Octeon DRAM Memory Controller (LMC)"
  302. depends on CAVIUM_OCTEON_SOC
  303. help
  304. Support for error detection and correction on the
  305. Cavium Octeon family of SOCs.
  306. config EDAC_OCTEON_PCI
  307. tristate "Cavium Octeon PCI Controller"
  308. depends on PCI && CAVIUM_OCTEON_SOC
  309. help
  310. Support for error detection and correction on the
  311. Cavium Octeon family of SOCs.
  312. config EDAC_THUNDERX
  313. tristate "Cavium ThunderX EDAC"
  314. depends on ARM64
  315. depends on PCI
  316. help
  317. Support for error detection and correction on the
  318. Cavium ThunderX memory controllers (LMC), Cache
  319. Coherent Processor Interconnect (CCPI) and L2 cache
  320. blocks (TAD, CBC, MCI).
  321. config EDAC_ALTERA
  322. bool "Altera SOCFPGA ECC"
  323. depends on EDAC=y && (ARCH_SOCFPGA || ARCH_STRATIX10)
  324. help
  325. Support for error detection and correction on the
  326. Altera SOCs. This must be selected for SDRAM ECC.
  327. Note that the preloader must initialize the SDRAM
  328. before loading the kernel.
  329. config EDAC_ALTERA_L2C
  330. bool "Altera L2 Cache ECC"
  331. depends on EDAC_ALTERA=y && CACHE_L2X0
  332. help
  333. Support for error detection and correction on the
  334. Altera L2 cache Memory for Altera SoCs. This option
  335. requires L2 cache.
  336. config EDAC_ALTERA_OCRAM
  337. bool "Altera On-Chip RAM ECC"
  338. depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
  339. help
  340. Support for error detection and correction on the
  341. Altera On-Chip RAM Memory for Altera SoCs.
  342. config EDAC_ALTERA_ETHERNET
  343. bool "Altera Ethernet FIFO ECC"
  344. depends on EDAC_ALTERA=y
  345. help
  346. Support for error detection and correction on the
  347. Altera Ethernet FIFO Memory for Altera SoCs.
  348. config EDAC_ALTERA_NAND
  349. bool "Altera NAND FIFO ECC"
  350. depends on EDAC_ALTERA=y && MTD_NAND_DENALI
  351. help
  352. Support for error detection and correction on the
  353. Altera NAND FIFO Memory for Altera SoCs.
  354. config EDAC_ALTERA_DMA
  355. bool "Altera DMA FIFO ECC"
  356. depends on EDAC_ALTERA=y && PL330_DMA=y
  357. help
  358. Support for error detection and correction on the
  359. Altera DMA FIFO Memory for Altera SoCs.
  360. config EDAC_ALTERA_USB
  361. bool "Altera USB FIFO ECC"
  362. depends on EDAC_ALTERA=y && USB_DWC2
  363. help
  364. Support for error detection and correction on the
  365. Altera USB FIFO Memory for Altera SoCs.
  366. config EDAC_ALTERA_QSPI
  367. bool "Altera QSPI FIFO ECC"
  368. depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
  369. help
  370. Support for error detection and correction on the
  371. Altera QSPI FIFO Memory for Altera SoCs.
  372. config EDAC_ALTERA_SDMMC
  373. bool "Altera SDMMC FIFO ECC"
  374. depends on EDAC_ALTERA=y && MMC_DW
  375. help
  376. Support for error detection and correction on the
  377. Altera SDMMC FIFO Memory for Altera SoCs.
  378. config EDAC_SYNOPSYS
  379. tristate "Synopsys DDR Memory Controller"
  380. depends on ARCH_ZYNQ
  381. help
  382. Support for error detection and correction on the Synopsys DDR
  383. memory controller.
  384. config EDAC_XGENE
  385. tristate "APM X-Gene SoC"
  386. depends on (ARM64 || COMPILE_TEST)
  387. help
  388. Support for error detection and correction on the
  389. APM X-Gene family of SOCs.
  390. config EDAC_TI
  391. tristate "Texas Instruments DDR3 ECC Controller"
  392. depends on ARCH_KEYSTONE || SOC_DRA7XX
  393. help
  394. Support for error detection and correction on the
  395. TI SoCs.
  396. endif # EDAC