xref: /openbmc/linux/drivers/acpi/apei/Kconfig (revision 86cd4733)
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
13*86cd4733SHuang Ying	bool "APEI Generic Hardware Error Source"
14d334a491SHuang Ying	depends on ACPI_APEI && X86
15d334a491SHuang Ying	select ACPI_HED
16d334a491SHuang Ying	help
17d334a491SHuang Ying	  Generic Hardware Error Source provides a way to report
18d334a491SHuang Ying	  platform hardware errors (such as that from chipset). It
19d334a491SHuang Ying	  works in so called "Firmware First" mode, that is, hardware
20d334a491SHuang Ying	  errors are reported to firmware firstly, then reported to
21d334a491SHuang Ying	  Linux by firmware. This way, some non-standard hardware
22d334a491SHuang Ying	  error registers or non-standard hardware link can be checked
23d334a491SHuang Ying	  by firmware to produce more valuable hardware error
24d334a491SHuang Ying	  information for Linux.
25d334a491SHuang Ying
26c413d768SHuang Yingconfig ACPI_APEI_PCIEAER
27c413d768SHuang Ying	bool "APEI PCIe AER logging/recovering support"
28c413d768SHuang Ying	depends on ACPI_APEI && PCIEAER
29c413d768SHuang Ying	help
30c413d768SHuang Ying	  PCIe AER errors may be reported via APEI firmware first mode.
31c413d768SHuang Ying	  Turn on this option to enable the corresponding support.
32c413d768SHuang Ying
33e4021345SHuang Yingconfig ACPI_APEI_EINJ
34e4021345SHuang Ying	tristate "APEI Error INJection (EINJ)"
35e4021345SHuang Ying	depends on ACPI_APEI && DEBUG_FS
36e4021345SHuang Ying	help
37e4021345SHuang Ying	  EINJ provides a hardware error injection mechanism, it is
38e4021345SHuang Ying	  mainly used for debugging and testing the other parts of
39e4021345SHuang Ying	  APEI and some other RAS features.
402ff729d5SHuang Ying
412ff729d5SHuang Yingconfig ACPI_APEI_ERST_DEBUG
422ff729d5SHuang Ying	tristate "APEI Error Record Serialization Table (ERST) Debug Support"
432ff729d5SHuang Ying	depends on ACPI_APEI
442ff729d5SHuang Ying	help
452ff729d5SHuang Ying	  ERST is a way provided by APEI to save and retrieve hardware
4658f87ed0SLucas De Marchi	  error information to and from a persistent store. Enable this
472ff729d5SHuang Ying	  if you want to debugging and testing the ERST kernel support
482ff729d5SHuang Ying	  and firmware implementation.
49