Kconfig 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  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. help
  199. Support for error detection and correction the Intel
  200. Skylake server Integrated Memory Controllers.
  201. config EDAC_PND2
  202. tristate "Intel Pondicherry2"
  203. depends on PCI && X86_64 && X86_MCE_INTEL
  204. help
  205. Support for error detection and correction on the Intel
  206. Pondicherry2 Integrated Memory Controller. This SoC IP is
  207. first used on the Apollo Lake platform and Denverton
  208. micro-server but may appear on others in the future.
  209. config EDAC_MPC85XX
  210. tristate "Freescale MPC83xx / MPC85xx"
  211. depends on FSL_SOC
  212. help
  213. Support for error detection and correction on the Freescale
  214. MPC8349, MPC8560, MPC8540, MPC8548, T4240
  215. config EDAC_LAYERSCAPE
  216. tristate "Freescale Layerscape DDR"
  217. depends on ARCH_LAYERSCAPE
  218. help
  219. Support for error detection and correction on Freescale memory
  220. controllers on Layerscape SoCs.
  221. config EDAC_MV64X60
  222. tristate "Marvell MV64x60"
  223. depends on MV64X60
  224. help
  225. Support for error detection and correction on the Marvell
  226. MV64360 and MV64460 chipsets.
  227. config EDAC_PASEMI
  228. tristate "PA Semi PWRficient"
  229. depends on PPC_PASEMI && PCI
  230. help
  231. Support for error detection and correction on PA Semi
  232. PWRficient.
  233. config EDAC_CELL
  234. tristate "Cell Broadband Engine memory controller"
  235. depends on PPC_CELL_COMMON
  236. help
  237. Support for error detection and correction on the
  238. Cell Broadband Engine internal memory controller
  239. on platform without a hypervisor
  240. config EDAC_PPC4XX
  241. tristate "PPC4xx IBM DDR2 Memory Controller"
  242. depends on 4xx
  243. help
  244. This enables support for EDAC on the ECC memory used
  245. with the IBM DDR2 memory controller found in various
  246. PowerPC 4xx embedded processors such as the 405EX[r],
  247. 440SP, 440SPe, 460EX, 460GT and 460SX.
  248. config EDAC_AMD8131
  249. tristate "AMD8131 HyperTransport PCI-X Tunnel"
  250. depends on PCI && PPC_MAPLE
  251. help
  252. Support for error detection and correction on the
  253. AMD8131 HyperTransport PCI-X Tunnel chip.
  254. Note, add more Kconfig dependency if it's adopted
  255. on some machine other than Maple.
  256. config EDAC_AMD8111
  257. tristate "AMD8111 HyperTransport I/O Hub"
  258. depends on PCI && PPC_MAPLE
  259. help
  260. Support for error detection and correction on the
  261. AMD8111 HyperTransport I/O Hub chip.
  262. Note, add more Kconfig dependency if it's adopted
  263. on some machine other than Maple.
  264. config EDAC_CPC925
  265. tristate "IBM CPC925 Memory Controller (PPC970FX)"
  266. depends on PPC64
  267. help
  268. Support for error detection and correction on the
  269. IBM CPC925 Bridge and Memory Controller, which is
  270. a companion chip to the PowerPC 970 family of
  271. processors.
  272. config EDAC_TILE
  273. tristate "Tilera Memory Controller"
  274. depends on TILE
  275. default y
  276. help
  277. Support for error detection and correction on the
  278. Tilera memory controller.
  279. config EDAC_HIGHBANK_MC
  280. tristate "Highbank Memory Controller"
  281. depends on ARCH_HIGHBANK
  282. help
  283. Support for error detection and correction on the
  284. Calxeda Highbank memory controller.
  285. config EDAC_HIGHBANK_L2
  286. tristate "Highbank L2 Cache"
  287. depends on ARCH_HIGHBANK
  288. help
  289. Support for error detection and correction on the
  290. Calxeda Highbank memory controller.
  291. config EDAC_OCTEON_PC
  292. tristate "Cavium Octeon Primary Caches"
  293. depends on CPU_CAVIUM_OCTEON
  294. help
  295. Support for error detection and correction on the primary caches of
  296. the cnMIPS cores of Cavium Octeon family SOCs.
  297. config EDAC_OCTEON_L2C
  298. tristate "Cavium Octeon Secondary Caches (L2C)"
  299. depends on CAVIUM_OCTEON_SOC
  300. help
  301. Support for error detection and correction on the
  302. Cavium Octeon family of SOCs.
  303. config EDAC_OCTEON_LMC
  304. tristate "Cavium Octeon DRAM Memory Controller (LMC)"
  305. depends on CAVIUM_OCTEON_SOC
  306. help
  307. Support for error detection and correction on the
  308. Cavium Octeon family of SOCs.
  309. config EDAC_OCTEON_PCI
  310. tristate "Cavium Octeon PCI Controller"
  311. depends on PCI && CAVIUM_OCTEON_SOC
  312. help
  313. Support for error detection and correction on the
  314. Cavium Octeon family of SOCs.
  315. config EDAC_THUNDERX
  316. tristate "Cavium ThunderX EDAC"
  317. depends on ARM64
  318. depends on PCI
  319. help
  320. Support for error detection and correction on the
  321. Cavium ThunderX memory controllers (LMC), Cache
  322. Coherent Processor Interconnect (CCPI) and L2 cache
  323. blocks (TAD, CBC, MCI).
  324. config EDAC_ALTERA
  325. bool "Altera SOCFPGA ECC"
  326. depends on EDAC=y && ARCH_SOCFPGA
  327. help
  328. Support for error detection and correction on the
  329. Altera SOCs. This must be selected for SDRAM ECC.
  330. Note that the preloader must initialize the SDRAM
  331. before loading the kernel.
  332. config EDAC_ALTERA_L2C
  333. bool "Altera L2 Cache ECC"
  334. depends on EDAC_ALTERA=y && CACHE_L2X0
  335. help
  336. Support for error detection and correction on the
  337. Altera L2 cache Memory for Altera SoCs. This option
  338. requires L2 cache.
  339. config EDAC_ALTERA_OCRAM
  340. bool "Altera On-Chip RAM ECC"
  341. depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
  342. help
  343. Support for error detection and correction on the
  344. Altera On-Chip RAM Memory for Altera SoCs.
  345. config EDAC_ALTERA_ETHERNET
  346. bool "Altera Ethernet FIFO ECC"
  347. depends on EDAC_ALTERA=y
  348. help
  349. Support for error detection and correction on the
  350. Altera Ethernet FIFO Memory for Altera SoCs.
  351. config EDAC_ALTERA_NAND
  352. bool "Altera NAND FIFO ECC"
  353. depends on EDAC_ALTERA=y && MTD_NAND_DENALI
  354. help
  355. Support for error detection and correction on the
  356. Altera NAND FIFO Memory for Altera SoCs.
  357. config EDAC_ALTERA_DMA
  358. bool "Altera DMA FIFO ECC"
  359. depends on EDAC_ALTERA=y && PL330_DMA=y
  360. help
  361. Support for error detection and correction on the
  362. Altera DMA FIFO Memory for Altera SoCs.
  363. config EDAC_ALTERA_USB
  364. bool "Altera USB FIFO ECC"
  365. depends on EDAC_ALTERA=y && USB_DWC2
  366. help
  367. Support for error detection and correction on the
  368. Altera USB FIFO Memory for Altera SoCs.
  369. config EDAC_ALTERA_QSPI
  370. bool "Altera QSPI FIFO ECC"
  371. depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
  372. help
  373. Support for error detection and correction on the
  374. Altera QSPI FIFO Memory for Altera SoCs.
  375. config EDAC_ALTERA_SDMMC
  376. bool "Altera SDMMC FIFO ECC"
  377. depends on EDAC_ALTERA=y && MMC_DW
  378. help
  379. Support for error detection and correction on the
  380. Altera SDMMC FIFO Memory for Altera SoCs.
  381. config EDAC_SYNOPSYS
  382. tristate "Synopsys DDR Memory Controller"
  383. depends on ARCH_ZYNQ
  384. help
  385. Support for error detection and correction on the Synopsys DDR
  386. memory controller.
  387. config EDAC_XGENE
  388. tristate "APM X-Gene SoC"
  389. depends on (ARM64 || COMPILE_TEST)
  390. help
  391. Support for error detection and correction on the
  392. APM X-Gene family of SOCs.
  393. endif # EDAC