x86, UV: Fix information in __uv_hub_info structure
authorRobin Holt <holt@sgi.com>
Thu, 15 Oct 2009 22:40:00 +0000 (17:40 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 16 Oct 2009 06:18:34 +0000 (08:18 +0200)
commit036ed8ba61b72c19dc5759446d4fe0844aa88255
tree956331ab7308de6c96e5c5b01806f26a8f91f59b
parenta5912f6b3e20c137172460e6d4dd180866c00963
x86, UV: Fix information in __uv_hub_info structure

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>
Cc: stable@kernel.org
LKML-Reference: <20091015224946.396355000@alcatraz.americas.sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/x2apic_uv_x.c
arch/x86/kernel/tlb_uv.c