Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Tomasz Nowicki | 44a69f6 | 2014-07-22 11:20:12 +0200 | [diff] [blame] | 2 | config HAVE_ACPI_APEI |
| 3 | bool |
| 4 | |
| 5 | config HAVE_ACPI_APEI_NMI |
| 6 | bool |
| 7 | |
Huang Ying | a643ce2 | 2010-05-18 14:35:12 +0800 | [diff] [blame] | 8 | config ACPI_APEI |
| 9 | bool "ACPI Platform Error Interface (APEI)" |
Luck, Tony | 5d2a834 | 2011-04-13 10:48:12 -0700 | [diff] [blame] | 10 | select MISC_FILESYSTEMS |
Tony Luck | 0bb77c4 | 2011-01-03 14:22:11 -0800 | [diff] [blame] | 11 | select PSTORE |
Luck, Tony | 7ea6c6c | 2013-10-28 14:06:55 -0700 | [diff] [blame] | 12 | select UEFI_CPER |
Tomasz Nowicki | 44a69f6 | 2014-07-22 11:20:12 +0200 | [diff] [blame] | 13 | depends on HAVE_ACPI_APEI |
Huang Ying | a643ce2 | 2010-05-18 14:35:12 +0800 | [diff] [blame] | 14 | 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 Ying | e402134 | 2010-05-18 14:35:14 +0800 | [diff] [blame] | 19 | |
Huang Ying | d334a49 | 2010-05-18 14:35:20 +0800 | [diff] [blame] | 20 | config ACPI_APEI_GHES |
Huang Ying | 86cd473 | 2011-07-13 13:14:18 +0800 | [diff] [blame] | 21 | bool "APEI Generic Hardware Error Source" |
Tomasz Nowicki | 5157275 | 2014-02-10 17:23:36 +0100 | [diff] [blame] | 22 | depends on ACPI_APEI |
Huang Ying | d334a49 | 2010-05-18 14:35:20 +0800 | [diff] [blame] | 23 | select ACPI_HED |
Chen Gong | 03ba176 | 2011-08-10 10:46:22 +0800 | [diff] [blame] | 24 | select IRQ_WORK |
Huang Ying | 67eb2e9 | 2011-07-13 13:14:25 +0800 | [diff] [blame] | 25 | select GENERIC_ALLOCATOR |
Huang Ying | d334a49 | 2010-05-18 14:35:20 +0800 | [diff] [blame] | 26 | 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 Ying | c413d76 | 2011-02-21 13:54:43 +0800 | [diff] [blame] | 36 | config 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 Baicar | 7edda08 | 2017-06-21 12:17:09 -0600 | [diff] [blame] | 43 | config ACPI_APEI_SEA |
James Morse | 255097c | 2019-01-29 18:48:48 +0000 | [diff] [blame] | 44 | bool |
Tyler Baicar | 7edda08 | 2017-06-21 12:17:09 -0600 | [diff] [blame] | 45 | depends on ARM64 && ACPI_APEI_GHES |
| 46 | default y |
Tyler Baicar | 7edda08 | 2017-06-21 12:17:09 -0600 | [diff] [blame] | 47 | |
Huang Ying | ba61ca4 | 2011-07-13 13:14:28 +0800 | [diff] [blame] | 48 | config 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 Ying | e402134 | 2010-05-18 14:35:14 +0800 | [diff] [blame] | 55 | config 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 Ying | 2ff729d | 2010-08-12 11:55:17 +0800 | [diff] [blame] | 62 | |
| 63 | config 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 Marchi | 58f87ed | 2010-09-07 12:49:45 -0400 | [diff] [blame] | 68 | error information to and from a persistent store. Enable this |
Huang Ying | 2ff729d | 2010-08-12 11:55:17 +0800 | [diff] [blame] | 69 | if you want to debugging and testing the ERST kernel support |
| 70 | and firmware implementation. |