Kconfig 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  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_DEBUG
  21. bool "Debugging"
  22. select DEBUG_FS
  23. help
  24. This turns on debugging information for the entire EDAC subsystem.
  25. You do so by inserting edac_module with "edac_debug_level=x." Valid
  26. levels are 0-4 (from low to high) and by default it is set to 2.
  27. Usually you should select 'N' here.
  28. config EDAC_DECODE_MCE
  29. tristate "Decode MCEs in human-readable form (only on AMD for now)"
  30. depends on CPU_SUP_AMD && X86_MCE_AMD
  31. default y
  32. help
  33. Enable this option if you want to decode Machine Check Exceptions
  34. occurring on your machine in human-readable form.
  35. You should definitely say Y here in case you want to decode MCEs
  36. which occur really early upon boot, before the module infrastructure
  37. has been initialized.
  38. config EDAC_GHES
  39. tristate "Output ACPI APEI/GHES BIOS detected errors via EDAC"
  40. depends on ACPI_APEI_GHES
  41. select UEFI_CPER
  42. help
  43. Not all machines support hardware-driven error report. Some of those
  44. provide a BIOS-driven error report mechanism via ACPI, using the
  45. APEI/GHES driver. By enabling this option, the error reports provided
  46. by GHES are sent to userspace via the EDAC API.
  47. When this option is enabled, it will disable the hardware-driven
  48. mechanisms, if a GHES BIOS is detected, entering into the
  49. "Firmware First" mode.
  50. It should be noticed that keeping both GHES and a hardware-driven
  51. error mechanism won't work well, as BIOS will race with OS, while
  52. reading the error registers. So, if you want to not use "Firmware
  53. first" GHES error mechanism, you should disable GHES either at
  54. compilation time or by passing "ghes.disable=1" Kernel parameter
  55. at boot time.
  56. In doubt, say 'Y'.
  57. config EDAC_SCRUB
  58. bool "EDAC scrub feature"
  59. help
  60. The EDAC scrub feature is optional and is designed to control the
  61. memory scrubbers in the system. The common sysfs scrub interface
  62. abstracts the control of various arbitrary scrubbing functionalities
  63. into a unified set of functions.
  64. Say 'y/n' to enable/disable EDAC scrub feature.
  65. config EDAC_ECS
  66. bool "EDAC ECS (Error Check Scrub) feature"
  67. help
  68. The EDAC ECS feature is optional and is designed to control on-die
  69. error check scrub (e.g., DDR5 ECS) in the system. The common sysfs
  70. ECS interface abstracts the control of various ECS functionalities
  71. into a unified set of functions.
  72. Say 'y/n' to enable/disable EDAC ECS feature.
  73. config EDAC_MEM_REPAIR
  74. bool "EDAC memory repair feature"
  75. help
  76. The EDAC memory repair feature is optional and is designed to control
  77. the memory devices with repair features, such as Post Package Repair
  78. (PPR), memory sparing etc. The common sysfs memory repair interface
  79. abstracts the control of various memory repair functionalities into
  80. a unified set of functions.
  81. Say 'y/n' to enable/disable EDAC memory repair feature.
  82. config EDAC_AMD64
  83. tristate "AMD64 (Opteron, Athlon64)"
  84. depends on AMD_NB && EDAC_DECODE_MCE
  85. depends on AMD_NODE
  86. imply AMD_ATL
  87. help
  88. Support for error detection and correction of DRAM ECC errors on
  89. the AMD64 families (>= K8) of memory controllers.
  90. When EDAC_DEBUG is enabled, hardware error injection facilities
  91. through sysfs are available:
  92. AMD CPUs up to and excluding family 0x17 provide for Memory
  93. Error Injection into the ECC detection circuits. The amd64_edac
  94. module allows the operator/user to inject Uncorrectable and
  95. Correctable errors into DRAM.
  96. When enabled, in each of the respective memory controller directories
  97. (/sys/devices/system/edac/mc/mcX), there are 3 input files:
  98. - inject_section (0..3, 16-byte section of 64-byte cacheline),
  99. - inject_word (0..8, 16-bit word of 16-byte section),
  100. - inject_ecc_vector (hex ecc vector: select bits of inject word)
  101. In addition, there are two control files, inject_read and inject_write,
  102. which trigger the DRAM ECC Read and Write respectively.
  103. config EDAC_AL_MC
  104. tristate "Amazon's Annapurna Lab Memory Controller"
  105. depends on (ARCH_ALPINE || COMPILE_TEST)
  106. help
  107. Support for error detection and correction for Amazon's Annapurna
  108. Labs Alpine chips which allow 1 bit correction and 2 bits detection.
  109. config EDAC_AMD76X
  110. tristate "AMD 76x (760, 762, 768)"
  111. depends on PCI && X86_32
  112. help
  113. Support for error detection and correction on the AMD 76x
  114. series of chipsets used with the Athlon processor.
  115. config EDAC_E7XXX
  116. tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
  117. depends on PCI && X86_32
  118. help
  119. Support for error detection and correction on the Intel
  120. E7205, E7500, E7501 and E7505 server chipsets.
  121. config EDAC_E752X
  122. tristate "Intel e752x (e7520, e7525, e7320) and 3100"
  123. depends on PCI && X86
  124. help
  125. Support for error detection and correction on the Intel
  126. E7520, E7525, E7320 server chipsets.
  127. config EDAC_I82875P
  128. tristate "Intel 82875p (D82875P, E7210)"
  129. depends on PCI && X86_32
  130. help
  131. Support for error detection and correction on the Intel
  132. DP82785P and E7210 server chipsets.
  133. config EDAC_I82975X
  134. tristate "Intel 82975x (D82975x)"
  135. depends on PCI && X86
  136. help
  137. Support for error detection and correction on the Intel
  138. DP82975x server chipsets.
  139. config EDAC_I3000
  140. tristate "Intel 3000/3010"
  141. depends on PCI && X86
  142. help
  143. Support for error detection and correction on the Intel
  144. 3000 and 3010 server chipsets.
  145. config EDAC_I3200
  146. tristate "Intel 3200"
  147. depends on PCI && X86
  148. help
  149. Support for error detection and correction on the Intel
  150. 3200 and 3210 server chipsets.
  151. config EDAC_IE31200
  152. tristate "Intel e312xx"
  153. depends on PCI && X86 && X86_MCE_INTEL
  154. help
  155. Support for error detection and correction on the Intel
  156. E3-1200 based DRAM controllers.
  157. config EDAC_X38
  158. tristate "Intel X38"
  159. depends on PCI && X86
  160. help
  161. Support for error detection and correction on the Intel
  162. X38 server chipsets.
  163. config EDAC_I5400
  164. tristate "Intel 5400 (Seaburg) chipsets"
  165. depends on PCI && X86
  166. help
  167. Support for error detection and correction the Intel
  168. i5400 MCH chipset (Seaburg).
  169. config EDAC_I7CORE
  170. tristate "Intel i7 Core (Nehalem) processors"
  171. depends on PCI && X86 && X86_MCE_INTEL
  172. help
  173. Support for error detection and correction the Intel
  174. i7 Core (Nehalem) Integrated Memory Controller that exists on
  175. newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
  176. and Xeon 55xx processors.
  177. config EDAC_I82860
  178. tristate "Intel 82860"
  179. depends on PCI && X86_32
  180. help
  181. Support for error detection and correction on the Intel
  182. 82860 chipset.
  183. config EDAC_I5000
  184. tristate "Intel Greencreek/Blackford chipset"
  185. depends on X86 && PCI
  186. depends on BROKEN
  187. help
  188. Support for error detection and correction the Intel
  189. Greekcreek/Blackford chipsets.
  190. config EDAC_I5100
  191. tristate "Intel San Clemente MCH"
  192. depends on X86 && PCI
  193. help
  194. Support for error detection and correction the Intel
  195. San Clemente MCH.
  196. config EDAC_I7300
  197. tristate "Intel Clarksboro MCH"
  198. depends on X86 && PCI
  199. help
  200. Support for error detection and correction the Intel
  201. Clarksboro MCH (Intel 7300 chipset).
  202. config EDAC_SBRIDGE
  203. tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
  204. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
  205. help
  206. Support for error detection and correction the Intel
  207. Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
  208. config EDAC_SKX
  209. tristate "Intel Skylake server Integrated MC"
  210. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
  211. depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_SKX can't be y
  212. select DMI
  213. select ACPI_ADXL
  214. help
  215. Support for error detection and correction the Intel
  216. Skylake server Integrated Memory Controllers. If your
  217. system has non-volatile DIMMs you should also manually
  218. select CONFIG_ACPI_NFIT.
  219. config EDAC_I10NM
  220. tristate "Intel 10nm server Integrated MC"
  221. depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
  222. depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_I10NM can't be y
  223. select DMI
  224. select ACPI_ADXL
  225. help
  226. Support for error detection and correction the Intel
  227. 10nm server Integrated Memory Controllers. If your
  228. system has non-volatile DIMMs you should also manually
  229. select CONFIG_ACPI_NFIT.
  230. config EDAC_IMH
  231. tristate "Intel Integrated Memory/IO Hub MC"
  232. depends on X86_64 && X86_MCE_INTEL && ACPI
  233. depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_IMH can't be y
  234. select DMI
  235. select ACPI_ADXL
  236. help
  237. Support for error detection and correction the Intel
  238. Integrated Memory/IO Hub Memory Controller. This MC IP is
  239. first used on the Diamond Rapids servers but may appear on
  240. others in the future.
  241. config EDAC_PND2
  242. tristate "Intel Pondicherry2"
  243. depends on PCI && X86_64 && X86_MCE_INTEL
  244. select P2SB if X86
  245. help
  246. Support for error detection and correction on the Intel
  247. Pondicherry2 Integrated Memory Controller. This SoC IP is
  248. first used on the Apollo Lake platform and Denverton
  249. micro-server but may appear on others in the future.
  250. config EDAC_IGEN6
  251. tristate "Intel client SoC Integrated MC"
  252. depends on PCI && PCI_MMCONFIG && ARCH_HAVE_NMI_SAFE_CMPXCHG
  253. depends on X86_64 && X86_MCE_INTEL
  254. help
  255. Support for error detection and correction on the Intel
  256. client SoC Integrated Memory Controller using In-Band ECC IP.
  257. This In-Band ECC is first used on the Elkhart Lake SoC but
  258. may appear on others in the future.
  259. config EDAC_MPC85XX
  260. bool "Freescale MPC83xx / MPC85xx"
  261. depends on FSL_SOC && EDAC=y
  262. help
  263. Support for error detection and correction on the Freescale
  264. MPC8349, MPC8560, MPC8540, MPC8548, T4240
  265. config EDAC_LAYERSCAPE
  266. tristate "Freescale Layerscape DDR"
  267. depends on ARCH_LAYERSCAPE || SOC_LS1021A
  268. help
  269. Support for error detection and correction on Freescale memory
  270. controllers on Layerscape SoCs.
  271. config EDAC_PASEMI
  272. tristate "PA Semi PWRficient"
  273. depends on PPC_PASEMI && PCI
  274. help
  275. Support for error detection and correction on PA Semi
  276. PWRficient.
  277. config EDAC_CPC925
  278. tristate "IBM CPC925 Memory Controller (PPC970FX)"
  279. depends on PPC64
  280. help
  281. Support for error detection and correction on the
  282. IBM CPC925 Bridge and Memory Controller, which is
  283. a companion chip to the PowerPC 970 family of
  284. processors.
  285. config EDAC_HIGHBANK_MC
  286. tristate "Highbank Memory Controller"
  287. depends on 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 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 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 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 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 PCI && CAVIUM_OCTEON_SOC
  318. help
  319. Support for error detection and correction on the
  320. Cavium Octeon family of SOCs.
  321. config EDAC_THUNDERX
  322. tristate "Cavium ThunderX EDAC"
  323. depends on ARM64
  324. depends on PCI
  325. help
  326. Support for error detection and correction on the
  327. Cavium ThunderX memory controllers (LMC), Cache
  328. Coherent Processor Interconnect (CCPI) and L2 cache
  329. blocks (TAD, CBC, MCI).
  330. config EDAC_ALTERA
  331. bool "Altera SOCFPGA ECC"
  332. depends on EDAC=y && ARCH_INTEL_SOCFPGA
  333. help
  334. Support for error detection and correction on the
  335. Altera SOCs. This is the global enable for the
  336. various Altera peripherals.
  337. config EDAC_ALTERA_SDRAM
  338. bool "Altera SDRAM ECC"
  339. depends on EDAC_ALTERA=y
  340. help
  341. Support for error detection and correction on the
  342. Altera SDRAM Memory for Altera SoCs. Note that the
  343. preloader must initialize the SDRAM before loading
  344. the kernel.
  345. config EDAC_ALTERA_L2C
  346. bool "Altera L2 Cache ECC"
  347. depends on EDAC_ALTERA=y && CACHE_L2X0
  348. help
  349. Support for error detection and correction on the
  350. Altera L2 cache Memory for Altera SoCs. This option
  351. requires L2 cache.
  352. config EDAC_ALTERA_OCRAM
  353. bool "Altera On-Chip RAM ECC"
  354. depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
  355. help
  356. Support for error detection and correction on the
  357. Altera On-Chip RAM Memory for Altera SoCs.
  358. config EDAC_ALTERA_ETHERNET
  359. bool "Altera Ethernet FIFO ECC"
  360. depends on EDAC_ALTERA=y
  361. help
  362. Support for error detection and correction on the
  363. Altera Ethernet FIFO Memory for Altera SoCs.
  364. config EDAC_ALTERA_NAND
  365. bool "Altera NAND FIFO ECC"
  366. depends on EDAC_ALTERA=y && MTD_NAND_DENALI
  367. help
  368. Support for error detection and correction on the
  369. Altera NAND FIFO Memory for Altera SoCs.
  370. config EDAC_ALTERA_DMA
  371. bool "Altera DMA FIFO ECC"
  372. depends on EDAC_ALTERA=y && PL330_DMA=y
  373. help
  374. Support for error detection and correction on the
  375. Altera DMA FIFO Memory for Altera SoCs.
  376. config EDAC_ALTERA_USB
  377. bool "Altera USB FIFO ECC"
  378. depends on EDAC_ALTERA=y && USB_DWC2
  379. help
  380. Support for error detection and correction on the
  381. Altera USB FIFO Memory for Altera SoCs.
  382. config EDAC_ALTERA_QSPI
  383. bool "Altera QSPI FIFO ECC"
  384. depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
  385. help
  386. Support for error detection and correction on the
  387. Altera QSPI FIFO Memory for Altera SoCs.
  388. config EDAC_ALTERA_SDMMC
  389. bool "Altera SDMMC FIFO ECC"
  390. depends on EDAC_ALTERA=y && MMC_DW
  391. help
  392. Support for error detection and correction on the
  393. Altera SDMMC FIFO Memory for Altera SoCs.
  394. config EDAC_SIFIVE
  395. bool "Sifive platform EDAC driver"
  396. depends on EDAC=y && SIFIVE_CCACHE
  397. help
  398. Support for error detection and correction on the SiFive SoCs.
  399. config EDAC_ARMADA_XP
  400. bool "Marvell Armada XP DDR and L2 Cache ECC"
  401. depends on MACH_MVEBU_V7
  402. help
  403. Support for error correction and detection on the Marvell Aramada XP
  404. DDR RAM and L2 cache controllers.
  405. config EDAC_SYNOPSYS
  406. tristate "Synopsys DDR Memory Controller"
  407. depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || ARCH_MXC
  408. help
  409. Support for error detection and correction on the Synopsys DDR
  410. memory controller.
  411. config EDAC_XGENE
  412. tristate "APM X-Gene SoC"
  413. depends on (ARM64 || COMPILE_TEST)
  414. help
  415. Support for error detection and correction on the
  416. APM X-Gene family of SOCs.
  417. config EDAC_TI
  418. tristate "Texas Instruments DDR3 ECC Controller"
  419. depends on ARCH_KEYSTONE || SOC_DRA7XX
  420. help
  421. Support for error detection and correction on the TI SoCs.
  422. config EDAC_QCOM
  423. tristate "QCOM EDAC Controller"
  424. depends on ARCH_QCOM && QCOM_LLCC
  425. help
  426. Support for error detection and correction on the
  427. Qualcomm Technologies, Inc. SoCs.
  428. This driver reports Single Bit Errors (SBEs) and Double Bit Errors (DBEs).
  429. As of now, it supports error reporting for Last Level Cache Controller (LLCC)
  430. of Tag RAM and Data RAM.
  431. For debugging issues having to do with stability and overall system
  432. health, you should probably say 'Y' here.
  433. config EDAC_ASPEED
  434. tristate "Aspeed AST BMC SoC"
  435. depends on ARCH_ASPEED
  436. help
  437. Support for error detection and correction on the Aspeed AST BMC SoC.
  438. First, ECC must be configured in the bootloader. Then, this driver
  439. will expose error counters via the EDAC kernel framework.
  440. config EDAC_BLUEFIELD
  441. tristate "Mellanox BlueField Memory ECC"
  442. depends on ARM64 && ((MELLANOX_PLATFORM && ACPI) || COMPILE_TEST)
  443. help
  444. Support for error detection and correction on the
  445. Mellanox BlueField SoCs.
  446. config EDAC_DMC520
  447. tristate "ARM DMC-520 ECC"
  448. depends on ARM64
  449. help
  450. Support for error detection and correction on the
  451. SoCs with ARM DMC-520 DRAM controller.
  452. config EDAC_ZYNQMP
  453. tristate "Xilinx ZynqMP OCM Controller"
  454. depends on ARCH_ZYNQMP || COMPILE_TEST
  455. help
  456. This driver supports error detection and correction for the
  457. Xilinx ZynqMP OCM (On Chip Memory) controller. It can also be
  458. built as a module. In that case it will be called zynqmp_edac.
  459. config EDAC_NPCM
  460. tristate "Nuvoton NPCM DDR Memory Controller"
  461. depends on (ARCH_NPCM || COMPILE_TEST)
  462. help
  463. Support for error detection and correction on the Nuvoton NPCM DDR
  464. memory controller.
  465. The memory controller supports single bit error correction, double bit
  466. error detection (in-line ECC in which a section 1/8th of the memory
  467. device used to store data is used for ECC storage).
  468. config EDAC_VERSAL
  469. tristate "Xilinx Versal DDR Memory Controller"
  470. depends on ARCH_ZYNQMP || COMPILE_TEST
  471. help
  472. Support for error detection and correction on the Xilinx Versal DDR
  473. memory controller.
  474. Report both single bit errors (CE) and double bit errors (UE).
  475. Support injecting both correctable and uncorrectable errors
  476. for debugging purposes.
  477. config EDAC_LOONGSON
  478. tristate "Loongson Memory Controller"
  479. depends on LOONGARCH && ACPI
  480. help
  481. Support for error detection and correction on the Loongson
  482. family memory controller. This driver reports single bit
  483. errors (CE) only. Loongson-3A5000/3C5000/3D5000/3A6000/3C6000
  484. are compatible.
  485. config EDAC_CORTEX_A72
  486. tristate "ARM Cortex A72"
  487. depends on ARM64
  488. help
  489. Support for L1/L2 cache error detection for ARM Cortex A72 processor.
  490. The detected and reported errors are from reading CPU/L2 memory error
  491. syndrome registers.
  492. config EDAC_VERSALNET
  493. tristate "AMD VersalNET DDR Controller"
  494. depends on CDX_CONTROLLER && ARCH_ZYNQMP
  495. help
  496. Support for single bit error correction, double bit error detection
  497. and other system errors from various IP subsystems like RPU, NOCs,
  498. HNICX, PL on the AMD Versal NET DDR memory controller.
  499. endif # EDAC