efi: dmi: add support for SMBIOS 3.0 UEFI configuration table
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 14 Oct 2014 14:34:47 +0000 (16:34 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 5 Nov 2014 08:03:16 +0000 (09:03 +0100)
commite1ccbbc9d5aa01a6c1c9c78acea6515db4f1be71
tree3afa166ca545abb12dfc4cf0b331a004ab400592
parent4e27d4754e8990da264c1e01e2f6bd8340e30cb3
efi: dmi: add support for SMBIOS 3.0 UEFI configuration table

This adds support to the UEFI side for detecting the presence of
a SMBIOS 3.0 64-bit entry point. This allows the actual SMBIOS
structure table to reside at a physical offset over 4 GB, which
cannot be supported by the legacy SMBIOS 32-bit entry point.

Since the firmware can legally provide both entry points, store
the SMBIOS 3.0 entry point in a separate variable, and let the
DMI decoding layer decide which one will be used.

Tested-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Acked-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
drivers/firmware/efi/efi.c
drivers/xen/efi.c
include/linux/efi.h