x86/uv: fix for no memory at paddr 0
commitfc61e6636d13eb3a23eb29b4327eeee9de0ef3bc
authorJack Steiner <steiner@sgi.com>
Mon, 20 Apr 2009 13:25:31 +0000 (20 08:25 -0500)
committerIngo Molnar <mingo@elte.hu>
Mon, 20 Apr 2009 16:09:18 +0000 (20 18:09 +0200)
treef029a11ae3e98775302455a57bcbe45bd1062dea
parent62d170290979e0bb805d969cca4ea852bdd45260
x86/uv: fix for no memory at paddr 0

Fix endcase where the memory at physical address 0 does not really
exist AND one of the sockets on blade 0 has no active cpus.

The memory that _appears_ to be at physical address 0 is actually
memory that located at a different address but has been remapped by
the chipset so that it appears to be at physical address 0.

When determining the UV pnode, the algorithm for determining the pnode
incorrectly used the relocated physical address instead of the actual
(global) address.

[ Impact: boot failure on partitioned systems ]

Signed-off-by: Jack Steiner <steiner@sgi.com>
LKML-Reference: <20090420132530.GA23156@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/x2apic_uv_x.c