Commit 133a1f45 authored by Mikel Rychliski's avatar Mikel Rychliski Committed by Greg Kroah-Hartman
Browse files

x86/efistub: Fix PCI ROM preservation in mixed mode



[ Upstream commit 8b94da92 ]

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: 2c3625cb ("efi/x86: Fold __setup_efi_pci32() and __setup_efi_pci64() into one function")
Signed-off-by: default avatarMikel Rychliski <mikel@mikelr.com>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3de36b8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment