Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86: Add UV EFI table entry v4

Look for a UV entry in the EFI tables.

Signed-off-by: Russ Anderson <rja@sgi.com>
Signed-off-by: Paul Jackson <pj@sgi.com>
Acked-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Russ Anderson and committed by
Ingo Molnar
a50f70b1 37762b6f

+8
+4
arch/x86/kernel/efi.c
··· 367 367 efi.smbios = config_tables[i].table; 368 368 printk(" SMBIOS=0x%lx ", config_tables[i].table); 369 369 } else if (!efi_guidcmp(config_tables[i].guid, 370 + UV_SYSTEM_TABLE_GUID)) { 371 + efi.uv_systab = config_tables[i].table; 372 + printk(" UVsystab=0x%lx ", config_tables[i].table); 373 + } else if (!efi_guidcmp(config_tables[i].guid, 370 374 HCDP_TABLE_GUID)) { 371 375 efi.hcdp = config_tables[i].table; 372 376 printk(" HCDP=0x%lx ", config_tables[i].table);
+4
include/linux/efi.h
··· 208 208 #define EFI_GLOBAL_VARIABLE_GUID \ 209 209 EFI_GUID( 0x8be4df61, 0x93ca, 0x11d2, 0xaa, 0x0d, 0x00, 0xe0, 0x98, 0x03, 0x2b, 0x8c ) 210 210 211 + #define UV_SYSTEM_TABLE_GUID \ 212 + EFI_GUID( 0x3b13a7d4, 0x633e, 0x11dd, 0x93, 0xec, 0xda, 0x25, 0x56, 0xd8, 0x95, 0x93 ) 213 + 211 214 typedef struct { 212 215 efi_guid_t guid; 213 216 unsigned long table; ··· 258 255 unsigned long boot_info; /* boot info table */ 259 256 unsigned long hcdp; /* HCDP table */ 260 257 unsigned long uga; /* UGA table */ 258 + unsigned long uv_systab; /* UV system table */ 261 259 efi_get_time_t *get_time; 262 260 efi_set_time_t *set_time; 263 261 efi_get_wakeup_time_t *get_wakeup_time;