x86/efistub: Enable SMBIOS protocol handling for x86
authorArd Biesheuvel <ardb@kernel.org>
Mon, 1 Jul 2024 07:35:33 +0000 (09:35 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 8 Jul 2024 08:17:44 +0000 (10:17 +0200)
commitcd6193877c603f4b0c3c7e5607ffa3d52815403f
tree9e374032ebdc6b96d689825aa85ba330705bf85c
parent0dad9ee3c13930fe8122f2efc936fcd1c277a00d
x86/efistub: Enable SMBIOS protocol handling for x86

The smbios.c source file is not currently included in the x86 build, and
before we can do so, it needs some tweaks to build correctly in
combination with the EFI mixed mode support.

Reviewed-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/include/asm/efi.h
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/smbios.c
include/linux/efi.h