linux/drivers/firmware/efi
Mikel Rychliski be2092d2a7 x86/efistub: Fix PCI ROM preservation in mixed mode
[ Upstream commit 8b94da9255 ]

preserve_pci_rom_image() was accessing the romsize field in
efi_pci_io_protocol_t directly instead of using the efi_table_attr()
helper. This prevents the ROM image from being saved correctly during a
mixed mode boot.

Fixes: 2c3625cb9f ("efi/x86: Fold __setup_efi_pci32() and __setup_efi_pci64() into one function")
Signed-off-by: Mikel Rychliski <mikel@mikelr.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:22:31 +02:00
..
libstub x86/efistub: Fix PCI ROM preservation in mixed mode 2023-09-19 12:22:31 +02:00
test
apple-properties.c efi: fix return value of __setup handlers 2022-03-23 09:16:41 +01:00
arm-runtime.c
capsule-loader.c efi: capsule-loader: Fix use-after-free in efi_capsule_write 2022-09-15 11:30:00 +02:00
capsule.c
cper-arm.c
cper-x86.c
cper.c efi/cper: use stack buffer for error record decoding 2021-10-05 13:05:59 +02:00
dev-path-parser.c ACPI: utils: Fix reference counting in for_each_acpi_dev_match() 2021-07-19 16:22:01 +02:00
earlycon.c
efi-bgrt.c
efi-init.c efi: apply memblock cap after memblock_add() 2022-01-27 11:04:15 +01:00
efi-pstore.c pstore: Don't use semaphores in always-atomic-context code 2022-04-08 14:23:01 +02:00
efi.c efi: fix potential NULL deref in efi_mem_reserve_persistent 2023-02-09 11:26:38 +01:00
efibc.c
efivars.c
embedded-firmware.c
esrt.c
fake_mem.c
fake_mem.h
fdtparams.c efi/fdt: fix panic when no valid fdt found 2021-05-22 14:03:42 +02:00
Kconfig
Makefile drivers/firmware: move x86 Generic System Framebuffers support 2021-07-21 12:04:56 +02:00
memattr.c efi: Accept version 2 of memory attributes table 2023-02-09 11:26:41 +01:00
memmap.c
mokvar-table.c efi/mokvar: Reserve the table only if it is in boot services data 2021-07-20 09:28:09 +02:00
rci2-table.c
reboot.c
riscv-runtime.c
runtime-map.c
runtime-wrappers.c efi: fix userspace infinite retry read efivars after EFI runtime services page fault 2023-01-24 07:22:42 +01:00
sysfb_efi.c efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L 2023-04-20 12:13:54 +02:00
tpm.c efi/tpm: Pass correct address to memblock_reserve 2022-11-10 18:15:35 +01:00
vars.c efivars: Respect "block" flag in efivar_entry_set_safe() 2022-03-08 19:12:47 +01:00
x86_fake_mem.c