x86: efi_loader: Ensure the SMBIOS tables are sent via EFI
authorSimon Glass <sjg@chromium.org>
Fri, 23 May 2025 16:55:04 +0000 (17:55 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 25 May 2025 09:40:00 +0000 (11:40 +0200)
commit29c449ccb5bd688bc7a347faca120c6f021e543c
tree3396447745f3d46dc139c2ab9206f429806b1bf7
parent162a6b3df349295bf766c1d128d71b4547e8d56e
x86: efi_loader: Ensure the SMBIOS tables are sent via EFI

The EFI-loader code has not been fully converted to use bloblist, so
relies on the SMBIOS-table address being set in global_data.

Set this up in write_tables() so that the SMBIOS tables are actually
available.

Enable the command for x86 QEMU so that the SMBIOS tests actually run.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 83ce35d6ebb ("emulation: Use bloblist to hold tables")
Reported-by: Niklas Sombert <niklas.sombert@uni-duesseldorf.de>
Tested-by: Niklas Sombert <niklas.sombert@uni-duesseldorf.de>
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
arch/x86/lib/tables.c
board/emulation/qemu-x86/Kconfig