xref: /openbmc/linux/drivers/acpi/apei/Kconfig (revision 12eb4683)
1config ACPI_APEI
2	bool "ACPI Platform Error Interface (APEI)"
3	select MISC_FILESYSTEMS
4	select PSTORE
5	select EFI
6	select UEFI_CPER
7	depends on X86
8	help
9	  APEI allows to report errors (for example from the chipset)
10	  to the operating system. This improves NMI handling
11	  especially. In addition it supports error serialization and
12	  error injection.
13
14config ACPI_APEI_GHES
15	bool "APEI Generic Hardware Error Source"
16	depends on ACPI_APEI && X86
17	select ACPI_HED
18	select IRQ_WORK
19	select GENERIC_ALLOCATOR
20	help
21	  Generic Hardware Error Source provides a way to report
22	  platform hardware errors (such as that from chipset). It
23	  works in so called "Firmware First" mode, that is, hardware
24	  errors are reported to firmware firstly, then reported to
25	  Linux by firmware. This way, some non-standard hardware
26	  error registers or non-standard hardware link can be checked
27	  by firmware to produce more valuable hardware error
28	  information for Linux.
29
30config ACPI_APEI_PCIEAER
31	bool "APEI PCIe AER logging/recovering support"
32	depends on ACPI_APEI && PCIEAER
33	help
34	  PCIe AER errors may be reported via APEI firmware first mode.
35	  Turn on this option to enable the corresponding support.
36
37config ACPI_APEI_MEMORY_FAILURE
38	bool "APEI memory error recovering support"
39	depends on ACPI_APEI && MEMORY_FAILURE
40	help
41	  Memory errors may be reported via APEI firmware first mode.
42	  Turn on this option to enable the memory recovering support.
43
44config ACPI_APEI_EINJ
45	tristate "APEI Error INJection (EINJ)"
46	depends on ACPI_APEI && DEBUG_FS
47	help
48	  EINJ provides a hardware error injection mechanism, it is
49	  mainly used for debugging and testing the other parts of
50	  APEI and some other RAS features.
51
52config ACPI_APEI_ERST_DEBUG
53	tristate "APEI Error Record Serialization Table (ERST) Debug Support"
54	depends on ACPI_APEI
55	help
56	  ERST is a way provided by APEI to save and retrieve hardware
57	  error information to and from a persistent store. Enable this
58	  if you want to debugging and testing the ERST kernel support
59	  and firmware implementation.
60