blob: 6b18f8bc7be353403873df2c11ca0b72ef256eb6 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Tomasz Nowicki44a69f62014-07-22 11:20:12 +02002config HAVE_ACPI_APEI
3 bool
4
5config HAVE_ACPI_APEI_NMI
6 bool
7
Huang Yinga643ce22010-05-18 14:35:12 +08008config ACPI_APEI
9 bool "ACPI Platform Error Interface (APEI)"
Luck, Tony5d2a8342011-04-13 10:48:12 -070010 select MISC_FILESYSTEMS
Tony Luck0bb77c42011-01-03 14:22:11 -080011 select PSTORE
Luck, Tony7ea6c6c2013-10-28 14:06:55 -070012 select UEFI_CPER
Tomasz Nowicki44a69f62014-07-22 11:20:12 +020013 depends on HAVE_ACPI_APEI
Huang Yinga643ce22010-05-18 14:35:12 +080014 help
15 APEI allows to report errors (for example from the chipset)
16 to the operating system. This improves NMI handling
17 especially. In addition it supports error serialization and
18 error injection.
Huang Yinge4021342010-05-18 14:35:14 +080019
Huang Yingd334a492010-05-18 14:35:20 +080020config ACPI_APEI_GHES
Huang Ying86cd4732011-07-13 13:14:18 +080021 bool "APEI Generic Hardware Error Source"
Tomasz Nowicki51572752014-02-10 17:23:36 +010022 depends on ACPI_APEI
Huang Yingd334a492010-05-18 14:35:20 +080023 select ACPI_HED
Chen Gong03ba1762011-08-10 10:46:22 +080024 select IRQ_WORK
Huang Ying67eb2e92011-07-13 13:14:25 +080025 select GENERIC_ALLOCATOR
Huang Yingd334a492010-05-18 14:35:20 +080026 help
27 Generic Hardware Error Source provides a way to report
28 platform hardware errors (such as that from chipset). It
29 works in so called "Firmware First" mode, that is, hardware
30 errors are reported to firmware firstly, then reported to
31 Linux by firmware. This way, some non-standard hardware
32 error registers or non-standard hardware link can be checked
33 by firmware to produce more valuable hardware error
34 information for Linux.
35
Huang Yingc413d762011-02-21 13:54:43 +080036config ACPI_APEI_PCIEAER
37 bool "APEI PCIe AER logging/recovering support"
38 depends on ACPI_APEI && PCIEAER
39 help
40 PCIe AER errors may be reported via APEI firmware first mode.
41 Turn on this option to enable the corresponding support.
42
Tyler Baicar7edda082017-06-21 12:17:09 -060043config ACPI_APEI_SEA
James Morse255097c2019-01-29 18:48:48 +000044 bool
Tyler Baicar7edda082017-06-21 12:17:09 -060045 depends on ARM64 && ACPI_APEI_GHES
46 default y
Tyler Baicar7edda082017-06-21 12:17:09 -060047
Huang Yingba61ca42011-07-13 13:14:28 +080048config ACPI_APEI_MEMORY_FAILURE
49 bool "APEI memory error recovering support"
50 depends on ACPI_APEI && MEMORY_FAILURE
51 help
52 Memory errors may be reported via APEI firmware first mode.
53 Turn on this option to enable the memory recovering support.
54
Huang Yinge4021342010-05-18 14:35:14 +080055config ACPI_APEI_EINJ
56 tristate "APEI Error INJection (EINJ)"
57 depends on ACPI_APEI && DEBUG_FS
58 help
59 EINJ provides a hardware error injection mechanism, it is
60 mainly used for debugging and testing the other parts of
61 APEI and some other RAS features.
Huang Ying2ff729d2010-08-12 11:55:17 +080062
63config ACPI_APEI_ERST_DEBUG
64 tristate "APEI Error Record Serialization Table (ERST) Debug Support"
65 depends on ACPI_APEI
66 help
67 ERST is a way provided by APEI to save and retrieve hardware
Lucas De Marchi58f87ed2010-09-07 12:49:45 -040068 error information to and from a persistent store. Enable this
Huang Ying2ff729d2010-08-12 11:55:17 +080069 if you want to debugging and testing the ERST kernel support
70 and firmware implementation.