x86/platform/uv/BAU: Disable BAU on single hub configurations
authorAndrew Banman <abanman@hpe.com>
Thu, 20 Jul 2017 22:05:51 +0000 (17:05 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 21 Jul 2017 07:56:25 +0000 (09:56 +0200)
commit2fe9a5c6ade4dfb53ff1c137cca3828d9d1d0948
tree38f1f1c2fd93e1bc6d04a9211748536b58a390cd
parent0bc73048d7baecf94117d1a948853a627e6ba5c8
x86/platform/uv/BAU: Disable BAU on single hub configurations

The BAU confers no benefit to a UV system running with only one hub/socket.
Permanently disable the BAU driver if there are less than two hubs online
to avoid BAU overhead. We have observed failed boots on single-socket UV4
systems caused by BAU that are avoided with this patch.

Also, while at it, consolidate initialization error blocks and fix a
memory leak.

Signed-off-by: Andrew Banman <abanman@hpe.com>
Acked-by: Russ Anderson <rja@hpe.com>
Acked-by: Mike Travis <mike.travis@hpe.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: tony.ernst@hpe.com
Link: http://lkml.kernel.org/r/1500588351-78016-1-git-send-email-abanman@hpe.com
[ Minor cleanups. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/uv/tlb_uv.c