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