Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  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_MPC85XX
  213. tristate "Freescale MPC83xx / MPC85xx"
  214. depends on EDAC_MM_EDAC && FSL_SOC
  215. help
  216. Support for error detection and correction on the Freescale
  217. MPC8349, MPC8560, MPC8540, MPC8548, T4240
  218. config EDAC_MV64X60
  219. tristate "Marvell MV64x60"
  220. depends on EDAC_MM_EDAC && MV64X60
  221. help
  222. Support for error detection and correction on the Marvell
  223. MV64360 and MV64460 chipsets.
  224. config EDAC_PASEMI
  225. tristate "PA Semi PWRficient"
  226. depends on EDAC_MM_EDAC && PCI
  227. depends on PPC_PASEMI
  228. help
  229. Support for error detection and correction on PA Semi
  230. PWRficient.
  231. config EDAC_CELL
  232. tristate "Cell Broadband Engine memory controller"
  233. depends on EDAC_MM_EDAC && PPC_CELL_COMMON
  234. help
  235. Support for error detection and correction on the
  236. Cell Broadband Engine internal memory controller
  237. on platform without a hypervisor
  238. config EDAC_PPC4XX
  239. tristate "PPC4xx IBM DDR2 Memory Controller"
  240. depends on EDAC_MM_EDAC && 4xx
  241. help
  242. This enables support for EDAC on the ECC memory used
  243. with the IBM DDR2 memory controller found in various
  244. PowerPC 4xx embedded processors such as the 405EX[r],
  245. 440SP, 440SPe, 460EX, 460GT and 460SX.
  246. config EDAC_AMD8131
  247. tristate "AMD8131 HyperTransport PCI-X Tunnel"
  248. depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
  249. help
  250. Support for error detection and correction on the
  251. AMD8131 HyperTransport PCI-X Tunnel chip.
  252. Note, add more Kconfig dependency if it's adopted
  253. on some machine other than Maple.
  254. config EDAC_AMD8111
  255. tristate "AMD8111 HyperTransport I/O Hub"
  256. depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
  257. help
  258. Support for error detection and correction on the
  259. AMD8111 HyperTransport I/O Hub chip.
  260. Note, add more Kconfig dependency if it's adopted
  261. on some machine other than Maple.
  262. config EDAC_CPC925
  263. tristate "IBM CPC925 Memory Controller (PPC970FX)"
  264. depends on EDAC_MM_EDAC && PPC64
  265. help
  266. Support for error detection and correction on the
  267. IBM CPC925 Bridge and Memory Controller, which is
  268. a companion chip to the PowerPC 970 family of
  269. processors.
  270. config EDAC_TILE
  271. tristate "Tilera Memory Controller"
  272. depends on EDAC_MM_EDAC && TILE
  273. default y
  274. help
  275. Support for error detection and correction on the
  276. Tilera memory controller.
  277. config EDAC_HIGHBANK_MC
  278. tristate "Highbank Memory Controller"
  279. depends on EDAC_MM_EDAC && ARCH_HIGHBANK
  280. help
  281. Support for error detection and correction on the
  282. Calxeda Highbank memory controller.
  283. config EDAC_HIGHBANK_L2
  284. tristate "Highbank L2 Cache"
  285. depends on EDAC_MM_EDAC && ARCH_HIGHBANK
  286. help
  287. Support for error detection and correction on the
  288. Calxeda Highbank memory controller.
  289. config EDAC_OCTEON_PC
  290. tristate "Cavium Octeon Primary Caches"
  291. depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON
  292. help
  293. Support for error detection and correction on the primary caches of
  294. the cnMIPS cores of Cavium Octeon family SOCs.
  295. config EDAC_OCTEON_L2C
  296. tristate "Cavium Octeon Secondary Caches (L2C)"
  297. depends on EDAC_MM_EDAC && CAVIUM_OCTEON_SOC
  298. help
  299. Support for error detection and correction on the
  300. Cavium Octeon family of SOCs.
  301. config EDAC_OCTEON_LMC
  302. tristate "Cavium Octeon DRAM Memory Controller (LMC)"
  303. depends on EDAC_MM_EDAC && CAVIUM_OCTEON_SOC
  304. help
  305. Support for error detection and correction on the
  306. Cavium Octeon family of SOCs.
  307. config EDAC_OCTEON_PCI
  308. tristate "Cavium Octeon PCI Controller"
  309. depends on EDAC_MM_EDAC && PCI && CAVIUM_OCTEON_SOC
  310. help
  311. Support for error detection and correction on the
  312. Cavium Octeon family of SOCs.
  313. config EDAC_ALTERA
  314. bool "Altera SOCFPGA ECC"
  315. depends on EDAC_MM_EDAC=y && ARCH_SOCFPGA
  316. help
  317. Support for error detection and correction on the
  318. Altera SOCs. This must be selected for SDRAM ECC.
  319. Note that the preloader must initialize the SDRAM
  320. before loading the kernel.
  321. config EDAC_ALTERA_L2C
  322. bool "Altera L2 Cache ECC"
  323. depends on EDAC_ALTERA=y
  324. select CACHE_L2X0
  325. help
  326. Support for error detection and correction on the
  327. Altera L2 cache Memory for Altera SoCs. This option
  328. requires L2 cache so it will force that selection.
  329. config EDAC_ALTERA_OCRAM
  330. bool "Altera On-Chip RAM ECC"
  331. depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
  332. help
  333. Support for error detection and correction on the
  334. Altera On-Chip RAM Memory for Altera SoCs.
  335. config EDAC_SYNOPSYS
  336. tristate "Synopsys DDR Memory Controller"
  337. depends on EDAC_MM_EDAC && ARCH_ZYNQ
  338. help
  339. Support for error detection and correction on the Synopsys DDR
  340. memory controller.
  341. config EDAC_XGENE
  342. tristate "APM X-Gene SoC"
  343. depends on EDAC_MM_EDAC && (ARM64 || COMPILE_TEST)
  344. help
  345. Support for error detection and correction on the
  346. APM X-Gene family of SOCs.
  347. endif # EDAC