1*b2441318SGreg 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 447edda088STyler Baicar bool "APEI Synchronous External Abort logging/recovering support" 457edda088STyler Baicar depends on ARM64 && ACPI_APEI_GHES 467edda088STyler Baicar default y 477edda088STyler Baicar help 487edda088STyler Baicar This option should be enabled if the system supports 497edda088STyler Baicar firmware first handling of SEA (Synchronous External Abort). 507edda088STyler Baicar SEA happens with certain faults of data abort or instruction 517edda088STyler Baicar abort synchronous exceptions on ARMv8 systems. If a system 527edda088STyler Baicar supports firmware first handling of SEA, the platform analyzes 537edda088STyler Baicar and handles hardware error notifications from SEA, and it may then 547edda088STyler Baicar form a HW error record for the OS to parse and handle. This 557edda088STyler Baicar option allows the OS to look for such hardware error record, and 567edda088STyler Baicar take appropriate action. 577edda088STyler Baicar 58ba61ca4aSHuang Yingconfig ACPI_APEI_MEMORY_FAILURE 59ba61ca4aSHuang Ying bool "APEI memory error recovering support" 60ba61ca4aSHuang Ying depends on ACPI_APEI && MEMORY_FAILURE 61ba61ca4aSHuang Ying help 62ba61ca4aSHuang Ying Memory errors may be reported via APEI firmware first mode. 63ba61ca4aSHuang Ying Turn on this option to enable the memory recovering support. 64ba61ca4aSHuang Ying 65e4021345SHuang Yingconfig ACPI_APEI_EINJ 66e4021345SHuang Ying tristate "APEI Error INJection (EINJ)" 67e4021345SHuang Ying depends on ACPI_APEI && DEBUG_FS 68e4021345SHuang Ying help 69e4021345SHuang Ying EINJ provides a hardware error injection mechanism, it is 70e4021345SHuang Ying mainly used for debugging and testing the other parts of 71e4021345SHuang Ying APEI and some other RAS features. 722ff729d5SHuang Ying 732ff729d5SHuang Yingconfig ACPI_APEI_ERST_DEBUG 742ff729d5SHuang Ying tristate "APEI Error Record Serialization Table (ERST) Debug Support" 752ff729d5SHuang Ying depends on ACPI_APEI 762ff729d5SHuang Ying help 772ff729d5SHuang Ying ERST is a way provided by APEI to save and retrieve hardware 7858f87ed0SLucas De Marchi error information to and from a persistent store. Enable this 792ff729d5SHuang Ying if you want to debugging and testing the ERST kernel support 802ff729d5SHuang Ying and firmware implementation. 81