[GIT PULL] EFI fixes

From: Ingo Molnar
Date: Wed Jun 02 2021 - 13:45:23 EST


Linus,

Please pull the latest efi/urgent git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-2021-06-02

# HEAD: e169fba4f464760dd9734c9e39e1c2e88e374f32 Merge tag 'efi-urgent-for-v5.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi/urgent

A handful of EFI fixes:

- Fix/robustify a diagnostic printk
- Fix a (normally not triggered) parser bug in the libstub code
- Allow !EFI_MEMORY_XP && !EFI_MEMORY_RO entries in the memory map
- Stop Risc-V from crashing on boot if there's no FDT table

Thanks,

Ingo

------------------>
Changbin Du (1):
efi/fdt: fix panic when no valid fdt found

Dan Carpenter (1):
efi/libstub: prevent read overflow in find_file_option()

Heiner Kallweit (1):
efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared

Rasmus Villemoes (1):
efi: cper: fix snprintf() use in cper_dimm_err_location()


drivers/firmware/efi/cper.c | 4 +---
drivers/firmware/efi/fdtparams.c | 3 +++
drivers/firmware/efi/libstub/file.c | 2 +-
drivers/firmware/efi/memattr.c | 5 -----
4 files changed, 5 insertions(+), 9 deletions(-)