]> 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)
commit3381fae42b6ff2ddddafff6ae05a62d6f5ae2d96
treedbc02b5760b2b5eee1dbbf2213f7cd73c19bf931
parentad1b58c3e7ffaddd744a3f905cec2a3f915cfff4
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