]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dmi: Add SMBIOS/DMI support
authorYi Li <yi.li@linaro.org>
Mon, 22 Sep 2014 10:11:18 +0000 (11:11 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 22 Sep 2014 10:11:18 +0000 (11:11 +0100)
commitfc4ded043675243a5417a608084569ec330d7436
treedbc02b5760b2b5eee1dbbf2213f7cd73c19bf931
parentf044381f3131a55a83ce6bc1fe96ccc4d97e3253
arm64: dmi: Add SMBIOS/DMI support

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: Yi Li <yi.li@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/include/asm/dmi.h [new file with mode: 0644]
arch/arm64/kernel/efi.c