84 lines · plain
1# SPDX-License-Identifier: GPL-2.02config HAVE_ACPI_APEI3 bool4 5config HAVE_ACPI_APEI_NMI6 bool7 8config ACPI_APEI9 bool "ACPI Platform Error Interface (APEI)"10 select MISC_FILESYSTEMS11 select PSTORE12 select UEFI_CPER13 depends on HAVE_ACPI_APEI14 help15 APEI allows to report errors (for example from the chipset)16 to the operating system. This improves NMI handling17 especially. In addition it supports error serialization and18 error injection.19 20config ACPI_APEI_GHES21 bool "APEI Generic Hardware Error Source"22 depends on ACPI_APEI23 select ACPI_HED24 select IRQ_WORK25 select GENERIC_ALLOCATOR26 help27 Generic Hardware Error Source provides a way to report28 platform hardware errors (such as that from chipset). It29 works in so called "Firmware First" mode, that is, hardware30 errors are reported to firmware firstly, then reported to31 Linux by firmware. This way, some non-standard hardware32 error registers or non-standard hardware link can be checked33 by firmware to produce more valuable hardware error34 information for Linux.35 36config ACPI_APEI_PCIEAER37 bool "APEI PCIe AER logging/recovering support"38 depends on ACPI_APEI && PCIEAER39 help40 PCIe AER errors may be reported via APEI firmware first mode.41 Turn on this option to enable the corresponding support.42 43config ACPI_APEI_SEA44 bool45 depends on ARM64 && ACPI_APEI_GHES46 default y47 48config ACPI_APEI_MEMORY_FAILURE49 bool "APEI memory error recovering support"50 depends on ACPI_APEI && MEMORY_FAILURE51 help52 Memory errors may be reported via APEI firmware first mode.53 Turn on this option to enable the memory recovering support.54 55config ACPI_APEI_EINJ56 tristate "APEI Error INJection (EINJ)"57 depends on ACPI_APEI && DEBUG_FS58 help59 EINJ provides a hardware error injection mechanism, it is60 mainly used for debugging and testing the other parts of61 APEI and some other RAS features.62 63config ACPI_APEI_EINJ_CXL64 bool "CXL Error INJection Support"65 default ACPI_APEI_EINJ66 depends on ACPI_APEI_EINJ67 depends on CXL_BUS && CXL_BUS <= ACPI_APEI_EINJ68 help69 Support for CXL protocol Error INJection through debugfs/cxl.70 Availability and which errors are supported is dependent on71 the host platform. Look to ACPI v6.5 section 18.6.4 and kernel72 EINJ documentation for more information.73 74 If unsure say 'n'75 76config ACPI_APEI_ERST_DEBUG77 tristate "APEI Error Record Serialization Table (ERST) Debug Support"78 depends on ACPI_APEI79 help80 ERST is a way provided by APEI to save and retrieve hardware81 error information to and from a persistent store. Enable this82 if you want to debugging and testing the ERST kernel support83 and firmware implementation.84