diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-06-18 08:15:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 06:23:25 -0400 |
commit | dc163a41ffba22a6ef70b51e7ddf68aa13b4b414 (patch) | |
tree | ec70a09841104730a130577e069c21c4f16b38ef /include/asm-x86/uv | |
parent | b194b120507276b4f09e2e14f941884e777fc7c8 (diff) |
SGI UV: TLB shootdown using broadcast assist unit
TLB shootdown for SGI UV.
v5: 6/12 corrections/improvements per Ingo's second review
Signed-off-by: Cliff Wickman <cpw@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/uv')
-rw-r--r-- | include/asm-x86/uv/uv_bau.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/include/asm-x86/uv/uv_bau.h b/include/asm-x86/uv/uv_bau.h index e52fec822667..91ac0dfb7588 100644 --- a/include/asm-x86/uv/uv_bau.h +++ b/include/asm-x86/uv/uv_bau.h | |||
@@ -54,25 +54,25 @@ | |||
54 | /* | 54 | /* |
55 | * bits in UVH_LB_BAU_SB_ACTIVATION_STATUS_0/1 | 55 | * bits in UVH_LB_BAU_SB_ACTIVATION_STATUS_0/1 |
56 | */ | 56 | */ |
57 | #define DESC_STATUS_IDLE 0 | 57 | #define DESC_STATUS_IDLE 0 |
58 | #define DESC_STATUS_ACTIVE 1 | 58 | #define DESC_STATUS_ACTIVE 1 |
59 | #define DESC_STATUS_DESTINATION_TIMEOUT 2 | 59 | #define DESC_STATUS_DESTINATION_TIMEOUT 2 |
60 | #define DESC_STATUS_SOURCE_TIMEOUT 3 | 60 | #define DESC_STATUS_SOURCE_TIMEOUT 3 |
61 | 61 | ||
62 | /* | 62 | /* |
63 | * source side threshholds at which message retries print a warning | 63 | * source side threshholds at which message retries print a warning |
64 | */ | 64 | */ |
65 | #define SOURCE_TIMEOUT_LIMIT 20 | 65 | #define SOURCE_TIMEOUT_LIMIT 20 |
66 | #define DESTINATION_TIMEOUT_LIMIT 20 | 66 | #define DESTINATION_TIMEOUT_LIMIT 20 |
67 | 67 | ||
68 | /* | 68 | /* |
69 | * number of entries in the destination side payload queue | 69 | * number of entries in the destination side payload queue |
70 | */ | 70 | */ |
71 | #define DESTINATION_PAYLOAD_QUEUE_SIZE 17 | 71 | #define DEST_Q_SIZE 17 |
72 | /* | 72 | /* |
73 | * number of destination side software ack resources | 73 | * number of destination side software ack resources |
74 | */ | 74 | */ |
75 | #define DESTINATION_NUM_RESOURCES 8 | 75 | #define DEST_NUM_RESOURCES 8 |
76 | #define MAX_CPUS_PER_NODE 32 | 76 | #define MAX_CPUS_PER_NODE 32 |
77 | /* | 77 | /* |
78 | * completion statuses for sending a TLB flush message | 78 | * completion statuses for sending a TLB flush message |
@@ -197,10 +197,11 @@ struct bau_msg_header { | |||
197 | }; | 197 | }; |
198 | 198 | ||
199 | /* | 199 | /* |
200 | * The activation descriptor: | ||
200 | * The format of the message to send, plus all accompanying control | 201 | * The format of the message to send, plus all accompanying control |
201 | * Should be 64 bytes | 202 | * Should be 64 bytes |
202 | */ | 203 | */ |
203 | struct bau_activation_descriptor { | 204 | struct bau_desc { |
204 | struct bau_target_nodemask distribution; | 205 | struct bau_target_nodemask distribution; |
205 | /* | 206 | /* |
206 | * message template, consisting of header and payload: | 207 | * message template, consisting of header and payload: |
@@ -281,7 +282,7 @@ struct bau_sw_ack_status { | |||
281 | * one on every node and per-cpu; to locate the software tables | 282 | * one on every node and per-cpu; to locate the software tables |
282 | */ | 283 | */ |
283 | struct bau_control { | 284 | struct bau_control { |
284 | struct bau_activation_descriptor *descriptor_base; | 285 | struct bau_desc *descriptor_base; |
285 | struct bau_payload_queue_entry *bau_msg_head; | 286 | struct bau_payload_queue_entry *bau_msg_head; |
286 | struct bau_payload_queue_entry *va_queue_first; | 287 | struct bau_payload_queue_entry *va_queue_first; |
287 | struct bau_payload_queue_entry *va_queue_last; | 288 | struct bau_payload_queue_entry *va_queue_last; |