]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e393c9272019c195d409e3af7eb187af89b53d5
tree38f1f1c2fd93e1bc6d04a9211748536b58a390cd
parent383a1ba2759c6ed64ca9a5d19a875450a276afb2
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