Kconfig 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  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. bool "EDAC (Error Detection And Correction) reporting"
  11. depends on HAS_IOMEM && EDAC_SUPPORT
  12. help
  13. EDAC is designed to report errors in the core system.
  14. These are low-level errors that are reported in the CPU or
  15. supporting chipset or other subsystems:
  16. memory errors, cache errors, PCI errors, thermal throttling, etc..
  17. If unsure, select 'Y'.
  18. If this code is reporting problems on your system, please
  19. see the EDAC project web pages for more information at:
  20. <http://bluesmoke.sourceforge.net/>
  21. and:
  22. <http://buttersideup.com/edacwiki>
  23. There is also a mailing list for the EDAC project, which can
  24. be found via the sourceforge page.
  25. if EDAC
  26. config EDAC_LEGACY_SYSFS
  27. bool "EDAC legacy sysfs"
  28. default y
  29. help
  30. Enable the compatibility sysfs nodes.
  31. Use 'Y' if your edac utilities aren't ported to work with the newer
  32. structures.
  33. config EDAC_DEBUG
  34. bool "Debugging"
  35. help
  36. This turns on debugging information for the entire EDAC subsystem.
  37. You do so by inserting edac_module with "edac_debug_level=x." Valid
  38. levels are 0-4 (from low to high) and by default it is set to 2.
  39. Usually you should select 'N' here.
  40. config EDAC_DECODE_MCE
  41. tristate "Decode MCEs in human-readable form (only on AMD for now)"
  42. depends on CPU_SUP_AMD && X86_MCE_AMD
  43. default y
  44. ---help---
  45. Enable this option if you want to decode Machine Check Exceptions
  46. occurring on your machine in human-readable form.
  47. You should definitely say Y here in case you want to decode MCEs
  48. which occur really early upon boot, before the module infrastructure
  49. has been initialized.
  50. config EDAC_MM_EDAC
  51. tristate "Main Memory EDAC (Error Detection And Correction) reporting"
  52. select RAS
  53. help
  54. Some systems are able to detect and correct errors in main
  55. memory. EDAC can report statistics on memory error
  56. detection and correction (EDAC - or commonly referred to ECC
  57. errors). EDAC will also try to decode where these errors
  58. occurred so that a particular failing memory module can be
  59. replaced. If unsure, select 'Y'.
  60. config EDAC_GHES
  61. bool "Output ACPI APEI/GHES BIOS detected errors via EDAC"
  62. depends on ACPI_APEI_GHES && (EDAC_MM_EDAC=y)
  63. default y
  64. help
  65. Not all machines support hardware-driven error report. Some of those
  66. provide a BIOS-driven error report mechanism via ACPI, using the
  67. APEI/GHES driver. By enabling this option, the error reports provided
  68. by GHES are sent to userspace via the EDAC API.
  69. When this option is enabled, it will disable the hardware-driven
  70. mechanisms, if a GHES BIOS is detected, entering into the
  71. "Firmware First" mode.
  72. It should be noticed that keeping both GHES and a hardware-driven
  73. error mechanism won't work well, as BIOS will race with OS, while
  74. reading the error registers. So, if you want to not use "Firmware
  75. first" GHES error mechanism, you should disable GHES either at
  76. compilation time or by passing "ghes.disable=1" Kernel parameter
  77. at boot time.
  78. In doubt, say 'Y'.
  79. config EDAC_AMD64
  80. tristate "AMD64 (Opteron, Athlon64)"
  81. depends on EDAC_MM_EDAC && AMD_NB && EDAC_DECODE_MCE
  82. help
  83. Support for error detection and correction of DRAM ECC errors on
  84. the AMD64 families (>= K8) of memory controllers.
  85. config EDAC_AMD64_ERROR_INJECTION
  86. bool "Sysfs HW Error injection facilities"
  87. depends on EDAC_AMD64
  88. help
  89. Recent Opterons (Family 10h and later) provide for Memory Error
  90. Injection into the ECC detection circuits. The amd64_edac module
  91. allows the operator/user to inject Uncorrectable and Correctable
  92. errors into DRAM.
  93. When enabled, in each of the respective memory controller directories
  94. (/sys/devices/system/edac/mc/mcX), there are 3 input files:
  95. - inject_section (0..3, 16-byte section of 64-byte cacheline),
  96. - inject_word (0..8, 16-bit word of 16-byte section),
  97. - inject_ecc_vector (hex ecc vector: select bits of inject word)
  98. In addition, there are two control files, inject_read and inject_write,
  99. which trigger the DRAM ECC Read and Write respectively.
  100. config EDAC_AMD76X
  101. tristate "AMD 76x (760, 762, 768)"
  102. depends on EDAC_MM_EDAC && PCI && X86_32
  103. help
  104. Support for error detection and correction on the AMD 76x
  105. series of chipsets used with the Athlon processor.
  106. config EDAC_E7XXX
  107. tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
  108. depends on EDAC_MM_EDAC && PCI && X86_32
  109. help
  110. Support for error detection and correction on the Intel
  111. E7205, E7500, E7501 and E7505 server chipsets.
  112. config EDAC_E752X
  113. tristate "Intel e752x (e7520, e7525, e7320) and 3100"
  114. depends on EDAC_MM_EDAC && PCI && X86
  115. help
  116. Support for error detection and correction on the Intel
  117. E7520, E7525, E7320 server chipsets.
  118. config EDAC_I82443BXGX
  119. tristate "Intel 82443BX/GX (440BX/GX)"
  120. depends on EDAC_MM_EDAC && PCI && X86_32
  121. depends on BROKEN
  122. help
  123. Support for error detection and correction on the Intel
  124. 82443BX/GX memory controllers (440BX/GX chipsets).
  125. config EDAC_I82875P
  126. tristate "Intel 82875p (D82875P, E7210)"
  127. depends on EDAC_MM_EDAC && PCI && X86_32
  128. help
  129. Support for error detection and correction on the Intel
  130. DP82785P and E7210 server chipsets.
  131. config EDAC_I82975X
  132. tristate "Intel 82975x (D82975x)"
  133. depends on EDAC_MM_EDAC && PCI && X86
  134. help
  135. Support for error detection and correction on the Intel
  136. DP82975x server chipsets.
  137. config EDAC_I3000
  138. tristate "Intel 3000/3010"
  139. depends on EDAC_MM_EDAC && PCI && X86
  140. help
  141. Support for error detection and correction on the Intel
  142. 3000 and 3010 server chipsets.
  143. config EDAC_I3200
  144. tristate "Intel 3200"
  145. depends on EDAC_MM_EDAC && PCI && X86
  146. help
  147. Support for error detection and correction on the Intel
  148. 3200 and 3210 server chipsets.
  149. config EDAC_IE31200
  150. tristate "Intel e312xx"
  151. depends on EDAC_MM_EDAC && PCI && X86
  152. help
  153. Support for error detection and correction on the Intel
  154. E3-1200 based DRAM controllers.
  155. config EDAC_X38
  156. tristate "Intel X38"
  157. depends on EDAC_MM_EDAC && PCI && X86
  158. help
  159. Support for error detection and correction on the Intel
  160. X38 server chipsets.
  161. config EDAC_I5400
  162. tristate "Intel 5400 (Seaburg) chipsets"
  163. depends on EDAC_MM_EDAC && PCI && X86
  164. help
  165. Support for error detection and correction the Intel
  166. i5400 MCH chipset (Seaburg).
  167. config EDAC_I7CORE
  168. tristate "Intel i7 Core (Nehalem) processors"
  169. depends on EDAC_MM_EDAC && PCI && X86 && X86_MCE_INTEL
  170. help
  171. Support for error detection and correction the Intel
  172. i7 Core (Nehalem) Integrated Memory Controller that exists on
  173. newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
  174. and Xeon 55xx processors.
  175. config EDAC_I82860
  176. tristate "Intel 82860"
  177. depends on EDAC_MM_EDAC && PCI && X86_32
  178. help
  179. Support for error detection and correction on the Intel
  180. 82860 chipset.
  181. config EDAC_R82600
  182. tristate "Radisys 82600 embedded chipset"
  183. depends on EDAC_MM_EDAC && PCI && X86_32
  184. help
  185. Support for error detection and correction on the Radisys
  186. 82600 embedded chipset.
  187. config EDAC_I5000
  188. tristate "Intel Greencreek/Blackford chipset"
  189. depends on EDAC_MM_EDAC && X86 && PCI
  190. help
  191. Support for error detection and correction the Intel
  192. Greekcreek/Blackford chipsets.
  193. config EDAC_I5100
  194. tristate "Intel San Clemente MCH"
  195. depends on EDAC_MM_EDAC && X86 && PCI
  196. help
  197. Support for error detection and correction the Intel
  198. San Clemente MCH.
  199. config EDAC_I7300
  200. tristate "Intel Clarksboro MCH"
  201. depends on EDAC_MM_EDAC && X86 && PCI
  202. help
  203. Support for error detection and correction the Intel
  204. Clarksboro MCH (Intel 7300 chipset).
  205. config EDAC_SBRIDGE
  206. tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
  207. depends on EDAC_MM_EDAC && PCI && X86_64 && X86_MCE_INTEL
  208. depends on PCI_MMCONFIG
  209. help
  210. Support for error detection and correction the Intel
  211. Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
  212. config EDAC_SKX
  213. tristate "Intel Skylake server Integrated MC"
  214. depends on EDAC_MM_EDAC && PCI && X86_64 && X86_MCE_INTEL
  215. depends on PCI_MMCONFIG
  216. help
  217. Support for error detection and correction the Intel
  218. Skylake server Integrated Memory Controllers.
  219. config EDAC_MPC85XX
  220. tristate "Freescale MPC83xx / MPC85xx"
  221. depends on EDAC_MM_EDAC && FSL_SOC
  222. help
  223. Support for error detection and correction on the Freescale
  224. MPC8349, MPC8560, MPC8540, MPC8548, T4240
  225. config EDAC_LAYERSCAPE
  226. tristate "Freescale Layerscape DDR"
  227. depends on EDAC_MM_EDAC && ARCH_LAYERSCAPE
  228. help
  229. Support for error detection and correction on Freescale memory
  230. controllers on Layerscape SoCs.
  231. config EDAC_MV64X60
  232. tristate "Marvell MV64x60"
  233. depends on EDAC_MM_EDAC && MV64X60
  234. help
  235. Support for error detection and correction on the Marvell
  236. MV64360 and MV64460 chipsets.
  237. config EDAC_PASEMI
  238. tristate "PA Semi PWRficient"
  239. depends on EDAC_MM_EDAC && PCI
  240. depends on PPC_PASEMI
  241. help
  242. Support for error detection and correction on PA Semi
  243. PWRficient.
  244. config EDAC_CELL
  245. tristate "Cell Broadband Engine memory controller"
  246. depends on EDAC_MM_EDAC && PPC_CELL_COMMON
  247. help
  248. Support for error detection and correction on the
  249. Cell Broadband Engine internal memory controller
  250. on platform without a hypervisor
  251. config EDAC_PPC4XX
  252. tristate "PPC4xx IBM DDR2 Memory Controller"
  253. depends on EDAC_MM_EDAC && 4xx
  254. help
  255. This enables support for EDAC on the ECC memory used
  256. with the IBM DDR2 memory controller found in various
  257. PowerPC 4xx embedded processors such as the 405EX[r],
  258. 440SP, 440SPe, 460EX, 460GT and 460SX.
  259. config EDAC_AMD8131
  260. tristate "AMD8131 HyperTransport PCI-X Tunnel"
  261. depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
  262. help
  263. Support for error detection and correction on the
  264. AMD8131 HyperTransport PCI-X Tunnel chip.
  265. Note, add more Kconfig dependency if it's adopted
  266. on some machine other than Maple.
  267. config EDAC_AMD8111
  268. tristate "AMD8111 HyperTransport I/O Hub"
  269. depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
  270. help
  271. Support for error detection and correction on the
  272. AMD8111 HyperTransport I/O Hub chip.
  273. Note, add more Kconfig dependency if it's adopted
  274. on some machine other than Maple.
  275. config EDAC_CPC925
  276. tristate "IBM CPC925 Memory Controller (PPC970FX)"
  277. depends on EDAC_MM_EDAC && PPC64
  278. help
  279. Support for error detection and correction on the
  280. IBM CPC925 Bridge and Memory Controller, which is
  281. a companion chip to the PowerPC 970 family of
  282. processors.
  283. config EDAC_TILE
  284. tristate "Tilera Memory Controller"
  285. depends on EDAC_MM_EDAC && TILE
  286. default y
  287. help
  288. Support for error detection and correction on the
  289. Tilera memory controller.
  290. config EDAC_HIGHBANK_MC
  291. tristate "Highbank Memory Controller"
  292. depends on EDAC_MM_EDAC && ARCH_HIGHBANK
  293. help
  294. Support for error detection and correction on the
  295. Calxeda Highbank memory controller.
  296. config EDAC_HIGHBANK_L2
  297. tristate "Highbank L2 Cache"
  298. depends on EDAC_MM_EDAC && ARCH_HIGHBANK
  299. help
  300. Support for error detection and correction on the
  301. Calxeda Highbank memory controller.
  302. config EDAC_OCTEON_PC
  303. tristate "Cavium Octeon Primary Caches"
  304. depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON
  305. help
  306. Support for error detection and correction on the primary caches of
  307. the cnMIPS cores of Cavium Octeon family SOCs.
  308. config EDAC_OCTEON_L2C
  309. tristate "Cavium Octeon Secondary Caches (L2C)"
  310. depends on EDAC_MM_EDAC && CAVIUM_OCTEON_SOC
  311. help
  312. Support for error detection and correction on the
  313. Cavium Octeon family of SOCs.
  314. config EDAC_OCTEON_LMC
  315. tristate "Cavium Octeon DRAM Memory Controller (LMC)"
  316. depends on EDAC_MM_EDAC && CAVIUM_OCTEON_SOC
  317. help
  318. Support for error detection and correction on the
  319. Cavium Octeon family of SOCs.
  320. config EDAC_OCTEON_PCI
  321. tristate "Cavium Octeon PCI Controller"
  322. depends on EDAC_MM_EDAC && PCI && CAVIUM_OCTEON_SOC
  323. help
  324. Support for error detection and correction on the
  325. Cavium Octeon family of SOCs.
  326. config EDAC_ALTERA
  327. bool "Altera SOCFPGA ECC"
  328. depends on EDAC_MM_EDAC=y && ARCH_SOCFPGA
  329. help
  330. Support for error detection and correction on the
  331. Altera SOCs. This must be selected for SDRAM ECC.
  332. Note that the preloader must initialize the SDRAM
  333. before loading the kernel.
  334. config EDAC_ALTERA_L2C
  335. bool "Altera L2 Cache ECC"
  336. depends on EDAC_ALTERA=y && CACHE_L2X0
  337. help
  338. Support for error detection and correction on the
  339. Altera L2 cache Memory for Altera SoCs. This option
  340. requires L2 cache.
  341. config EDAC_ALTERA_OCRAM
  342. bool "Altera On-Chip RAM ECC"
  343. depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
  344. help
  345. Support for error detection and correction on the
  346. Altera On-Chip RAM Memory for Altera SoCs.
  347. config EDAC_ALTERA_ETHERNET
  348. bool "Altera Ethernet FIFO ECC"
  349. depends on EDAC_ALTERA=y
  350. help
  351. Support for error detection and correction on the
  352. Altera Ethernet FIFO Memory for Altera SoCs.
  353. config EDAC_ALTERA_NAND
  354. bool "Altera NAND FIFO ECC"
  355. depends on EDAC_ALTERA=y && MTD_NAND_DENALI
  356. help
  357. Support for error detection and correction on the
  358. Altera NAND FIFO Memory for Altera SoCs.
  359. config EDAC_ALTERA_DMA
  360. bool "Altera DMA FIFO ECC"
  361. depends on EDAC_ALTERA=y && PL330_DMA=y
  362. help
  363. Support for error detection and correction on the
  364. Altera DMA FIFO Memory for Altera SoCs.
  365. config EDAC_ALTERA_USB
  366. bool "Altera USB FIFO ECC"
  367. depends on EDAC_ALTERA=y && USB_DWC2
  368. help
  369. Support for error detection and correction on the
  370. Altera USB FIFO Memory for Altera SoCs.
  371. config EDAC_ALTERA_QSPI
  372. bool "Altera QSPI FIFO ECC"
  373. depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
  374. help
  375. Support for error detection and correction on the
  376. Altera QSPI FIFO Memory for Altera SoCs.
  377. config EDAC_ALTERA_SDMMC
  378. bool "Altera SDMMC FIFO ECC"
  379. depends on EDAC_ALTERA=y && MMC_DW
  380. help
  381. Support for error detection and correction on the
  382. Altera SDMMC FIFO Memory for Altera SoCs.
  383. config EDAC_SYNOPSYS
  384. tristate "Synopsys DDR Memory Controller"
  385. depends on EDAC_MM_EDAC && ARCH_ZYNQ
  386. help
  387. Support for error detection and correction on the Synopsys DDR
  388. memory controller.
  389. config EDAC_XGENE
  390. tristate "APM X-Gene SoC"
  391. depends on EDAC_MM_EDAC && (ARM64 || COMPILE_TEST)
  392. help
  393. Support for error detection and correction on the
  394. APM X-Gene family of SOCs.
  395. endif # EDAC