linux/drivers/firmware/efi/libstub
Darren Hart 346631d52a arm64: efi: Force the use of SetVirtualAddressMap() on eMAG and Altra Max machines
commit 190233164c upstream.

Commit 550b33cfd4 ("arm64: efi: Force the use of SetVirtualAddressMap()
on Altra machines") identifies the Altra family via the family field in
the type#1 SMBIOS record. eMAG and Altra Max machines are similarly
affected but not detected with the strict strcmp test.

The type1_family smbios string is not an entirely reliable means of
identifying systems with this issue as OEMs can, and do, use their own
strings for these fields. However, until we have a better solution,
capture the bulk of these systems by adding strcmp matching for "eMAG"
and "Altra Max".

Fixes: 550b33cfd4 ("arm64: efi: Force the use of SetVirtualAddressMap() on Altra machines")
Cc: <stable@vger.kernel.org> # 6.1.x
Cc: Alexandru Elisei <alexandru.elisei@gmail.com>
Signed-off-by: Darren Hart <darren@os.amperecomputing.com>
Tested-by: Justin He <justin.he@arm.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-14 19:11:54 +01:00
..
alignedmem.c
arm32-stub.c
arm64-stub.c arm64: efi: Force the use of SetVirtualAddressMap() on eMAG and Altra Max machines 2023-02-14 19:11:54 +01:00
efi-stub-helper.c efi/arm64: libstub: avoid SetVirtualAddressMap() when possible 2022-09-27 13:26:16 +02:00
efi-stub.c efi: libstub: fix up the last remaining open coded boot service call 2022-09-27 13:26:16 +02:00
efistub.h efi: random: combine bootloader provided RNG seed with RNG protocol output 2023-01-12 12:02:58 +01:00
fdt.c efi: runtime: Don't assume virtual mappings are missing if VA == PA == 0 2022-10-21 11:09:41 +02:00
file.c Second shared stable tag between EFI and LoongArch trees 2022-09-27 13:26:13 +02:00
gop.c
intrinsics.c efi/libstub: use EFI provided memcpy/memset routines 2022-09-17 15:13:21 +02:00
loongarch-stub.c efi/loongarch: libstub: remove dependency on flattened DT 2022-09-27 13:22:49 +02:00
Makefile arm64: efi: Force the use of SetVirtualAddressMap() on Altra machines 2022-11-10 23:14:14 +01:00
Makefile.zboot efi: libstub: Remove zboot signing from build options 2022-10-21 11:09:40 +02:00
mem.c efi: libstub: install boot-time memory map as config table 2022-09-27 13:22:49 +02:00
pci.c
random.c efi: random: combine bootloader provided RNG seed with RNG protocol output 2023-01-12 12:02:58 +01:00
randomalloc.c efi: libstub: install boot-time memory map as config table 2022-09-27 13:22:49 +02:00
relocate.c efi: libstub: install boot-time memory map as config table 2022-09-27 13:22:49 +02:00
riscv-stub.c riscv/efi_stub: Add 64bit boot-hartid support on RV64 2022-07-19 16:39:19 -07:00
secureboot.c efi: libstub: check Shim mode using MokSBStateRT 2022-09-22 10:15:44 +02:00
skip_spaces.c
smbios.c arm64: efi: Force the use of SetVirtualAddressMap() on Altra machines 2022-11-10 23:14:14 +01:00
string.c
systable.c efi/libstub: move efi_system_table global var into separate object 2022-09-19 11:19:35 +02:00
tpm.c
vsprintf.c
x86-stub.c efi: libstub: Give efi_main() asmlinkage qualification 2022-10-21 11:09:40 +02:00
zboot-header.S efi/libstub: implement generic EFI zboot 2022-09-20 09:50:30 +02:00
zboot.c efi: zboot: create MemoryMapped() device path for the parent if needed 2022-09-27 13:26:16 +02:00
zboot.lds efi: libstub: Fix incorrect payload size in zboot header 2022-10-21 11:09:41 +02:00