x86/platform/UV: Fix GAM Range Table entries less than 1GB
authormike.travis@hpe.com <mike.travis@hpe.com>
Mon, 5 Feb 2018 22:15:04 +0000 (16:15 -0600)
committerIngo Molnar <mingo@kernel.org>
Tue, 13 Feb 2018 13:15:45 +0000 (14:15 +0100)
commitc25d99d20ba69824a1e2cc118e04b877cd427afc
tree4ae7908de2b097ef6b4f0e53828507f772c53bf6
parent74eb816b21d520ce37ce8aaf03128ca6067bbe22
x86/platform/UV: Fix GAM Range Table entries less than 1GB

The latest UV platforms include the new ApachePass NVDIMMs into the
UV address space.  This has introduced address ranges in the Global
Address Map Table that are less than the previous lowest range, which
was 2GB.  Fix the address calculation so it accommodates address ranges
from bytes to exabytes.

Signed-off-by: Mike Travis <mike.travis@hpe.com>
Reviewed-by: Andrew Banman <andrew.banman@hpe.com>
Reviewed-by: Dimitri Sivanich <dimitri.sivanich@hpe.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/20180205221503.190219903@stormcage.americas.sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/x2apic_uv_x.c