x86, UV: Fix information in __uv_hub_info structure
commit39652527bce2d4e12ac4008ec93e41a8b28238a3
authorRobin Holt <holt@sgi.com>
Thu, 15 Oct 2009 22:40:00 +0000 (15 17:40 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:22:32 +0000 (9 16:22 -0800)
treea9b32f5a4e9a1288677a8737f3cfa24db78048ab
parent958da8f522180518a1f04b65d4eef61eb4ecbe72
x86, UV: Fix information in __uv_hub_info structure

commit 036ed8ba61b72c19dc5759446d4fe0844aa88255 upstream.

A few parts of the uv_hub_info structure are initialized
incorrectly.

 - n_val is being loaded with m_val.
 - gpa_mask is initialized with a bytes instead of an unsigned long.
 - Handle the case where none of the alias registers are used.

Lastly I converted the bau over to using the uv_hub_info->m_val
which is the correct value.

Without this patch, booting a large configuration hits a
problem where the upper bits of the gnode affect the pnode
and the bau will not operate.

Signed-off-by: Robin Holt <holt@sgi.com>
Acked-by: Jack Steiner <steiner@sgi.com>
Cc: Cliff Whickman <cpw@sgi.com>
LKML-Reference: <20091015224946.396355000@alcatraz.americas.sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/apic/x2apic_uv_x.c
arch/x86/kernel/tlb_uv.c