0001 # SPDX-License-Identifier: GPL-2.0
0002 config HAVE_ACPI_APEI
0003 bool
0004
0005 config HAVE_ACPI_APEI_NMI
0006 bool
0007
0008 config ACPI_APEI
0009 bool "ACPI Platform Error Interface (APEI)"
0010 select MISC_FILESYSTEMS
0011 select PSTORE
0012 select UEFI_CPER
0013 depends on HAVE_ACPI_APEI
0014 help
0015 APEI allows to report errors (for example from the chipset)
0016 to the operating system. This improves NMI handling
0017 especially. In addition it supports error serialization and
0018 error injection.
0019
0020 config ACPI_APEI_GHES
0021 bool "APEI Generic Hardware Error Source"
0022 depends on ACPI_APEI
0023 select ACPI_HED
0024 select IRQ_WORK
0025 select GENERIC_ALLOCATOR
0026 help
0027 Generic Hardware Error Source provides a way to report
0028 platform hardware errors (such as that from chipset). It
0029 works in so called "Firmware First" mode, that is, hardware
0030 errors are reported to firmware firstly, then reported to
0031 Linux by firmware. This way, some non-standard hardware
0032 error registers or non-standard hardware link can be checked
0033 by firmware to produce more valuable hardware error
0034 information for Linux.
0035
0036 config ACPI_APEI_PCIEAER
0037 bool "APEI PCIe AER logging/recovering support"
0038 depends on ACPI_APEI && PCIEAER
0039 help
0040 PCIe AER errors may be reported via APEI firmware first mode.
0041 Turn on this option to enable the corresponding support.
0042
0043 config ACPI_APEI_SEA
0044 bool
0045 depends on ARM64 && ACPI_APEI_GHES
0046 default y
0047
0048 config ACPI_APEI_MEMORY_FAILURE
0049 bool "APEI memory error recovering support"
0050 depends on ACPI_APEI && MEMORY_FAILURE
0051 help
0052 Memory errors may be reported via APEI firmware first mode.
0053 Turn on this option to enable the memory recovering support.
0054
0055 config ACPI_APEI_EINJ
0056 tristate "APEI Error INJection (EINJ)"
0057 depends on ACPI_APEI && DEBUG_FS
0058 help
0059 EINJ provides a hardware error injection mechanism, it is
0060 mainly used for debugging and testing the other parts of
0061 APEI and some other RAS features.
0062
0063 config ACPI_APEI_ERST_DEBUG
0064 tristate "APEI Error Record Serialization Table (ERST) Debug Support"
0065 depends on ACPI_APEI
0066 help
0067 ERST is a way provided by APEI to save and retrieve hardware
0068 error information to and from a persistent store. Enable this
0069 if you want to debugging and testing the ERST kernel support
0070 and firmware implementation.