Skip to content

Commit a08f82d

Browse files
yhuang-intellenb
authored andcommitted
ACPI, APEI, Error Record Serialization Table (ERST) support
ERST is a way provided by APEI to save and retrieve hardware error record to and from some simple persistent storage (such as flash). The Linux kernel support implementation is quite simple and workable in NMI context. So it can be used to save hardware error record into flash in hardware error exception or NMI handler, where other more complex persistent storage such as disk is not usable. After saving hardware error records via ERST in hardware error exception or NMI handler, the error records can be retrieved and logged into disk or network after a clean reboot. For more information about ERST, please refer to ACPI Specification version 4.0, section 17.4. This patch incorporate fixes from Jin Dongming. Signed-off-by: Huang Ying <[email protected]> Signed-off-by: Andi Kleen <[email protected]> CC: Jin Dongming <[email protected]> Signed-off-by: Len Brown <[email protected]>
1 parent d334a49 commit a08f82d

File tree

4 files changed

+881
-1
lines changed

4 files changed

+881
-1
lines changed

Documentation/kernel-parameters.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,10 @@ and is between 256 and 4096 characters. It is defined in the file
750750
Default value is 0.
751751
Value can be changed at runtime via /selinux/enforce.
752752

753+
erst_disable [ACPI]
754+
Disable Error Record Serialization Table (ERST)
755+
support.
756+
753757
ether= [HW,NET] Ethernet cards parameters
754758
This option is obsoleted by the "netdev=" option, which
755759
has equivalent usage. See its documentation for details.

drivers/acpi/apei/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ obj-$(CONFIG_ACPI_APEI) += apei.o
22
obj-$(CONFIG_ACPI_APEI_GHES) += ghes.o
33
obj-$(CONFIG_ACPI_APEI_EINJ) += einj.o
44

5-
apei-y := apei-base.o hest.o cper.o
5+
apei-y := apei-base.o hest.o cper.o erst.o

0 commit comments

Comments
 (0)