x86/platform/uv: Fix calculation of Global Physical Address
authorMike Travis <mike.travis@hpe.com>
Tue, 21 Mar 2017 23:16:47 +0000 (18:16 -0500)
committerIngo Molnar <mingo@kernel.org>
Wed, 22 Mar 2017 06:41:10 +0000 (07:41 +0100)
commitad4830051aac0b967add82ac168f49edf11f01a0
tree35b78ccae0885291e3fbb163c9aaf49b21232a68
parent97da3854c526d3a6ee05c849c96e48d21527606c
x86/platform/uv: Fix calculation of Global Physical Address

The calculation of the global physical address (GPA) on UV4 is
incorrect.  The gnode_extra/upper global offset should only be
applied for fixed address space systems (UV1..3).

Tested-by: John Estabrook <john.estabrook@hpe.com>
Signed-off-by: Mike Travis <mike.travis@hpe.com>
Cc: Dimitri Sivanich <dimitri.sivanich@hpe.com>
Cc: John Estabrook <estabrook@sgi.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russ Anderson <russ.anderson@hpe.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170321231646.667689538@asylum.americas.sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/uv/uv_hub.h
arch/x86/kernel/apic/x2apic_uv_x.c