1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyunconfig HAVE_ACPI_APEI 3*4882a593Smuzhiyun bool 4*4882a593Smuzhiyun 5*4882a593Smuzhiyunconfig HAVE_ACPI_APEI_NMI 6*4882a593Smuzhiyun bool 7*4882a593Smuzhiyun 8*4882a593Smuzhiyunconfig ACPI_APEI 9*4882a593Smuzhiyun bool "ACPI Platform Error Interface (APEI)" 10*4882a593Smuzhiyun select MISC_FILESYSTEMS 11*4882a593Smuzhiyun select PSTORE 12*4882a593Smuzhiyun select UEFI_CPER 13*4882a593Smuzhiyun depends on HAVE_ACPI_APEI 14*4882a593Smuzhiyun help 15*4882a593Smuzhiyun APEI allows to report errors (for example from the chipset) 16*4882a593Smuzhiyun to the operating system. This improves NMI handling 17*4882a593Smuzhiyun especially. In addition it supports error serialization and 18*4882a593Smuzhiyun error injection. 19*4882a593Smuzhiyun 20*4882a593Smuzhiyunconfig ACPI_APEI_GHES 21*4882a593Smuzhiyun bool "APEI Generic Hardware Error Source" 22*4882a593Smuzhiyun depends on ACPI_APEI 23*4882a593Smuzhiyun select ACPI_HED 24*4882a593Smuzhiyun select IRQ_WORK 25*4882a593Smuzhiyun select GENERIC_ALLOCATOR 26*4882a593Smuzhiyun help 27*4882a593Smuzhiyun Generic Hardware Error Source provides a way to report 28*4882a593Smuzhiyun platform hardware errors (such as that from chipset). It 29*4882a593Smuzhiyun works in so called "Firmware First" mode, that is, hardware 30*4882a593Smuzhiyun errors are reported to firmware firstly, then reported to 31*4882a593Smuzhiyun Linux by firmware. This way, some non-standard hardware 32*4882a593Smuzhiyun error registers or non-standard hardware link can be checked 33*4882a593Smuzhiyun by firmware to produce more valuable hardware error 34*4882a593Smuzhiyun information for Linux. 35*4882a593Smuzhiyun 36*4882a593Smuzhiyunconfig ACPI_APEI_PCIEAER 37*4882a593Smuzhiyun bool "APEI PCIe AER logging/recovering support" 38*4882a593Smuzhiyun depends on ACPI_APEI && PCIEAER 39*4882a593Smuzhiyun help 40*4882a593Smuzhiyun PCIe AER errors may be reported via APEI firmware first mode. 41*4882a593Smuzhiyun Turn on this option to enable the corresponding support. 42*4882a593Smuzhiyun 43*4882a593Smuzhiyunconfig ACPI_APEI_SEA 44*4882a593Smuzhiyun bool 45*4882a593Smuzhiyun depends on ARM64 && ACPI_APEI_GHES 46*4882a593Smuzhiyun default y 47*4882a593Smuzhiyun 48*4882a593Smuzhiyunconfig ACPI_APEI_MEMORY_FAILURE 49*4882a593Smuzhiyun bool "APEI memory error recovering support" 50*4882a593Smuzhiyun depends on ACPI_APEI && MEMORY_FAILURE 51*4882a593Smuzhiyun help 52*4882a593Smuzhiyun Memory errors may be reported via APEI firmware first mode. 53*4882a593Smuzhiyun Turn on this option to enable the memory recovering support. 54*4882a593Smuzhiyun 55*4882a593Smuzhiyunconfig ACPI_APEI_EINJ 56*4882a593Smuzhiyun tristate "APEI Error INJection (EINJ)" 57*4882a593Smuzhiyun depends on ACPI_APEI && DEBUG_FS 58*4882a593Smuzhiyun help 59*4882a593Smuzhiyun EINJ provides a hardware error injection mechanism, it is 60*4882a593Smuzhiyun mainly used for debugging and testing the other parts of 61*4882a593Smuzhiyun APEI and some other RAS features. 62*4882a593Smuzhiyun 63*4882a593Smuzhiyunconfig ACPI_APEI_ERST_DEBUG 64*4882a593Smuzhiyun tristate "APEI Error Record Serialization Table (ERST) Debug Support" 65*4882a593Smuzhiyun depends on ACPI_APEI 66*4882a593Smuzhiyun help 67*4882a593Smuzhiyun ERST is a way provided by APEI to save and retrieve hardware 68*4882a593Smuzhiyun error information to and from a persistent store. Enable this 69*4882a593Smuzhiyun if you want to debugging and testing the ERST kernel support 70*4882a593Smuzhiyun and firmware implementation. 71