aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-xp/xpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/sgi-xp/xpc.h')
-rw-r--r--drivers/misc/sgi-xp/xpc.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/misc/sgi-xp/xpc.h b/drivers/misc/sgi-xp/xpc.h
index 26a1725f68ad..da2680892dfa 100644
--- a/drivers/misc/sgi-xp/xpc.h
+++ b/drivers/misc/sgi-xp/xpc.h
@@ -38,8 +38,8 @@
38/* 38/*
39 * The next macros define word or bit representations for given 39 * The next macros define word or bit representations for given
40 * C-brick nasid in either the SAL provided bit array representing 40 * C-brick nasid in either the SAL provided bit array representing
41 * nasids in the partition/machine or the AMO_t array used for 41 * nasids in the partition/machine or the array of amo structures used
42 * inter-partition initiation communications. 42 * for inter-partition initiation communications.
43 * 43 *
44 * For SN2 machines, C-Bricks are alway even numbered NASIDs. As 44 * For SN2 machines, C-Bricks are alway even numbered NASIDs. As
45 * such, some space will be saved by insisting that nasid information 45 * such, some space will be saved by insisting that nasid information
@@ -144,8 +144,8 @@ struct xpc_vars_sn2 {
144 int activate_IRQ_nasid; 144 int activate_IRQ_nasid;
145 int activate_IRQ_phys_cpuid; 145 int activate_IRQ_phys_cpuid;
146 u64 vars_part_pa; 146 u64 vars_part_pa;
147 u64 amos_page_pa; /* paddr of page of AMOs from MSPEC driver */ 147 u64 amos_page_pa; /* paddr of page of amos from MSPEC driver */
148 AMO_t *amos_page; /* vaddr of page of AMOs from MSPEC driver */ 148 struct amo *amos_page; /* vaddr of page of amos from MSPEC driver */
149}; 149};
150 150
151#define XPC_V_VERSION _XPC_VERSION(3, 1) /* version 3.1 of the cross vars */ 151#define XPC_V_VERSION _XPC_VERSION(3, 1) /* version 3.1 of the cross vars */
@@ -153,17 +153,17 @@ struct xpc_vars_sn2 {
153/* 153/*
154 * The following pertains to ia64-sn2 only. 154 * The following pertains to ia64-sn2 only.
155 * 155 *
156 * Memory for XPC's AMO variables is allocated by the MSPEC driver. These 156 * Memory for XPC's amo variables is allocated by the MSPEC driver. These
157 * pages are located in the lowest granule. The lowest granule uses 4k pages 157 * pages are located in the lowest granule. The lowest granule uses 4k pages
158 * for cached references and an alternate TLB handler to never provide a 158 * for cached references and an alternate TLB handler to never provide a
159 * cacheable mapping for the entire region. This will prevent speculative 159 * cacheable mapping for the entire region. This will prevent speculative
160 * reading of cached copies of our lines from being issued which will cause 160 * reading of cached copies of our lines from being issued which will cause
161 * a PI FSB Protocol error to be generated by the SHUB. For XPC, we need 64 161 * a PI FSB Protocol error to be generated by the SHUB. For XPC, we need 64
162 * AMO variables (based on XP_MAX_NPARTITIONS_SN2) to identify the senders of 162 * amo variables (based on XP_MAX_NPARTITIONS_SN2) to identify the senders of
163 * NOTIFY IRQs, 128 AMO variables (based on XP_NASID_MASK_WORDS) to identify 163 * NOTIFY IRQs, 128 amo variables (based on XP_NASID_MASK_WORDS) to identify
164 * the senders of ACTIVATE IRQs, 1 AMO variable to identify which remote 164 * the senders of ACTIVATE IRQs, 1 amo variable to identify which remote
165 * partitions (i.e., XPCs) consider themselves currently engaged with the 165 * partitions (i.e., XPCs) consider themselves currently engaged with the
166 * local XPC and 1 AMO variable to request partition deactivation. 166 * local XPC and 1 amo variable to request partition deactivation.
167 */ 167 */
168#define XPC_NOTIFY_IRQ_AMOS 0 168#define XPC_NOTIFY_IRQ_AMOS 0
169#define XPC_ACTIVATE_IRQ_AMOS (XPC_NOTIFY_IRQ_AMOS + XP_MAX_NPARTITIONS_SN2) 169#define XPC_ACTIVATE_IRQ_AMOS (XPC_NOTIFY_IRQ_AMOS + XP_MAX_NPARTITIONS_SN2)
@@ -186,7 +186,7 @@ struct xpc_vars_part_sn2 {
186 u64 openclose_args_pa; /* physical address of open and close args */ 186 u64 openclose_args_pa; /* physical address of open and close args */
187 u64 GPs_pa; /* physical address of Get/Put values */ 187 u64 GPs_pa; /* physical address of Get/Put values */
188 188
189 u64 chctl_amo_pa; /* physical address of chctl flags' AMO_t */ 189 u64 chctl_amo_pa; /* physical address of chctl flags' amo */
190 190
191 int notify_IRQ_nasid; /* nasid of where to send notify IRQs */ 191 int notify_IRQ_nasid; /* nasid of where to send notify IRQs */
192 int notify_IRQ_phys_cpuid; /* CPUID of where to send notify IRQs */ 192 int notify_IRQ_phys_cpuid; /* CPUID of where to send notify IRQs */
@@ -547,8 +547,8 @@ struct xpc_partition_sn2 {
547 int notify_IRQ_phys_cpuid; /* CPUID of where to send notify IRQs */ 547 int notify_IRQ_phys_cpuid; /* CPUID of where to send notify IRQs */
548 char notify_IRQ_owner[8]; /* notify IRQ's owner's name */ 548 char notify_IRQ_owner[8]; /* notify IRQ's owner's name */
549 549
550 AMO_t *remote_chctl_amo_va; /* address of remote chctl flags' AMO_t */ 550 struct amo *remote_chctl_amo_va; /* addr of remote chctl flags' amo */
551 AMO_t *local_chctl_amo_va; /* address of chctl flags' AMO_t */ 551 struct amo *local_chctl_amo_va; /* address of chctl flags' amo */
552 552
553 struct timer_list dropped_notify_IRQ_timer; /* dropped IRQ timer */ 553 struct timer_list dropped_notify_IRQ_timer; /* dropped IRQ timer */
554}; 554};