sgi-xpc: XPC fails to discover partitions with all nasids above 128
authorRobin@sgi.com <Robin@sgi.com>
Wed, 24 Nov 2010 20:56:59 +0000 (12:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:26:42 +0000 (13:26 -0800)
commit1e251f22b6ef6e018286e9a9745e66409131e353
tree5da6544631207ef3700d2182d359f29882c31ff7
parent0b5059be74532f799ba09bfa6dfb6f11e98fdb17
sgi-xpc: XPC fails to discover partitions with all nasids above 128

commit c22c7aeff69796f46ae0fcec141538e28f50b24e upstream.

UV hardware defines 256 memory protection regions versus the baseline 64
with increasing size for the SN2 ia64.  This was overlooked when XPC was
modified to accomodate both UV and SN2.

Without this patch, a user could reconfigure their existing system and
suddenly disable cross-partition communications with no indication of what
has gone wrong.  It also prevents larger configurations from using
cross-partition communication.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/sgi-xp/xpc_partition.c