aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/sgi-xp
AgeCommit message (Collapse)AuthorFilesLines
2008-07-30sgi-xp: isolate remote copy buffer to sn2 onlyDean Nelson5-102/+97
Make the remote copy buffer an sn2 only item. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: enable XPNET to handle more than 64 partitionsDean Nelson1-119/+94
Enable XPNET to support more than 64 partitions. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: isolate allocation of XPC's msgqueues to sn2 onlyDean Nelson4-203/+204
Move the allocation of XPC's msgqueues to xpc_sn2.c. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: replace AMO_t typedef by struct amoDean Nelson4-88/+93
Replace the AMO_t typedef by a direct reference to 'struct amo'. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: separate chctl_flags from XPC's notify IRQDean Nelson5-302/+327
Tie current IPI references to either XPC's notify IRQ or channel control flags. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: isolate additional sn2 specific codeDean Nelson6-806/+784
Move additional sn2 specific code into xpc_sn2.c. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: isolate activate IRQ's hardware specific componentsDean Nelson4-219/+229
Isolate architecture specific code related to XPC's activate IRQ. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: move xpc_allocate() into xpc_send()/xpc_send_notify()Dean Nelson7-171/+106
Move xpc_allocate() functionality into xpc_send()/xpc_send_notify() so xpc_allocate() no longer needs to be called by XPNET. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: base xpc_rsvd_page's timestamp on jiffiesDean Nelson4-57/+34
Change XPC's reserved page timestamp to be based on jiffies. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: isolate xpc_vars structure to sn2 onlyDean Nelson6-1255/+1433
Isolate the xpc_vars structure of XPC's reserved page to sn2 only. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: isolate xpc_vars_part structure to sn2 onlyDean Nelson6-629/+644
Isolate the xpc_vars_part structure of XPC's reserved page to sn2 only. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: prepare xpc_rsvd_page to work on either sn2 or uv hardwareDean Nelson7-133/+267
Prepare XPC's reserved page header to work for either sn2 or uv. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: create a common xp_remote_memcpy() functionDean Nelson8-106/+107
Create a common remote memcpy function that maps to what the hardware booted supports. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: support runtime selection of xp_max_npartitionsDean Nelson10-151/+266
Support runtime selection of the max number of partitions based on the hardware being run on. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: define BYTES_PER_WORDDean Nelson1-0/+3
Add a BYTES_PER_WORD #define. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: define xpSalError reason codeDean Nelson1-1/+2
Define xpSalError reason code. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-30sgi-xp: define is_shub() and is_uv() macrosDean Nelson1-0/+16
Define the is_shub()/is_uv() macros if they've not already been defined. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-07-26cpumask: change cpumask_of_cpu_ptr to use new cpumask_of_cpuMike Travis1-2/+1
* Replace previous instances of the cpumask_of_cpu_ptr* macros with a the new (lvalue capable) generic cpumask_of_cpu(). Signed-off-by: Mike Travis <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Jack Steiner <[email protected]> Cc: Rusty Russell <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2008-07-18cpumask: Optimize cpumask_of_cpu in drivers/misc/sgi-xp/xpc_main.cMike Travis1-1/+2
* Optimize various places where a pointer to the cpumask_of_cpu value will result in reducing stack pressure. Signed-off-by: Mike Travis <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2008-05-13drivers/misc/sgi-xp: replace partid_t with a shortDean Nelson7-69/+69
In preparation for supporting greater than 64 partitions replace partid_t by short in drivers/misc/sgi-xp. Signed-off-by: Dean Nelson <[email protected]> Acked-by: Robin Holt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-13drivers/misc/sgi-xp: clean up return valuesDean Nelson7-401/+291
Make XP return values more generic to XP and not so tied to XPC by changing enum xpc_retval to xp_retval, along with changing return value prefixes from xpc to xp. Also, cleanup a comment block that referenced some of these return values as well as the handling of BTE related return values. Signed-off-by: Dean Nelson <[email protected]> Acked-by: Robin Holt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-04-29[IA64] allocate multiple contiguous pages via uncached allocatorDean Nelson1-2/+2
Enable the uncached allocator to allocate multiple pages of contiguous uncached memory. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Tony Luck <[email protected]>
2008-04-22[IA64] run drivers/misc/sgi-xp through scripts/checkpatch.plDean Nelson7-391/+268
Addressed issues raised by scripts/checkpatch.pl. Removed unnecessary curly braces. Eliminated uses of volatiles and use of kernel_thread() and daemonize(). Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Tony Luck <[email protected]>
2008-04-22[IA64] run rest drivers/misc/sgi-xp through scripts/LindentDean Nelson3-506/+322
Ran patches through scripts/Lindent (part 2). Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Tony Luck <[email protected]>
2008-04-22[IA64] run some drivers/misc/sgi-xp through scripts/LindentDean Nelson5-553/+396
Ran patches through scripts/Lindent (part 1). Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Tony Luck <[email protected]>
2008-04-22[IA64] move XP and XPC to drivers/misc/sgi-xpDean Nelson9-0/+7856
Move XPC and XPNET from arch/ia64/sn/kernel to drivers/misc/sgi-xp. Signed-off-by: Dean Nelson <[email protected]> Signed-off-by: Tony Luck <[email protected]>