* [PATCH 1/4] x86: Add UV EFI table entry v2
@ 2008-09-26 20:02 Russ Anderson
2008-09-27 1:23 ` Huang Ying
0 siblings, 1 reply; 2+ messages in thread
From: Russ Anderson @ 2008-09-26 20:02 UTC (permalink / raw)
To: linux-kernel, mingo, tglx
Cc: H. Peter Anvin, Huang Ying, Jack Steiner, Russ Anderson
[PATCH 1/4] Add UV EFI table entry
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>
---
arch/x86/kernel/efi.c | 4 ++++
include/linux/efi.h | 4 ++++
2 files changed, 8 insertions(+)
Index: linux/arch/x86/kernel/efi.c
===================================================================
--- linux.orig/arch/x86/kernel/efi.c 2008-09-26 13:54:11.000000000 -0500
+++ linux/arch/x86/kernel/efi.c 2008-09-26 13:54:18.000000000 -0500
@@ -367,6 +367,10 @@ void __init efi_init(void)
efi.smbios = config_tables[i].table;
printk(" SMBIOS=0x%lx ", config_tables[i].table);
} else if (!efi_guidcmp(config_tables[i].guid,
+ UV_SYSTEM_TABLE_GUID)) {
+ efi.uv_systab = config_tables[i].table;
+ printk(" UVsystab=0x%lx ", config_tables[i].table);
+ } else if (!efi_guidcmp(config_tables[i].guid,
HCDP_TABLE_GUID)) {
efi.hcdp = config_tables[i].table;
printk(" HCDP=0x%lx ", config_tables[i].table);
Index: linux/include/linux/efi.h
===================================================================
--- linux.orig/include/linux/efi.h 2008-09-26 13:54:11.000000000 -0500
+++ linux/include/linux/efi.h 2008-09-26 13:54:18.000000000 -0500
@@ -208,6 +208,9 @@ typedef efi_status_t efi_set_virtual_add
#define EFI_GLOBAL_VARIABLE_GUID \
EFI_GUID( 0x8be4df61, 0x93ca, 0x11d2, 0xaa, 0x0d, 0x00, 0xe0, 0x98, 0x03, 0x2b, 0x8c )
+#define UV_SYSTEM_TABLE_GUID \
+ EFI_GUID( 0x3b13a7d4, 0x633e, 0x11dd, 0x93, 0xec, 0xda, 0x25, 0x56, 0xd8, 0x95, 0x93 )
+
typedef struct {
efi_guid_t guid;
unsigned long table;
@@ -255,6 +258,7 @@ extern struct efi {
unsigned long boot_info; /* boot info table */
unsigned long hcdp; /* HCDP table */
unsigned long uga; /* UGA table */
+ unsigned long uv_systab; /* UV system table */
efi_get_time_t *get_time;
efi_set_time_t *set_time;
efi_get_wakeup_time_t *get_wakeup_time;
--
Russ Anderson, OS RAS/Partitioning Project Lead
SGI - Silicon Graphics Inc rja@sgi.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/4] x86: Add UV EFI table entry v2
2008-09-26 20:02 [PATCH 1/4] x86: Add UV EFI table entry v2 Russ Anderson
@ 2008-09-27 1:23 ` Huang Ying
0 siblings, 0 replies; 2+ messages in thread
From: Huang Ying @ 2008-09-27 1:23 UTC (permalink / raw)
To: Russ Anderson; +Cc: linux-kernel, mingo, tglx, H. Peter Anvin, Jack Steiner
[-- Attachment #1: Type: text/plain, Size: 2214 bytes --]
On Fri, 2008-09-26 at 15:02 -0500, Russ Anderson wrote:
> [PATCH 1/4] Add UV EFI table entry
>
> 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>
Best Regards,
Huang Ying
> ---
> arch/x86/kernel/efi.c | 4 ++++
> include/linux/efi.h | 4 ++++
> 2 files changed, 8 insertions(+)
>
> Index: linux/arch/x86/kernel/efi.c
> ===================================================================
> --- linux.orig/arch/x86/kernel/efi.c 2008-09-26 13:54:11.000000000 -0500
> +++ linux/arch/x86/kernel/efi.c 2008-09-26 13:54:18.000000000 -0500
> @@ -367,6 +367,10 @@ void __init efi_init(void)
> efi.smbios = config_tables[i].table;
> printk(" SMBIOS=0x%lx ", config_tables[i].table);
> } else if (!efi_guidcmp(config_tables[i].guid,
> + UV_SYSTEM_TABLE_GUID)) {
> + efi.uv_systab = config_tables[i].table;
> + printk(" UVsystab=0x%lx ", config_tables[i].table);
> + } else if (!efi_guidcmp(config_tables[i].guid,
> HCDP_TABLE_GUID)) {
> efi.hcdp = config_tables[i].table;
> printk(" HCDP=0x%lx ", config_tables[i].table);
> Index: linux/include/linux/efi.h
> ===================================================================
> --- linux.orig/include/linux/efi.h 2008-09-26 13:54:11.000000000 -0500
> +++ linux/include/linux/efi.h 2008-09-26 13:54:18.000000000 -0500
> @@ -208,6 +208,9 @@ typedef efi_status_t efi_set_virtual_add
> #define EFI_GLOBAL_VARIABLE_GUID \
> EFI_GUID( 0x8be4df61, 0x93ca, 0x11d2, 0xaa, 0x0d, 0x00, 0xe0, 0x98, 0x03, 0x2b, 0x8c )
>
> +#define UV_SYSTEM_TABLE_GUID \
> + EFI_GUID( 0x3b13a7d4, 0x633e, 0x11dd, 0x93, 0xec, 0xda, 0x25, 0x56, 0xd8, 0x95, 0x93 )
> +
> typedef struct {
> efi_guid_t guid;
> unsigned long table;
> @@ -255,6 +258,7 @@ extern struct efi {
> unsigned long boot_info; /* boot info table */
> unsigned long hcdp; /* HCDP table */
> unsigned long uga; /* UGA table */
> + unsigned long uv_systab; /* UV system table */
> efi_get_time_t *get_time;
> efi_set_time_t *set_time;
> efi_get_wakeup_time_t *get_wakeup_time;
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-27 1:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-26 20:02 [PATCH 1/4] x86: Add UV EFI table entry v2 Russ Anderson
2008-09-27 1:23 ` Huang Ying
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox