]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86, UV, BAU: Extend for more than 16 cpus per socket
authorCliff Wickman <cpw@sgi.com>
Mon, 3 Jan 2011 18:03:53 +0000 (12:03 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:13:36 +0000 (15:13 -0800)
commit41098305705caab7523405c50a8d5e942f36b2b9
tree06b101f18d23efe15fe9677d361decc86a1ccdf0
parentdcdac09854fe0bd0b3ca92858b5346fdeef593b9
x86, UV, BAU: Extend for more than 16 cpus per socket

commit cfa60917f0ba6eca83f41aef3cb4a7dd7736ac9f upstream.

Fix a hard-coded limit of a maximum of 16 cpu's per socket.

The UV Broadcast Assist Unit code initializes by scanning the
cpu topology of the system and assigning a master cpu for each
socket and UV hub. That scan had an assumption of a limit of 16
cpus per socket. With Westmere we are going over that limit.
The UV hub hardware will allow up to 32.

If the scan finds the system has gone over that limit it returns
an error and we print a warning and fall back to doing TLB
shootdowns without the BAU.

Signed-off-by: Cliff Wickman <cpw@sgi.com>
LKML-Reference: <E1PZol7-0000mM-77@eag09.americas.sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/include/asm/uv/uv_bau.h
arch/x86/platform/uv/tlb_uv.c