aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/efi.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2014-10-14 16:34:47 +0200
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2014-11-05 09:03:16 +0100
commite1ccbbc9d5aa01a6c1c9c78acea6515db4f1be71 (patch)
tree3afa166ca545abb12dfc4cf0b331a004ab400592 /drivers/xen/efi.c
parentarm64/efi: drop redundant set_bit(EFI_CONFIG_TABLES) (diff)
downloadlinux-dev-e1ccbbc9d5aa01a6c1c9c78acea6515db4f1be71.tar.xz
linux-dev-e1ccbbc9d5aa01a6c1c9c78acea6515db4f1be71.zip
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>
Diffstat (limited to 'drivers/xen/efi.c')
-rw-r--r--drivers/xen/efi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/efi.c b/drivers/xen/efi.c
index 1f850c97482f..f745db270171 100644
--- a/drivers/xen/efi.c
+++ b/drivers/xen/efi.c
@@ -294,6 +294,7 @@ static const struct efi efi_xen __initconst = {
.acpi = EFI_INVALID_TABLE_ADDR,
.acpi20 = EFI_INVALID_TABLE_ADDR,
.smbios = EFI_INVALID_TABLE_ADDR,
+ .smbios3 = EFI_INVALID_TABLE_ADDR,
.sal_systab = EFI_INVALID_TABLE_ADDR,
.boot_info = EFI_INVALID_TABLE_ADDR,
.hcdp = EFI_INVALID_TABLE_ADDR,