1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 244a69f61STomasz Nowickiconfig HAVE_ACPI_APEI 344a69f61STomasz Nowicki bool 444a69f61STomasz Nowicki 544a69f61STomasz Nowickiconfig HAVE_ACPI_APEI_NMI 644a69f61STomasz Nowicki bool 744a69f61STomasz Nowicki 8a643ce20SHuang Yingconfig ACPI_APEI 9a643ce20SHuang Ying bool "ACPI Platform Error Interface (APEI)" 105d2a8342SLuck, Tony select MISC_FILESYSTEMS 110bb77c46STony Luck select PSTORE 127ea6c6c1SLuck, Tony select UEFI_CPER 1344a69f61STomasz Nowicki depends on HAVE_ACPI_APEI 14a643ce20SHuang Ying help 15a643ce20SHuang Ying APEI allows to report errors (for example from the chipset) 16a643ce20SHuang Ying to the operating system. This improves NMI handling 17a643ce20SHuang Ying especially. In addition it supports error serialization and 18a643ce20SHuang Ying error injection. 19e4021345SHuang Ying 20d334a491SHuang Yingconfig ACPI_APEI_GHES 2186cd4733SHuang Ying bool "APEI Generic Hardware Error Source" 2251572753STomasz Nowicki depends on ACPI_APEI 23d334a491SHuang Ying select ACPI_HED 2403ba176aSChen Gong select IRQ_WORK 2567eb2e99SHuang Ying select GENERIC_ALLOCATOR 26d334a491SHuang Ying help 27d334a491SHuang Ying Generic Hardware Error Source provides a way to report 28d334a491SHuang Ying platform hardware errors (such as that from chipset). It 29d334a491SHuang Ying works in so called "Firmware First" mode, that is, hardware 30d334a491SHuang Ying errors are reported to firmware firstly, then reported to 31d334a491SHuang Ying Linux by firmware. This way, some non-standard hardware 32d334a491SHuang Ying error registers or non-standard hardware link can be checked 33d334a491SHuang Ying by firmware to produce more valuable hardware error 34d334a491SHuang Ying information for Linux. 35d334a491SHuang Ying 36c413d768SHuang Yingconfig ACPI_APEI_PCIEAER 37c413d768SHuang Ying bool "APEI PCIe AER logging/recovering support" 38c413d768SHuang Ying depends on ACPI_APEI && PCIEAER 39c413d768SHuang Ying help 40c413d768SHuang Ying PCIe AER errors may be reported via APEI firmware first mode. 41c413d768SHuang Ying Turn on this option to enable the corresponding support. 42c413d768SHuang Ying 437edda088STyler Baicarconfig ACPI_APEI_SEA 44255097c8SJames Morse bool 457edda088STyler Baicar depends on ARM64 && ACPI_APEI_GHES 467edda088STyler Baicar default y 477edda088STyler Baicar 48ba61ca4aSHuang Yingconfig ACPI_APEI_MEMORY_FAILURE 49ba61ca4aSHuang Ying bool "APEI memory error recovering support" 50ba61ca4aSHuang Ying depends on ACPI_APEI && MEMORY_FAILURE 51ba61ca4aSHuang Ying help 52ba61ca4aSHuang Ying Memory errors may be reported via APEI firmware first mode. 53ba61ca4aSHuang Ying Turn on this option to enable the memory recovering support. 54ba61ca4aSHuang Ying 55e4021345SHuang Yingconfig ACPI_APEI_EINJ 56e4021345SHuang Ying tristate "APEI Error INJection (EINJ)" 57e4021345SHuang Ying depends on ACPI_APEI && DEBUG_FS 58e4021345SHuang Ying help 59e4021345SHuang Ying EINJ provides a hardware error injection mechanism, it is 60e4021345SHuang Ying mainly used for debugging and testing the other parts of 61e4021345SHuang Ying APEI and some other RAS features. 622ff729d5SHuang Ying 632ff729d5SHuang Yingconfig ACPI_APEI_ERST_DEBUG 642ff729d5SHuang Ying tristate "APEI Error Record Serialization Table (ERST) Debug Support" 652ff729d5SHuang Ying depends on ACPI_APEI 662ff729d5SHuang Ying help 672ff729d5SHuang Ying ERST is a way provided by APEI to save and retrieve hardware 6858f87ed0SLucas De Marchi error information to and from a persistent store. Enable this 692ff729d5SHuang Ying if you want to debugging and testing the ERST kernel support 702ff729d5SHuang Ying and firmware implementation. 71