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