xref: /openbmc/linux/drivers/acpi/apei/Kconfig (revision 03ba176a)
1a643ce20SHuang Yingconfig ACPI_APEI
2a643ce20SHuang Ying	bool "ACPI Platform Error Interface (APEI)"
35d2a8342SLuck, Tony	select MISC_FILESYSTEMS
40bb77c46STony Luck	select PSTORE
5a643ce20SHuang Ying	depends on X86
6a643ce20SHuang Ying	help
7a643ce20SHuang Ying	  APEI allows to report errors (for example from the chipset)
8a643ce20SHuang Ying	  to the operating system. This improves NMI handling
9a643ce20SHuang Ying	  especially. In addition it supports error serialization and
10a643ce20SHuang Ying	  error injection.
11e4021345SHuang Ying
12d334a491SHuang Yingconfig ACPI_APEI_GHES
1386cd4733SHuang Ying	bool "APEI Generic Hardware Error Source"
14d334a491SHuang Ying	depends on ACPI_APEI && X86
15d334a491SHuang Ying	select ACPI_HED
16*03ba176aSChen Gong	select IRQ_WORK
1767eb2e99SHuang Ying	select LLIST
1867eb2e99SHuang Ying	select GENERIC_ALLOCATOR
19d334a491SHuang Ying	help
20d334a491SHuang Ying	  Generic Hardware Error Source provides a way to report
21d334a491SHuang Ying	  platform hardware errors (such as that from chipset). It
22d334a491SHuang Ying	  works in so called "Firmware First" mode, that is, hardware
23d334a491SHuang Ying	  errors are reported to firmware firstly, then reported to
24d334a491SHuang Ying	  Linux by firmware. This way, some non-standard hardware
25d334a491SHuang Ying	  error registers or non-standard hardware link can be checked
26d334a491SHuang Ying	  by firmware to produce more valuable hardware error
27d334a491SHuang Ying	  information for Linux.
28d334a491SHuang Ying
29c413d768SHuang Yingconfig ACPI_APEI_PCIEAER
30c413d768SHuang Ying	bool "APEI PCIe AER logging/recovering support"
31c413d768SHuang Ying	depends on ACPI_APEI && PCIEAER
32c413d768SHuang Ying	help
33c413d768SHuang Ying	  PCIe AER errors may be reported via APEI firmware first mode.
34c413d768SHuang Ying	  Turn on this option to enable the corresponding support.
35c413d768SHuang Ying
36ba61ca4aSHuang Yingconfig ACPI_APEI_MEMORY_FAILURE
37ba61ca4aSHuang Ying	bool "APEI memory error recovering support"
38ba61ca4aSHuang Ying	depends on ACPI_APEI && MEMORY_FAILURE
39ba61ca4aSHuang Ying	help
40ba61ca4aSHuang Ying	  Memory errors may be reported via APEI firmware first mode.
41ba61ca4aSHuang Ying	  Turn on this option to enable the memory recovering support.
42ba61ca4aSHuang Ying
43e4021345SHuang Yingconfig ACPI_APEI_EINJ
44e4021345SHuang Ying	tristate "APEI Error INJection (EINJ)"
45e4021345SHuang Ying	depends on ACPI_APEI && DEBUG_FS
46e4021345SHuang Ying	help
47e4021345SHuang Ying	  EINJ provides a hardware error injection mechanism, it is
48e4021345SHuang Ying	  mainly used for debugging and testing the other parts of
49e4021345SHuang Ying	  APEI and some other RAS features.
502ff729d5SHuang Ying
512ff729d5SHuang Yingconfig ACPI_APEI_ERST_DEBUG
522ff729d5SHuang Ying	tristate "APEI Error Record Serialization Table (ERST) Debug Support"
532ff729d5SHuang Ying	depends on ACPI_APEI
542ff729d5SHuang Ying	help
552ff729d5SHuang Ying	  ERST is a way provided by APEI to save and retrieve hardware
5658f87ed0SLucas De Marchi	  error information to and from a persistent store. Enable this
572ff729d5SHuang Ying	  if you want to debugging and testing the ERST kernel support
582ff729d5SHuang Ying	  and firmware implementation.
59