diff options
| author | Dave Young <[email protected]> | 2025-01-23 06:36:27 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2025-01-23 08:58:43 +0000 |
| commit | 64b45dd46e154ee7641d7e0457f3fa266e57179f (patch) | |
| tree | 54738573cd104864ad851b0ff72803073e33eef0 /scripts/extract-fwblobs | |
| parent | efivarfs: add variable resync after hibernation (diff) | |
| download | kernel-64b45dd46e154ee7641d7e0457f3fa266e57179f.tar.gz kernel-64b45dd46e154ee7641d7e0457f3fa266e57179f.zip | |
x86/efi: skip memattr table on kexec boot
efi_memattr_init() added a sanity check to avoid firmware caused corruption.
The check is based on efi memmap entry numbers, but kexec only takes the
runtime related memmap entries thus this caused many false warnings, see
below thread for details:
https://lore.kernel.org/all/[email protected]/
Ard suggests to skip the efi memattr table in kexec, this makes sense because
those memattr fixups are not critical.
Fixes: 8fbe4c49c0cc ("efi/memattr: Ignore table if the size is clearly bogus")
Cc: <[email protected]> # v6.13+
Reported-by: Breno Leitao <[email protected]>
Reported-and-tested-by: Usama Arif <[email protected]>
Suggested-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Dave Young <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions
