Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. #
  2. # EDAC Kconfig
  3. # Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
  4. # Licensed and distributed under the GPL
  5. #
  6. config EDAC_SUPPORT
  7. bool
  8. menuconfig EDAC
  9. bool "EDAC (Error Detection And Correction) reporting"
  10. depends on HAS_IOMEM
  11. depends on X86 || PPC || TILE || ARM || 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_MCE_INJ
  51. tristate "Simple MCE injection interface over /sysfs"
  52. depends on EDAC_DECODE_MCE
  53. default n
  54. help
  55. This is a simple interface to inject MCEs over /sysfs and test
  56. the MCE decoding code in EDAC.
  57. This is currently AMD-only.
  58. config EDAC_MM_EDAC
  59. tristate "Main Memory EDAC (Error Detection And Correction) reporting"
  60. select RAS
  61. help
  62. Some systems are able to detect and correct errors in main
  63. memory. EDAC can report statistics on memory error
  64. detection and correction (EDAC - or commonly referred to ECC
  65. errors). EDAC will also try to decode where these errors
  66. occurred so that a particular failing memory module can be
  67. replaced. If unsure, select 'Y'.
  68. config EDAC_GHES
  69. bool "Output ACPI APEI/GHES BIOS detected errors via EDAC"
  70. depends on ACPI_APEI_GHES && (EDAC_MM_EDAC=y)
  71. default y
  72. help
  73. Not all machines support hardware-driven error report. Some of those
  74. provide a BIOS-driven error report mechanism via ACPI, using the
  75. APEI/GHES driver. By enabling this option, the error reports provided
  76. by GHES are sent to userspace via the EDAC API.
  77. When this option is enabled, it will disable the hardware-driven
  78. mechanisms, if a GHES BIOS is detected, entering into the
  79. "Firmware First" mode.
  80. It should be noticed that keeping both GHES and a hardware-driven
  81. error mechanism won't work well, as BIOS will race with OS, while
  82. reading the error registers. So, if you want to not use "Firmware
  83. first" GHES error mechanism, you should disable GHES either at
  84. compilation time or by passing "ghes.disable=1" Kernel parameter
  85. at boot time.
  86. In doubt, say 'Y'.
  87. config EDAC_AMD64
  88. tristate "AMD64 (Opteron, Athlon64) K8, F10h"
  89. depends on EDAC_MM_EDAC && AMD_NB && X86_64 && EDAC_DECODE_MCE
  90. help
  91. Support for error detection and correction of DRAM ECC errors on
  92. the AMD64 families of memory controllers (K8 and F10h)
  93. config EDAC_AMD64_ERROR_INJECTION
  94. bool "Sysfs HW Error injection facilities"
  95. depends on EDAC_AMD64
  96. help
  97. Recent Opterons (Family 10h and later) provide for Memory Error
  98. Injection into the ECC detection circuits. The amd64_edac module
  99. allows the operator/user to inject Uncorrectable and Correctable
  100. errors into DRAM.
  101. When enabled, in each of the respective memory controller directories
  102. (/sys/devices/system/edac/mc/mcX), there are 3 input files:
  103. - inject_section (0..3, 16-byte section of 64-byte cacheline),
  104. - inject_word (0..8, 16-bit word of 16-byte section),
  105. - inject_ecc_vector (hex ecc vector: select bits of inject word)
  106. In addition, there are two control files, inject_read and inject_write,
  107. which trigger the DRAM ECC Read and Write respectively.
  108. config EDAC_AMD76X
  109. tristate "AMD 76x (760, 762, 768)"
  110. depends on EDAC_MM_EDAC && PCI && X86_32
  111. help
  112. Support for error detection and correction on the AMD 76x
  113. series of chipsets used with the Athlon processor.
  114. config EDAC_E7XXX
  115. tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
  116. depends on EDAC_MM_EDAC && PCI && X86_32
  117. help
  118. Support for error detection and correction on the Intel
  119. E7205, E7500, E7501 and E7505 server chipsets.
  120. config EDAC_E752X
  121. tristate "Intel e752x (e7520, e7525, e7320) and 3100"
  122. depends on EDAC_MM_EDAC && PCI && X86
  123. help
  124. Support for error detection and correction on the Intel
  125. E7520, E7525, E7320 server chipsets.
  126. config EDAC_I82443BXGX
  127. tristate "Intel 82443BX/GX (440BX/GX)"
  128. depends on EDAC_MM_EDAC && PCI && X86_32
  129. depends on BROKEN
  130. help
  131. Support for error detection and correction on the Intel
  132. 82443BX/GX memory controllers (440BX/GX chipsets).
  133. config EDAC_I82875P
  134. tristate "Intel 82875p (D82875P, E7210)"
  135. depends on EDAC_MM_EDAC && PCI && X86_32
  136. help
  137. Support for error detection and correction on the Intel
  138. DP82785P and E7210 server chipsets.
  139. config EDAC_I82975X
  140. tristate "Intel 82975x (D82975x)"
  141. depends on EDAC_MM_EDAC && PCI && X86
  142. help
  143. Support for error detection and correction on the Intel
  144. DP82975x server chipsets.
  145. config EDAC_I3000
  146. tristate "Intel 3000/3010"
  147. depends on EDAC_MM_EDAC && PCI && X86
  148. help
  149. Support for error detection and correction on the Intel
  150. 3000 and 3010 server chipsets.
  151. config EDAC_I3200
  152. tristate "Intel 3200"
  153. depends on EDAC_MM_EDAC && PCI && X86
  154. help
  155. Support for error detection and correction on the Intel
  156. 3200 and 3210 server chipsets.
  157. config EDAC_IE31200
  158. tristate "Intel e312xx"
  159. depends on EDAC_MM_EDAC && PCI && X86
  160. help
  161. Support for error detection and correction on the Intel
  162. E3-1200 based DRAM controllers.
  163. config EDAC_X38
  164. tristate "Intel X38"
  165. depends on EDAC_MM_EDAC && PCI && X86
  166. help
  167. Support for error detection and correction on the Intel
  168. X38 server chipsets.
  169. config EDAC_I5400
  170. tristate "Intel 5400 (Seaburg) chipsets"
  171. depends on EDAC_MM_EDAC && PCI && X86
  172. help
  173. Support for error detection and correction the Intel
  174. i5400 MCH chipset (Seaburg).
  175. config EDAC_I7CORE
  176. tristate "Intel i7 Core (Nehalem) processors"
  177. depends on EDAC_MM_EDAC && PCI && X86 && X86_MCE_INTEL
  178. help
  179. Support for error detection and correction the Intel
  180. i7 Core (Nehalem) Integrated Memory Controller that exists on
  181. newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
  182. and Xeon 55xx processors.
  183. config EDAC_I82860
  184. tristate "Intel 82860"
  185. depends on EDAC_MM_EDAC && PCI && X86_32
  186. help
  187. Support for error detection and correction on the Intel
  188. 82860 chipset.
  189. config EDAC_R82600
  190. tristate "Radisys 82600 embedded chipset"
  191. depends on EDAC_MM_EDAC && PCI && X86_32
  192. help
  193. Support for error detection and correction on the Radisys
  194. 82600 embedded chipset.
  195. config EDAC_I5000
  196. tristate "Intel Greencreek/Blackford chipset"
  197. depends on EDAC_MM_EDAC && X86 && PCI
  198. help
  199. Support for error detection and correction the Intel
  200. Greekcreek/Blackford chipsets.
  201. config EDAC_I5100
  202. tristate "Intel San Clemente MCH"
  203. depends on EDAC_MM_EDAC && X86 && PCI
  204. help
  205. Support for error detection and correction the Intel
  206. San Clemente MCH.
  207. config EDAC_I7300
  208. tristate "Intel Clarksboro MCH"
  209. depends on EDAC_MM_EDAC && X86 && PCI
  210. help
  211. Support for error detection and correction the Intel
  212. Clarksboro MCH (Intel 7300 chipset).
  213. config EDAC_SBRIDGE
  214. tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
  215. depends on EDAC_MM_EDAC && PCI && X86_64 && X86_MCE_INTEL
  216. depends on PCI_MMCONFIG
  217. help
  218. Support for error detection and correction the Intel
  219. Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
  220. config EDAC_MPC85XX
  221. tristate "Freescale MPC83xx / MPC85xx"
  222. depends on EDAC_MM_EDAC && FSL_SOC && (PPC_83xx || PPC_85xx)
  223. help
  224. Support for error detection and correction on the Freescale
  225. MPC8349, MPC8560, MPC8540, MPC8548
  226. config EDAC_MV64X60
  227. tristate "Marvell MV64x60"
  228. depends on EDAC_MM_EDAC && MV64X60
  229. help
  230. Support for error detection and correction on the Marvell
  231. MV64360 and MV64460 chipsets.
  232. config EDAC_PASEMI
  233. tristate "PA Semi PWRficient"
  234. depends on EDAC_MM_EDAC && PCI
  235. depends on PPC_PASEMI
  236. help
  237. Support for error detection and correction on PA Semi
  238. PWRficient.
  239. config EDAC_CELL
  240. tristate "Cell Broadband Engine memory controller"
  241. depends on EDAC_MM_EDAC && PPC_CELL_COMMON
  242. help
  243. Support for error detection and correction on the
  244. Cell Broadband Engine internal memory controller
  245. on platform without a hypervisor
  246. config EDAC_PPC4XX
  247. tristate "PPC4xx IBM DDR2 Memory Controller"
  248. depends on EDAC_MM_EDAC && 4xx
  249. help
  250. This enables support for EDAC on the ECC memory used
  251. with the IBM DDR2 memory controller found in various
  252. PowerPC 4xx embedded processors such as the 405EX[r],
  253. 440SP, 440SPe, 460EX, 460GT and 460SX.
  254. config EDAC_AMD8131
  255. tristate "AMD8131 HyperTransport PCI-X Tunnel"
  256. depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
  257. help
  258. Support for error detection and correction on the
  259. AMD8131 HyperTransport PCI-X Tunnel chip.
  260. Note, add more Kconfig dependency if it's adopted
  261. on some machine other than Maple.
  262. config EDAC_AMD8111
  263. tristate "AMD8111 HyperTransport I/O Hub"
  264. depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
  265. help
  266. Support for error detection and correction on the
  267. AMD8111 HyperTransport I/O Hub chip.
  268. Note, add more Kconfig dependency if it's adopted
  269. on some machine other than Maple.
  270. config EDAC_CPC925
  271. tristate "IBM CPC925 Memory Controller (PPC970FX)"
  272. depends on EDAC_MM_EDAC && PPC64
  273. help
  274. Support for error detection and correction on the
  275. IBM CPC925 Bridge and Memory Controller, which is
  276. a companion chip to the PowerPC 970 family of
  277. processors.
  278. config EDAC_TILE
  279. tristate "Tilera Memory Controller"
  280. depends on EDAC_MM_EDAC && TILE
  281. default y
  282. help
  283. Support for error detection and correction on the
  284. Tilera memory controller.
  285. config EDAC_HIGHBANK_MC
  286. tristate "Highbank Memory Controller"
  287. depends on EDAC_MM_EDAC && ARCH_HIGHBANK
  288. help
  289. Support for error detection and correction on the
  290. Calxeda Highbank memory controller.
  291. config EDAC_HIGHBANK_L2
  292. tristate "Highbank L2 Cache"
  293. depends on EDAC_MM_EDAC && ARCH_HIGHBANK
  294. help
  295. Support for error detection and correction on the
  296. Calxeda Highbank memory controller.
  297. config EDAC_OCTEON_PC
  298. tristate "Cavium Octeon Primary Caches"
  299. depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON
  300. help
  301. Support for error detection and correction on the primary caches of
  302. the cnMIPS cores of Cavium Octeon family SOCs.
  303. config EDAC_OCTEON_L2C
  304. tristate "Cavium Octeon Secondary Caches (L2C)"
  305. depends on EDAC_MM_EDAC && CAVIUM_OCTEON_SOC
  306. help
  307. Support for error detection and correction on the
  308. Cavium Octeon family of SOCs.
  309. config EDAC_OCTEON_LMC
  310. tristate "Cavium Octeon DRAM Memory Controller (LMC)"
  311. depends on EDAC_MM_EDAC && CAVIUM_OCTEON_SOC
  312. help
  313. Support for error detection and correction on the
  314. Cavium Octeon family of SOCs.
  315. config EDAC_OCTEON_PCI
  316. tristate "Cavium Octeon PCI Controller"
  317. depends on EDAC_MM_EDAC && PCI && CAVIUM_OCTEON_SOC
  318. help
  319. Support for error detection and correction on the
  320. Cavium Octeon family of SOCs.
  321. config EDAC_ALTERA_MC
  322. tristate "Altera SDRAM Memory Controller EDAC"
  323. depends on EDAC_MM_EDAC && ARCH_SOCFPGA
  324. help
  325. Support for error detection and correction on the
  326. Altera SDRAM memory controller. Note that the
  327. preloader must initialize the SDRAM before loading
  328. the kernel.
  329. endif # EDAC