x86/platform/UV: Fix 2 socket config problem
authorMike Travis <travis@sgi.com>
Fri, 13 Jan 2017 15:21:12 +0000 (09:21 -0600)
committerIngo Molnar <mingo@kernel.org>
Sat, 14 Jan 2017 08:26:35 +0000 (09:26 +0100)
commit81a71176740624ef3b1bff50c51e7b4aa187353d
tree9da600896842718caa4729961a0c055d4c0449c1
parenteee5715efd8c268724b14c956de6af5d4931f470
x86/platform/UV: Fix 2 socket config problem

A UV4 chassis with only 2 sockets configured can unexpectedly
target the wrong UV hub.  Fix the problem by limiting the minimum
size of a partition to 4 sockets even if only 2 are configured.

Signed-off-by: Mike Travis <travis@sgi.com>
Reviewed-by: Russ Anderson <rja@hpe.com>
Acked-by: Dimitri Sivanich <sivanich@hpe.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170113152111.313888353@asylum.americas.sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/x2apic_uv_x.c