Kconfig 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  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. select UEFI_CPER
  49. help
  50. Not all machines support hardware-driven error report. Some of those
  51. provide a BIOS-driven error report mechanism via ACPI, using the
  52. APEI/GHES driver. By enabling this option, the error reports provided
  53. by GHES are sent to userspace via the EDAC API.
  54. When this option is enabled, it will disable the hardware-driven
  55. mechanisms, if a GHES BIOS is detected, entering into the
  56. "Firmware First" mode.
  57. It should be noticed that keeping both GHES and a hardware-driven
  58. error mechanism won't work well, as BIOS will race with OS, while
  59. reading the error registers. So, if you want to not use "Firmware
  60. first" GHES error mechanism, you should disable GHES either at
  61. compilation time or by passing "ghes.disable=1" Kernel parameter
  62. at boot time.
  63. In doubt, say 'Y'.
  64. config EDAC_AMD64
  65. tristate "AMD64 (Opteron, Athlon64)"
  66. depends on AMD_NB && EDAC_DECODE_MCE
  67. help
  68. Support for error detection and correction of DRAM ECC errors on
  69. the AMD64 families (>= K8) of memory controllers.
  70. When EDAC_DEBUG is enabled, hardware error injection facilities
  71. through sysfs are available:
  72. AMD CPUs up to and excluding family 0x17 provide for Memory
  73. Error Injection into the ECC detection circuits. The amd64_edac
  74. module allows the operator/user to inject Uncorrectable and
  75. Correctable errors into DRAM.
  76. When enabled, in each of the respective memory controller directories
  77. (/sys/devices/system/edac/mc/mcX), there are 3 input files:
  78. - inject_section (0..3, 16-byte section of 64-byte cacheline),
  79. - inject_word (0..8, 16-bit word of 16-byte section),
  80. - inject_ecc_vector (hex ecc vector: select bits of inject word)
  81. In addition, there are two control files, inject_read and inject_write,
  82. which trigger the DRAM ECC Read and Write respectively.
  83. config EDAC_AL_MC
  84. tristate "Amazon's Annapurna Lab Memory Controller"
  85. depends on (ARCH_ALPINE || COMPILE_TEST)
  86. help
  87. Support for error detection and correction for Amazon's Annapurna
  88. Labs Alpine chips which allow 1 bit correction and 2 bits detection.
  89. config EDAC_AMD76X
  90. tristate "AMD 76x (760, 762, 768)"
  91. depends on PCI && X86_32
  92. help
  93. Support for error detection and correction on the AMD 76x
  94. series of chipsets used with the Athlon processor.
  95. config EDAC_E7XXX
  96. tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
  97. depends on PCI && X86_32
  98. help
  99. Support for error detection and correction on the Intel
  100. E7205, E7500, E7501 and E7505 server chipsets.
  101. config EDAC_E752X
  102. tristate "Intel e752x (e7520, e7525, e7320) and 3100"
  103. depends on PCI && X86
  104. help
  105. Support for error detection and correction on the Intel
  106. E7520, E7525, E7320 server chipsets.
  107. config EDAC_I82443BXGX
  108. tristate "Intel 82443BX/GX (440BX/GX)"
  109. depends on PCI && X86_32
  110. depends on BROKEN
  111. help
  112. Support for error detection and correction on the Intel
  113. 82443BX/GX memory controllers (440BX/GX chipsets).
  114. config EDAC_I82875P
  115. tristate "Intel 82875p (D82875P, E7210)"
  116. depends on PCI && X86_32
  117. help
  118. Support for error detection and correction on the Intel
  119. DP82785P and E7210 server chipsets.
  120. config EDAC_I82975X
  121. tristate "Intel 82975x (D82975x)"
  122. depends on PCI && X86
  123. help
  124. Support for error detection and correction on the Intel
  125. DP82975x server chipsets.
  126. config EDAC_I3000
  127. tristate "Intel 3000/3010"
  128. depends on PCI && X86
  129. help
  130. Support for error detection and correction on the Intel
  131. 3000 and 3010 server chipsets.
  132. config EDAC_I3200
  133. tristate "Intel 3200"
  134. depends on PCI && X86
  135. help
  136. Support for error detection and correction on the Intel
  137. 3200 and 3210 server chipsets.
  138. config EDAC_IE31200
  139. tristate "Intel e312xx"
  140. depends on PCI && X86
  141. help
  142. Support for error detection and correction on the Intel
  143. E3-1200 based DRAM controllers.
  144. config EDAC_X38
  145. tristate "Intel X38"
  146. depends on PCI && X86
  147. help
  148. Support for error detection and correction on the Intel
  149. X38 server chipsets.
  150. config EDAC_I5400
  151. tristate "Intel 5400 (Seaburg) chipsets"
  152. depends on PCI && X86
  153. help
  154. Support for error detection and correction the Intel
  155. i5400 MCH chipset (Seaburg).
  156. config EDAC_I7CORE
  157. tristate "Intel i7 Core (Nehalem) processors"
  158. depends on PCI && X86 && X86_MCE_INTEL
  159. help
  160. Support for error detection and correction the Intel
  161. i7 Core (Nehalem) Integrated Memory Controller that exists on
  162. newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
  163. and Xeon 55xx processors.
  164. config EDAC_I82860
  165. tristate "Intel 82860"
  166. depends on PCI && X86_32
  167. help
  168. Support for error detection and correction on the Intel
  169. 82860 chipset.
  170. config EDAC_R82600
  171. tristate "Radisys 82600 embedded chipset"
  172. depends on PCI && X86_32
  173. help
  174. Support for error detection and correction on the Radisys
  175. 82600 embedded chipset.
  176. config EDAC_I5000
  177. tristate "Intel Greencreek/Blackford chipset"
  178. depends on X86 && PCI
  179. help
  180. Support for error detection and correction the Intel
  181. Greekcreek/Blackford chipsets.
  182. config EDAC_I5100
  183. tristate "Intel San Clemente MCH"
  184. depends on X86 && PCI
  185. help
  186. Support for error detection and correction the Intel
  187. San Clemente MCH.
  188. config EDAC_I7300
  189. tristate "Intel Clarksboro MCH"
  190. depends on X86 && PCI
  191. help
  192. Support for error detection and correction the Intel
  193. Clarksboro MCH (Intel 7300 chipset).
  194. config EDAC_SBRIDGE
  195. tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
  196. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
  197. help
  198. Support for error detection and correction the Intel
  199. Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
  200. config EDAC_SKX
  201. tristate "Intel Skylake server Integrated MC"
  202. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
  203. depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_SKX can't be y
  204. select DMI
  205. select ACPI_ADXL
  206. help
  207. Support for error detection and correction the Intel
  208. Skylake server Integrated Memory Controllers. If your
  209. system has non-volatile DIMMs you should also manually
  210. select CONFIG_ACPI_NFIT.
  211. config EDAC_I10NM
  212. tristate "Intel 10nm server Integrated MC"
  213. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
  214. depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_I10NM can't be y
  215. select DMI
  216. select ACPI_ADXL
  217. help
  218. Support for error detection and correction the Intel
  219. 10nm server Integrated Memory Controllers. If your
  220. system has non-volatile DIMMs you should also manually
  221. select CONFIG_ACPI_NFIT.
  222. config EDAC_PND2
  223. tristate "Intel Pondicherry2"
  224. depends on PCI && X86_64 && X86_MCE_INTEL
  225. select P2SB if X86
  226. help
  227. Support for error detection and correction on the Intel
  228. Pondicherry2 Integrated Memory Controller. This SoC IP is
  229. first used on the Apollo Lake platform and Denverton
  230. micro-server but may appear on others in the future.
  231. config EDAC_IGEN6
  232. tristate "Intel client SoC Integrated MC"
  233. depends on PCI && PCI_MMCONFIG && ARCH_HAVE_NMI_SAFE_CMPXCHG
  234. depends on X86_64 && X86_MCE_INTEL
  235. help
  236. Support for error detection and correction on the Intel
  237. client SoC Integrated Memory Controller using In-Band ECC IP.
  238. This In-Band ECC is first used on the Elkhart Lake SoC but
  239. may appear on others in the future.
  240. config EDAC_MPC85XX
  241. bool "Freescale MPC83xx / MPC85xx"
  242. depends on FSL_SOC && EDAC=y
  243. help
  244. Support for error detection and correction on the Freescale
  245. MPC8349, MPC8560, MPC8540, MPC8548, T4240
  246. config EDAC_LAYERSCAPE
  247. tristate "Freescale Layerscape DDR"
  248. depends on ARCH_LAYERSCAPE || SOC_LS1021A
  249. help
  250. Support for error detection and correction on Freescale memory
  251. controllers on Layerscape SoCs.
  252. config EDAC_PASEMI
  253. tristate "PA Semi PWRficient"
  254. depends on PPC_PASEMI && PCI
  255. help
  256. Support for error detection and correction on PA Semi
  257. PWRficient.
  258. config EDAC_CELL
  259. tristate "Cell Broadband Engine memory controller"
  260. depends on PPC_CELL_COMMON
  261. help
  262. Support for error detection and correction on the
  263. Cell Broadband Engine internal memory controller
  264. on platform without a hypervisor
  265. config EDAC_PPC4XX
  266. tristate "PPC4xx IBM DDR2 Memory Controller"
  267. depends on 4xx
  268. help
  269. This enables support for EDAC on the ECC memory used
  270. with the IBM DDR2 memory controller found in various
  271. PowerPC 4xx embedded processors such as the 405EX[r],
  272. 440SP, 440SPe, 460EX, 460GT and 460SX.
  273. config EDAC_AMD8131
  274. tristate "AMD8131 HyperTransport PCI-X Tunnel"
  275. depends on PCI && PPC_MAPLE
  276. help
  277. Support for error detection and correction on the
  278. AMD8131 HyperTransport PCI-X Tunnel chip.
  279. Note, add more Kconfig dependency if it's adopted
  280. on some machine other than Maple.
  281. config EDAC_AMD8111
  282. tristate "AMD8111 HyperTransport I/O Hub"
  283. depends on PCI && PPC_MAPLE
  284. help
  285. Support for error detection and correction on the
  286. AMD8111 HyperTransport I/O Hub chip.
  287. Note, add more Kconfig dependency if it's adopted
  288. on some machine other than Maple.
  289. config EDAC_CPC925
  290. tristate "IBM CPC925 Memory Controller (PPC970FX)"
  291. depends on PPC64
  292. help
  293. Support for error detection and correction on the
  294. IBM CPC925 Bridge and Memory Controller, which is
  295. a companion chip to the PowerPC 970 family of
  296. processors.
  297. config EDAC_HIGHBANK_MC
  298. tristate "Highbank Memory Controller"
  299. depends on ARCH_HIGHBANK
  300. help
  301. Support for error detection and correction on the
  302. Calxeda Highbank memory controller.
  303. config EDAC_HIGHBANK_L2
  304. tristate "Highbank L2 Cache"
  305. depends on ARCH_HIGHBANK
  306. help
  307. Support for error detection and correction on the
  308. Calxeda Highbank memory controller.
  309. config EDAC_OCTEON_PC
  310. tristate "Cavium Octeon Primary Caches"
  311. depends on CPU_CAVIUM_OCTEON
  312. help
  313. Support for error detection and correction on the primary caches of
  314. the cnMIPS cores of Cavium Octeon family SOCs.
  315. config EDAC_OCTEON_L2C
  316. tristate "Cavium Octeon Secondary Caches (L2C)"
  317. depends on CAVIUM_OCTEON_SOC
  318. help
  319. Support for error detection and correction on the
  320. Cavium Octeon family of SOCs.
  321. config EDAC_OCTEON_LMC
  322. tristate "Cavium Octeon DRAM Memory Controller (LMC)"
  323. depends on CAVIUM_OCTEON_SOC
  324. help
  325. Support for error detection and correction on the
  326. Cavium Octeon family of SOCs.
  327. config EDAC_OCTEON_PCI
  328. tristate "Cavium Octeon PCI Controller"
  329. depends on PCI && CAVIUM_OCTEON_SOC
  330. help
  331. Support for error detection and correction on the
  332. Cavium Octeon family of SOCs.
  333. config EDAC_THUNDERX
  334. tristate "Cavium ThunderX EDAC"
  335. depends on ARM64
  336. depends on PCI
  337. help
  338. Support for error detection and correction on the
  339. Cavium ThunderX memory controllers (LMC), Cache
  340. Coherent Processor Interconnect (CCPI) and L2 cache
  341. blocks (TAD, CBC, MCI).
  342. config EDAC_ALTERA
  343. bool "Altera SOCFPGA ECC"
  344. depends on EDAC=y && ARCH_INTEL_SOCFPGA
  345. help
  346. Support for error detection and correction on the
  347. Altera SOCs. This is the global enable for the
  348. various Altera peripherals.
  349. config EDAC_ALTERA_SDRAM
  350. bool "Altera SDRAM ECC"
  351. depends on EDAC_ALTERA=y
  352. help
  353. Support for error detection and correction on the
  354. Altera SDRAM Memory for Altera SoCs. Note that the
  355. preloader must initialize the SDRAM before loading
  356. the kernel.
  357. config EDAC_ALTERA_L2C
  358. bool "Altera L2 Cache ECC"
  359. depends on EDAC_ALTERA=y && CACHE_L2X0
  360. help
  361. Support for error detection and correction on the
  362. Altera L2 cache Memory for Altera SoCs. This option
  363. requires L2 cache.
  364. config EDAC_ALTERA_OCRAM
  365. bool "Altera On-Chip RAM ECC"
  366. depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
  367. help
  368. Support for error detection and correction on the
  369. Altera On-Chip RAM Memory for Altera SoCs.
  370. config EDAC_ALTERA_ETHERNET
  371. bool "Altera Ethernet FIFO ECC"
  372. depends on EDAC_ALTERA=y
  373. help
  374. Support for error detection and correction on the
  375. Altera Ethernet FIFO Memory for Altera SoCs.
  376. config EDAC_ALTERA_NAND
  377. bool "Altera NAND FIFO ECC"
  378. depends on EDAC_ALTERA=y && MTD_NAND_DENALI
  379. help
  380. Support for error detection and correction on the
  381. Altera NAND FIFO Memory for Altera SoCs.
  382. config EDAC_ALTERA_DMA
  383. bool "Altera DMA FIFO ECC"
  384. depends on EDAC_ALTERA=y && PL330_DMA=y
  385. help
  386. Support for error detection and correction on the
  387. Altera DMA FIFO Memory for Altera SoCs.
  388. config EDAC_ALTERA_USB
  389. bool "Altera USB FIFO ECC"
  390. depends on EDAC_ALTERA=y && USB_DWC2
  391. help
  392. Support for error detection and correction on the
  393. Altera USB FIFO Memory for Altera SoCs.
  394. config EDAC_ALTERA_QSPI
  395. bool "Altera QSPI FIFO ECC"
  396. depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
  397. help
  398. Support for error detection and correction on the
  399. Altera QSPI FIFO Memory for Altera SoCs.
  400. config EDAC_ALTERA_SDMMC
  401. bool "Altera SDMMC FIFO ECC"
  402. depends on EDAC_ALTERA=y && MMC_DW
  403. help
  404. Support for error detection and correction on the
  405. Altera SDMMC FIFO Memory for Altera SoCs.
  406. config EDAC_SIFIVE
  407. bool "Sifive platform EDAC driver"
  408. depends on EDAC=y && SIFIVE_CCACHE
  409. help
  410. Support for error detection and correction on the SiFive SoCs.
  411. config EDAC_ARMADA_XP
  412. bool "Marvell Armada XP DDR and L2 Cache ECC"
  413. depends on MACH_MVEBU_V7
  414. help
  415. Support for error correction and detection on the Marvell Aramada XP
  416. DDR RAM and L2 cache controllers.
  417. config EDAC_SYNOPSYS
  418. tristate "Synopsys DDR Memory Controller"
  419. depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || ARCH_MXC
  420. help
  421. Support for error detection and correction on the Synopsys DDR
  422. memory controller.
  423. config EDAC_XGENE
  424. tristate "APM X-Gene SoC"
  425. depends on (ARM64 || COMPILE_TEST)
  426. help
  427. Support for error detection and correction on the
  428. APM X-Gene family of SOCs.
  429. config EDAC_TI
  430. tristate "Texas Instruments DDR3 ECC Controller"
  431. depends on ARCH_KEYSTONE || SOC_DRA7XX
  432. help
  433. Support for error detection and correction on the TI SoCs.
  434. config EDAC_KRYO_ARM64
  435. depends on ARM64
  436. tristate "ARM KRYO Gold and Silver L1/L2/L3/SCU Caches"
  437. help
  438. Support for error detection and correction on the
  439. Kryo3xx Gold and Silver CPUs. Reports errors caught by Kryo3xx
  440. ECC mechanism.
  441. For debugging issues having to do with stability and overall system
  442. health, you should probably say 'Y' here.
  443. config EDAC_KRYO_ARM64_PANIC_ON_CE
  444. depends on EDAC_KRYO_ARM64
  445. bool "Panic on correctable errors - Kryo"
  446. help
  447. Forcibly cause a kernel panic on kryo if an correctable error (CE) is
  448. detected, even though the error is (by definition) correctable and
  449. would otherwise result in no adverse system effects. This can reduce
  450. debugging times on hardware which may be operating at voltages or
  451. frequencies outside normal specification.
  452. For production builds, you should definitely say 'N' here.
  453. config EDAC_KRYO_ARM64_PANIC_ON_UE
  454. depends on EDAC_KRYO_ARM64
  455. bool "Panic on uncorrectable errors - kryo"
  456. help
  457. Forcibly cause a kernel panic if an uncorrectable error (UE) is
  458. detected. This can reduce debugging times on hardware which may be
  459. operating at voltages or frequencies outside normal specification.
  460. For production builds, you should probably say 'N' here.
  461. config EDAC_QCOM
  462. tristate "QCOM EDAC Controller"
  463. depends on ARCH_QCOM && QCOM_LLCC
  464. help
  465. Support for error detection and correction on the
  466. Qualcomm Technologies, Inc. SoCs.
  467. This driver reports Single Bit Errors (SBEs) and Double Bit Errors (DBEs).
  468. As of now, it supports error reporting for Last Level Cache Controller (LLCC)
  469. of Tag RAM and Data RAM.
  470. For debugging issues having to do with stability and overall system
  471. health, you should probably say 'Y' here.
  472. config EDAC_QCOM_LLCC_PANIC_ON_CE
  473. depends on EDAC_QCOM
  474. bool "panic on correctable errors - qcom llcc"
  475. help
  476. Forcibly cause kernel panic if a correctable error (CE) is
  477. detected, even though the error is (by definition) correctable and
  478. would otherwise result in no adverse system effects. This can reduce
  479. debugging times on hardware which may be operating at voltages or
  480. frequencies outside normal specifications.
  481. For production builds, you should definitely say 'N' here.
  482. config EDAC_QCOM_LLCC_PANIC_ON_UE
  483. depends on EDAC_QCOM
  484. bool "Panic on uncorrectable errors - qcom llcc"
  485. help
  486. Forcibly cause a kernel panic if an uncorrectable error (UE) is
  487. detected. This can reduce debugging times on hardware which may be
  488. operating at voltages or frequencies outside normal specification.
  489. For production builds, you should probably say 'N' here.
  490. config EDAC_ASPEED
  491. tristate "Aspeed AST BMC SoC"
  492. depends on ARCH_ASPEED
  493. help
  494. Support for error detection and correction on the Aspeed AST BMC SoC.
  495. First, ECC must be configured in the bootloader. Then, this driver
  496. will expose error counters via the EDAC kernel framework.
  497. config EDAC_BLUEFIELD
  498. tristate "Mellanox BlueField Memory ECC"
  499. depends on ARM64 && ((MELLANOX_PLATFORM && ACPI) || COMPILE_TEST)
  500. help
  501. Support for error detection and correction on the
  502. Mellanox BlueField SoCs.
  503. config EDAC_DMC520
  504. tristate "ARM DMC-520 ECC"
  505. depends on ARM64
  506. help
  507. Support for error detection and correction on the
  508. SoCs with ARM DMC-520 DRAM controller.
  509. endif # EDAC