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