xref: /linux/drivers/acpi/apei/Kconfig (revision ba61ca4aab47441f1c6cec28a9a6aa0489fd1df3)
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
1667eb2e99SHuang Ying	select LLIST
1767eb2e99SHuang Ying	select GENERIC_ALLOCATOR
18d334a491SHuang Ying	help
19d334a491SHuang Ying	  Generic Hardware Error Source provides a way to report
20d334a491SHuang Ying	  platform hardware errors (such as that from chipset). It
21d334a491SHuang Ying	  works in so called "Firmware First" mode, that is, hardware
22d334a491SHuang Ying	  errors are reported to firmware firstly, then reported to
23d334a491SHuang Ying	  Linux by firmware. This way, some non-standard hardware
24d334a491SHuang Ying	  error registers or non-standard hardware link can be checked
25d334a491SHuang Ying	  by firmware to produce more valuable hardware error
26d334a491SHuang Ying	  information for Linux.
27d334a491SHuang Ying
28c413d768SHuang Yingconfig ACPI_APEI_PCIEAER
29c413d768SHuang Ying	bool "APEI PCIe AER logging/recovering support"
30c413d768SHuang Ying	depends on ACPI_APEI && PCIEAER
31c413d768SHuang Ying	help
32c413d768SHuang Ying	  PCIe AER errors may be reported via APEI firmware first mode.
33c413d768SHuang Ying	  Turn on this option to enable the corresponding support.
34c413d768SHuang Ying
35*ba61ca4aSHuang Yingconfig ACPI_APEI_MEMORY_FAILURE
36*ba61ca4aSHuang Ying	bool "APEI memory error recovering support"
37*ba61ca4aSHuang Ying	depends on ACPI_APEI && MEMORY_FAILURE
38*ba61ca4aSHuang Ying	help
39*ba61ca4aSHuang Ying	  Memory errors may be reported via APEI firmware first mode.
40*ba61ca4aSHuang Ying	  Turn on this option to enable the memory recovering support.
41*ba61ca4aSHuang Ying
42e4021345SHuang Yingconfig ACPI_APEI_EINJ
43e4021345SHuang Ying	tristate "APEI Error INJection (EINJ)"
44e4021345SHuang Ying	depends on ACPI_APEI && DEBUG_FS
45e4021345SHuang Ying	help
46e4021345SHuang Ying	  EINJ provides a hardware error injection mechanism, it is
47e4021345SHuang Ying	  mainly used for debugging and testing the other parts of
48e4021345SHuang Ying	  APEI and some other RAS features.
492ff729d5SHuang Ying
502ff729d5SHuang Yingconfig ACPI_APEI_ERST_DEBUG
512ff729d5SHuang Ying	tristate "APEI Error Record Serialization Table (ERST) Debug Support"
522ff729d5SHuang Ying	depends on ACPI_APEI
532ff729d5SHuang Ying	help
542ff729d5SHuang Ying	  ERST is a way provided by APEI to save and retrieve hardware
5558f87ed0SLucas De Marchi	  error information to and from a persistent store. Enable this
562ff729d5SHuang Ying	  if you want to debugging and testing the ERST kernel support
572ff729d5SHuang Ying	  and firmware implementation.
58