diff options
author | Rocky Phagura <rphagura@fb.com> | 2021-01-10 15:42:50 -0800 |
---|---|---|
committer | David Hendricks <david.hendricks@gmail.com> | 2021-04-30 01:19:30 +0000 |
commit | eff0713dfcbc2a32a20946c3a69ccb85775de4a0 (patch) | |
tree | 85f57e48d6eb3b8eff4b9033f03c48787529a12a /src/mainboard | |
parent | 7da1c1732a45f8e426772b99946e6718b9b4df03 (diff) |
src/acpi: Add APEI EINJ support
This adds full EINJ support with trigger action tables. The actual
error injection functionality is HW specific. Therefore, HW specific
code should call acpi_create_einj with an address where action table
resides. The default params of the action table are filled out by the
common code. Control is then returned back to the caller to modify or
override default parameters. If no changes are needed, caller can
simply add the acpi table. At runtime, FW is responsible for filling
out the action table with the proper entries. The action table memory
is shared between FW and OS. This memory should be marked as reserved
in E820 table.
Tested on Deltalake mainboard. Boot to OS, load the EINJ driver (
modprobe EINJ) and verify EINJ memory entries are in /proc/iomem.
Further tested by injecting errors via the APEI file nodes. More
information on error injection can be referenced in the latest ACPI
spec.
Change-Id: I29c6a861c564ec104f2c097f3e49b3e6d38b040e
Signed-off-by: Rocky Phagura <rphagura@fb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49286
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Rocky Phagura
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions