• Yi Li's avatar
    arm64: dmi: Add SMBIOS/DMI support · 668ebd10
    Yi Li authored
    SMBIOS is important for server hardware vendors. It implements a spec for
    providing descriptive information about the platform. Things like serial
    numbers, physical layout of the ports, build configuration data, and the like.
    This has been tested by dmidecode and lshw tools.
    This patch adds the call to dmi_scan_machine() to arm64_enter_virtual_mode(),
    as that is the point where the EFI Configuration Tables are registered as
    being available. It needs to be in an early_initcall anyway as dmi_id_init(),
    which is an arch_initcall itself, depends on dmi_scan_machine() having been
    called already.
    Signed-off-by: default avatarYi Li <yi.li@linaro.org>
    Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
    Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
efi.c 11.4 KB