x86/UV: Set n_lshift based on GAM_GR_CONFIG MMR for UV3
authorDimitri Sivanich <sivanich@sgi.com>
Mon, 31 Mar 2014 14:37:00 +0000 (09:37 -0500)
committerIngo Molnar <mingo@kernel.org>
Tue, 1 Apr 2014 10:10:44 +0000 (12:10 +0200)
commit5f40f7d93898a473eb222aa8064144c1d6835470
tree03ffd2723ffda81060d7361d217646080f28565d
parent176ab02d4916f09d5d8cb63372d142df4378cdea
x86/UV: Set n_lshift based on GAM_GR_CONFIG MMR for UV3

The value of n_lshift for UV is currently set based on the
socket m_val.

For UV3, set the n_lshift value based on the GAM_GR_CONFIG MMR.
This will allow bios to control the n_lshift value independent
of the socket m_val. Then n_lshift can be assigned a fixed value
across a multi-partition system, allowing for a fixed common
global physical address format that is independent of socket
m_val.

Cleanup unneeded macros.

Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
Link: http://lkml.kernel.org/r/20140331143700.GB29916@sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/uv/uv_hub.h
arch/x86/include/asm/uv/uv_mmrs.h
arch/x86/kernel/apic/x2apic_uv_x.c