diff options
| author | Tony Luck <[email protected]> | 2025-07-03 20:04:21 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-07-07 16:23:17 +0000 |
| commit | c8aea83c735ec5a853db495592a1b6b5e6db859b (patch) | |
| tree | 11c276d003f35dd363b23aa34fe5a088893b3f5c /lib/crypto/mpi/mpiutil.c | |
| parent | ACPI: APEI: GHES: add TAINT_MACHINE_CHECK on GHES panic path (diff) | |
| download | kernel-c8aea83c735ec5a853db495592a1b6b5e6db859b.tar.gz kernel-c8aea83c735ec5a853db495592a1b6b5e6db859b.zip | |
ACPI: APEI: EINJ: Fix trigger actions
The trigger events are in BIOS memory immediately following the
acpi_einj_trigger structure. These were not copied to regular
kernel memory for use by apei_exec_ctx_init() so injections in
"notrigger=0" mode failed with a message like this:
APEI: Invalid action table, unknown instruction type: 123
Fix by allocating a "table_size" block of memory and copying the whole
table for use in the rest of the trigger flow.
Fixes: 1a35c88302a3 ("ACPI: APEI: EINJ: Fix kernel test sparse warnings")
Reported-by: Yi1 Lai <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
