Russ Anderson
c8182f0016
sgi-xp: xpc needs to pass the physical address, not virtual
...
Impact: fix crash
xpc needs to pass the physical address, not virtual.
Testing uncovered this problem. The virtual address happens to work
most of the time due to the way bios was masking off the node bits.
Passing the physical address makes it work all of the time.
Signed-off-by: Russ Anderson <rja@sgi.com >
Acked-by: Dean Nelson <dcn@sgi.com >
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2008-12-16 23:04:24 +01:00
Dean Nelson
7d9d1f25c3
sgi-xp: support getting the address of a partition's reserved page
...
Add support for getting the address of a partition's reserved page.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Signed-off-by: H. Peter Anvin <hpa@zytor.com >
2008-11-05 20:32:21 -08:00
Dean Nelson
2525789b46
sgi-xp: create activate and notify gru message queues
...
For UV add the code to create the activate and notify gru message queues.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Signed-off-by: H. Peter Anvin <hpa@zytor.com >
2008-11-05 20:32:20 -08:00
Dean Nelson
bd3e64c175
sgi-xp: setup the notify GRU message queue
...
Setup the notify GRU message queue that is used for sending user messages
on UV systems.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Cc: Jack Steiner <steiner@sgi.com >
Cc: "Luck, Tony" <tony.luck@intel.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-07-30 09:41:50 -07:00
Dean Nelson
5b8669dfd1
sgi-xp: setup the activate GRU message queue
...
Setup the activate GRU message queue that is used for partition activation
and channel connection on UV systems.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Cc: Jack Steiner <steiner@sgi.com >
Cc: "Luck, Tony" <tony.luck@intel.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-07-30 09:41:50 -07:00
Dean Nelson
a812dcc3a2
sgi-xp: add usage of GRU driver by xpc_remote_memcpy()
...
Add UV support to xpc_remote_memcpy(), which involves interfacing to the
GRU driver.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Cc: Jack Steiner <steiner@sgi.com >
Cc: "Luck, Tony" <tony.luck@intel.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-07-30 09:41:50 -07:00
Dean Nelson
261f3b4979
sgi-xp: enable building of XPC/XPNET on x86_64
...
Get XPC/XPNET to build on x86_64. Trying to modprobe them up on a non-UV
or sn2 system will result in a -ENODEV.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Cc: Jack Steiner <steiner@sgi.com >
Cc: "Luck, Tony" <tony.luck@intel.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-07-30 09:41:50 -07:00
Dean Nelson
ea57f80c8c
sgi-xp: eliminate '>>>' in comments
...
Comments in /drivers/misc/sgi-xp has been using '>>>' as a means to draw
attention to something that needs to be done or considered. To avoid
colliding with git rejects, '>>>' will now be replaced by '!!!' to
indicate something to do, and by '???' to indicate something to be
considered.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-07-30 09:41:50 -07:00
Dean Nelson
7fb5e59d63
sgi-xp: separate chctl_flags from XPC's notify IRQ
...
Tie current IPI references to either XPC's notify IRQ or channel control
flags.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-07-30 09:41:49 -07:00
Dean Nelson
a47d5dac9d
sgi-xp: isolate additional sn2 specific code
...
Move additional sn2 specific code into xpc_sn2.c.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-07-30 09:41:49 -07:00
Dean Nelson
33ba3c7724
sgi-xp: isolate xpc_vars structure to sn2 only
...
Isolate the xpc_vars structure of XPC's reserved page to sn2 only.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-07-30 09:41:49 -07:00
Dean Nelson
e17d416b1b
sgi-xp: isolate xpc_vars_part structure to sn2 only
...
Isolate the xpc_vars_part structure of XPC's reserved page to sn2 only.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-07-30 09:41:49 -07:00
Dean Nelson
94bd2708d4
sgi-xp: prepare xpc_rsvd_page to work on either sn2 or uv hardware
...
Prepare XPC's reserved page header to work for either sn2 or uv.
Signed-off-by: Dean Nelson <dcn@sgi.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-07-30 09:41:49 -07:00