xref: /openbmc/linux/drivers/acpi/apei/Kconfig (revision 58f87ed0)
1a643ce20SHuang Yingconfig ACPI_APEI
2a643ce20SHuang Ying	bool "ACPI Platform Error Interface (APEI)"
3a643ce20SHuang Ying	depends on X86
4a643ce20SHuang Ying	help
5a643ce20SHuang Ying	  APEI allows to report errors (for example from the chipset)
6a643ce20SHuang Ying	  to the operating system. This improves NMI handling
7a643ce20SHuang Ying	  especially. In addition it supports error serialization and
8a643ce20SHuang Ying	  error injection.
9e4021345SHuang Ying
10d334a491SHuang Yingconfig ACPI_APEI_GHES
11d334a491SHuang Ying	tristate "APEI Generic Hardware Error Source"
12d334a491SHuang Ying	depends on ACPI_APEI && X86
13d334a491SHuang Ying	select ACPI_HED
14d334a491SHuang Ying	help
15d334a491SHuang Ying	  Generic Hardware Error Source provides a way to report
16d334a491SHuang Ying	  platform hardware errors (such as that from chipset). It
17d334a491SHuang Ying	  works in so called "Firmware First" mode, that is, hardware
18d334a491SHuang Ying	  errors are reported to firmware firstly, then reported to
19d334a491SHuang Ying	  Linux by firmware. This way, some non-standard hardware
20d334a491SHuang Ying	  error registers or non-standard hardware link can be checked
21d334a491SHuang Ying	  by firmware to produce more valuable hardware error
22d334a491SHuang Ying	  information for Linux.
23d334a491SHuang Ying
24e4021345SHuang Yingconfig ACPI_APEI_EINJ
25e4021345SHuang Ying	tristate "APEI Error INJection (EINJ)"
26e4021345SHuang Ying	depends on ACPI_APEI && DEBUG_FS
27e4021345SHuang Ying	help
28e4021345SHuang Ying	  EINJ provides a hardware error injection mechanism, it is
29e4021345SHuang Ying	  mainly used for debugging and testing the other parts of
30e4021345SHuang Ying	  APEI and some other RAS features.
312ff729d5SHuang Ying
322ff729d5SHuang Yingconfig ACPI_APEI_ERST_DEBUG
332ff729d5SHuang Ying	tristate "APEI Error Record Serialization Table (ERST) Debug Support"
342ff729d5SHuang Ying	depends on ACPI_APEI
352ff729d5SHuang Ying	help
362ff729d5SHuang Ying	  ERST is a way provided by APEI to save and retrieve hardware
37*58f87ed0SLucas De Marchi	  error information to and from a persistent store. Enable this
382ff729d5SHuang Ying	  if you want to debugging and testing the ERST kernel support
392ff729d5SHuang Ying	  and firmware implementation.
40