xref: /openbmc/linux/drivers/acpi/apei/Kconfig (revision 7edda088)
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_SEA
43	bool "APEI Synchronous External Abort logging/recovering support"
44	depends on ARM64 && ACPI_APEI_GHES
45	default y
46	help
47	  This option should be enabled if the system supports
48	  firmware first handling of SEA (Synchronous External Abort).
49	  SEA happens with certain faults of data abort or instruction
50	  abort synchronous exceptions on ARMv8 systems. If a system
51	  supports firmware first handling of SEA, the platform analyzes
52	  and handles hardware error notifications from SEA, and it may then
53	  form a HW error record for the OS to parse and handle. This
54	  option allows the OS to look for such hardware error record, and
55	  take appropriate action.
56
57config ACPI_APEI_MEMORY_FAILURE
58	bool "APEI memory error recovering support"
59	depends on ACPI_APEI && MEMORY_FAILURE
60	help
61	  Memory errors may be reported via APEI firmware first mode.
62	  Turn on this option to enable the memory recovering support.
63
64config ACPI_APEI_EINJ
65	tristate "APEI Error INJection (EINJ)"
66	depends on ACPI_APEI && DEBUG_FS
67	help
68	  EINJ provides a hardware error injection mechanism, it is
69	  mainly used for debugging and testing the other parts of
70	  APEI and some other RAS features.
71
72config ACPI_APEI_ERST_DEBUG
73	tristate "APEI Error Record Serialization Table (ERST) Debug Support"
74	depends on ACPI_APEI
75	help
76	  ERST is a way provided by APEI to save and retrieve hardware
77	  error information to and from a persistent store. Enable this
78	  if you want to debugging and testing the ERST kernel support
79	  and firmware implementation.
80