sgi-xpc: XPC fails to discover partitions with all nasids above 128
commit998eaeb0802f35212659849de50ff0ae751f4ad7
authorRobin@sgi.com <Robin@sgi.com>
Wed, 24 Nov 2010 20:56:59 +0000 (24 12:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:43:47 +0000 (21 12:43 -0700)
tree3d8291e7167f2918f5143d8b807cfa063a2b5717
parent6b9f631802b55b9fbc1d2c1064ae10b67ecbbe2d
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