11 #ifndef _ASM_X86_UV_UV_MMRS_H
12 #define _ASM_X86_UV_UV_MMRS_H
56 #define UV_MMR_ENABLE (1UL << 63)
58 #define UV1_HUB_PART_NUMBER 0x88a5
59 #define UV2_HUB_PART_NUMBER 0x8eb8
60 #define UV2_HUB_PART_NUMBER_X 0x1111
63 #define UV2_HUB_IS_SUPPORTED 1
68 #define UVH_BAU_DATA_BROADCAST 0x61688UL
69 #define UVH_BAU_DATA_BROADCAST_32 0x440
71 #define UVH_BAU_DATA_BROADCAST_ENABLE_SHFT 0
72 #define UVH_BAU_DATA_BROADCAST_ENABLE_MASK 0x0000000000000001UL
85 #define UVH_BAU_DATA_CONFIG 0x61680UL
86 #define UVH_BAU_DATA_CONFIG_32 0x438
88 #define UVH_BAU_DATA_CONFIG_VECTOR_SHFT 0
89 #define UVH_BAU_DATA_CONFIG_DM_SHFT 8
90 #define UVH_BAU_DATA_CONFIG_DESTMODE_SHFT 11
91 #define UVH_BAU_DATA_CONFIG_STATUS_SHFT 12
92 #define UVH_BAU_DATA_CONFIG_P_SHFT 13
93 #define UVH_BAU_DATA_CONFIG_T_SHFT 15
94 #define UVH_BAU_DATA_CONFIG_M_SHFT 16
95 #define UVH_BAU_DATA_CONFIG_APIC_ID_SHFT 32
96 #define UVH_BAU_DATA_CONFIG_VECTOR_MASK 0x00000000000000ffUL
97 #define UVH_BAU_DATA_CONFIG_DM_MASK 0x0000000000000700UL
98 #define UVH_BAU_DATA_CONFIG_DESTMODE_MASK 0x0000000000000800UL
99 #define UVH_BAU_DATA_CONFIG_STATUS_MASK 0x0000000000001000UL
100 #define UVH_BAU_DATA_CONFIG_P_MASK 0x0000000000002000UL
101 #define UVH_BAU_DATA_CONFIG_T_MASK 0x0000000000008000UL
102 #define UVH_BAU_DATA_CONFIG_M_MASK 0x0000000000010000UL
103 #define UVH_BAU_DATA_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
107 struct uvh_bau_data_config_s {
124 #define UVH_EVENT_OCCURRED0 0x70000UL
125 #define UVH_EVENT_OCCURRED0_32 0x5e8
127 #define UV1H_EVENT_OCCURRED0_LB_HCERR_SHFT 0
128 #define UV1H_EVENT_OCCURRED0_GR0_HCERR_SHFT 1
129 #define UV1H_EVENT_OCCURRED0_GR1_HCERR_SHFT 2
130 #define UV1H_EVENT_OCCURRED0_LH_HCERR_SHFT 3
131 #define UV1H_EVENT_OCCURRED0_RH_HCERR_SHFT 4
132 #define UV1H_EVENT_OCCURRED0_XN_HCERR_SHFT 5
133 #define UV1H_EVENT_OCCURRED0_SI_HCERR_SHFT 6
134 #define UV1H_EVENT_OCCURRED0_LB_AOERR0_SHFT 7
135 #define UV1H_EVENT_OCCURRED0_GR0_AOERR0_SHFT 8
136 #define UV1H_EVENT_OCCURRED0_GR1_AOERR0_SHFT 9
137 #define UV1H_EVENT_OCCURRED0_LH_AOERR0_SHFT 10
138 #define UV1H_EVENT_OCCURRED0_RH_AOERR0_SHFT 11
139 #define UV1H_EVENT_OCCURRED0_XN_AOERR0_SHFT 12
140 #define UV1H_EVENT_OCCURRED0_SI_AOERR0_SHFT 13
141 #define UV1H_EVENT_OCCURRED0_LB_AOERR1_SHFT 14
142 #define UV1H_EVENT_OCCURRED0_GR0_AOERR1_SHFT 15
143 #define UV1H_EVENT_OCCURRED0_GR1_AOERR1_SHFT 16
144 #define UV1H_EVENT_OCCURRED0_LH_AOERR1_SHFT 17
145 #define UV1H_EVENT_OCCURRED0_RH_AOERR1_SHFT 18
146 #define UV1H_EVENT_OCCURRED0_XN_AOERR1_SHFT 19
147 #define UV1H_EVENT_OCCURRED0_SI_AOERR1_SHFT 20
148 #define UV1H_EVENT_OCCURRED0_RH_VPI_INT_SHFT 21
149 #define UV1H_EVENT_OCCURRED0_SYSTEM_SHUTDOWN_INT_SHFT 22
150 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_0_SHFT 23
151 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_1_SHFT 24
152 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_2_SHFT 25
153 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_3_SHFT 26
154 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_4_SHFT 27
155 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_5_SHFT 28
156 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_6_SHFT 29
157 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_7_SHFT 30
158 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_8_SHFT 31
159 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_9_SHFT 32
160 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_10_SHFT 33
161 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_11_SHFT 34
162 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_12_SHFT 35
163 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_13_SHFT 36
164 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_14_SHFT 37
165 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_15_SHFT 38
166 #define UV1H_EVENT_OCCURRED0_L1_NMI_INT_SHFT 39
167 #define UV1H_EVENT_OCCURRED0_STOP_CLOCK_SHFT 40
168 #define UV1H_EVENT_OCCURRED0_ASIC_TO_L1_SHFT 41
169 #define UV1H_EVENT_OCCURRED0_L1_TO_ASIC_SHFT 42
170 #define UV1H_EVENT_OCCURRED0_LTC_INT_SHFT 43
171 #define UV1H_EVENT_OCCURRED0_LA_SEQ_TRIGGER_SHFT 44
172 #define UV1H_EVENT_OCCURRED0_IPI_INT_SHFT 45
173 #define UV1H_EVENT_OCCURRED0_EXTIO_INT0_SHFT 46
174 #define UV1H_EVENT_OCCURRED0_EXTIO_INT1_SHFT 47
175 #define UV1H_EVENT_OCCURRED0_EXTIO_INT2_SHFT 48
176 #define UV1H_EVENT_OCCURRED0_EXTIO_INT3_SHFT 49
177 #define UV1H_EVENT_OCCURRED0_PROFILE_INT_SHFT 50
178 #define UV1H_EVENT_OCCURRED0_RTC0_SHFT 51
179 #define UV1H_EVENT_OCCURRED0_RTC1_SHFT 52
180 #define UV1H_EVENT_OCCURRED0_RTC2_SHFT 53
181 #define UV1H_EVENT_OCCURRED0_RTC3_SHFT 54
182 #define UV1H_EVENT_OCCURRED0_BAU_DATA_SHFT 55
183 #define UV1H_EVENT_OCCURRED0_POWER_MANAGEMENT_REQ_SHFT 56
184 #define UV1H_EVENT_OCCURRED0_LB_HCERR_MASK 0x0000000000000001UL
185 #define UV1H_EVENT_OCCURRED0_GR0_HCERR_MASK 0x0000000000000002UL
186 #define UV1H_EVENT_OCCURRED0_GR1_HCERR_MASK 0x0000000000000004UL
187 #define UV1H_EVENT_OCCURRED0_LH_HCERR_MASK 0x0000000000000008UL
188 #define UV1H_EVENT_OCCURRED0_RH_HCERR_MASK 0x0000000000000010UL
189 #define UV1H_EVENT_OCCURRED0_XN_HCERR_MASK 0x0000000000000020UL
190 #define UV1H_EVENT_OCCURRED0_SI_HCERR_MASK 0x0000000000000040UL
191 #define UV1H_EVENT_OCCURRED0_LB_AOERR0_MASK 0x0000000000000080UL
192 #define UV1H_EVENT_OCCURRED0_GR0_AOERR0_MASK 0x0000000000000100UL
193 #define UV1H_EVENT_OCCURRED0_GR1_AOERR0_MASK 0x0000000000000200UL
194 #define UV1H_EVENT_OCCURRED0_LH_AOERR0_MASK 0x0000000000000400UL
195 #define UV1H_EVENT_OCCURRED0_RH_AOERR0_MASK 0x0000000000000800UL
196 #define UV1H_EVENT_OCCURRED0_XN_AOERR0_MASK 0x0000000000001000UL
197 #define UV1H_EVENT_OCCURRED0_SI_AOERR0_MASK 0x0000000000002000UL
198 #define UV1H_EVENT_OCCURRED0_LB_AOERR1_MASK 0x0000000000004000UL
199 #define UV1H_EVENT_OCCURRED0_GR0_AOERR1_MASK 0x0000000000008000UL
200 #define UV1H_EVENT_OCCURRED0_GR1_AOERR1_MASK 0x0000000000010000UL
201 #define UV1H_EVENT_OCCURRED0_LH_AOERR1_MASK 0x0000000000020000UL
202 #define UV1H_EVENT_OCCURRED0_RH_AOERR1_MASK 0x0000000000040000UL
203 #define UV1H_EVENT_OCCURRED0_XN_AOERR1_MASK 0x0000000000080000UL
204 #define UV1H_EVENT_OCCURRED0_SI_AOERR1_MASK 0x0000000000100000UL
205 #define UV1H_EVENT_OCCURRED0_RH_VPI_INT_MASK 0x0000000000200000UL
206 #define UV1H_EVENT_OCCURRED0_SYSTEM_SHUTDOWN_INT_MASK 0x0000000000400000UL
207 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_0_MASK 0x0000000000800000UL
208 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_1_MASK 0x0000000001000000UL
209 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_2_MASK 0x0000000002000000UL
210 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_3_MASK 0x0000000004000000UL
211 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_4_MASK 0x0000000008000000UL
212 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_5_MASK 0x0000000010000000UL
213 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_6_MASK 0x0000000020000000UL
214 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_7_MASK 0x0000000040000000UL
215 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_8_MASK 0x0000000080000000UL
216 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_9_MASK 0x0000000100000000UL
217 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_10_MASK 0x0000000200000000UL
218 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_11_MASK 0x0000000400000000UL
219 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_12_MASK 0x0000000800000000UL
220 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_13_MASK 0x0000001000000000UL
221 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_14_MASK 0x0000002000000000UL
222 #define UV1H_EVENT_OCCURRED0_LB_IRQ_INT_15_MASK 0x0000004000000000UL
223 #define UV1H_EVENT_OCCURRED0_L1_NMI_INT_MASK 0x0000008000000000UL
224 #define UV1H_EVENT_OCCURRED0_STOP_CLOCK_MASK 0x0000010000000000UL
225 #define UV1H_EVENT_OCCURRED0_ASIC_TO_L1_MASK 0x0000020000000000UL
226 #define UV1H_EVENT_OCCURRED0_L1_TO_ASIC_MASK 0x0000040000000000UL
227 #define UV1H_EVENT_OCCURRED0_LTC_INT_MASK 0x0000080000000000UL
228 #define UV1H_EVENT_OCCURRED0_LA_SEQ_TRIGGER_MASK 0x0000100000000000UL
229 #define UV1H_EVENT_OCCURRED0_IPI_INT_MASK 0x0000200000000000UL
230 #define UV1H_EVENT_OCCURRED0_EXTIO_INT0_MASK 0x0000400000000000UL
231 #define UV1H_EVENT_OCCURRED0_EXTIO_INT1_MASK 0x0000800000000000UL
232 #define UV1H_EVENT_OCCURRED0_EXTIO_INT2_MASK 0x0001000000000000UL
233 #define UV1H_EVENT_OCCURRED0_EXTIO_INT3_MASK 0x0002000000000000UL
234 #define UV1H_EVENT_OCCURRED0_PROFILE_INT_MASK 0x0004000000000000UL
235 #define UV1H_EVENT_OCCURRED0_RTC0_MASK 0x0008000000000000UL
236 #define UV1H_EVENT_OCCURRED0_RTC1_MASK 0x0010000000000000UL
237 #define UV1H_EVENT_OCCURRED0_RTC2_MASK 0x0020000000000000UL
238 #define UV1H_EVENT_OCCURRED0_RTC3_MASK 0x0040000000000000UL
239 #define UV1H_EVENT_OCCURRED0_BAU_DATA_MASK 0x0080000000000000UL
240 #define UV1H_EVENT_OCCURRED0_POWER_MANAGEMENT_REQ_MASK 0x0100000000000000UL
242 #define UV2H_EVENT_OCCURRED0_LB_HCERR_SHFT 0
243 #define UV2H_EVENT_OCCURRED0_QP_HCERR_SHFT 1
244 #define UV2H_EVENT_OCCURRED0_RH_HCERR_SHFT 2
245 #define UV2H_EVENT_OCCURRED0_LH0_HCERR_SHFT 3
246 #define UV2H_EVENT_OCCURRED0_LH1_HCERR_SHFT 4
247 #define UV2H_EVENT_OCCURRED0_GR0_HCERR_SHFT 5
248 #define UV2H_EVENT_OCCURRED0_GR1_HCERR_SHFT 6
249 #define UV2H_EVENT_OCCURRED0_NI0_HCERR_SHFT 7
250 #define UV2H_EVENT_OCCURRED0_NI1_HCERR_SHFT 8
251 #define UV2H_EVENT_OCCURRED0_LB_AOERR0_SHFT 9
252 #define UV2H_EVENT_OCCURRED0_QP_AOERR0_SHFT 10
253 #define UV2H_EVENT_OCCURRED0_RH_AOERR0_SHFT 11
254 #define UV2H_EVENT_OCCURRED0_LH0_AOERR0_SHFT 12
255 #define UV2H_EVENT_OCCURRED0_LH1_AOERR0_SHFT 13
256 #define UV2H_EVENT_OCCURRED0_GR0_AOERR0_SHFT 14
257 #define UV2H_EVENT_OCCURRED0_GR1_AOERR0_SHFT 15
258 #define UV2H_EVENT_OCCURRED0_XB_AOERR0_SHFT 16
259 #define UV2H_EVENT_OCCURRED0_RT_AOERR0_SHFT 17
260 #define UV2H_EVENT_OCCURRED0_NI0_AOERR0_SHFT 18
261 #define UV2H_EVENT_OCCURRED0_NI1_AOERR0_SHFT 19
262 #define UV2H_EVENT_OCCURRED0_LB_AOERR1_SHFT 20
263 #define UV2H_EVENT_OCCURRED0_QP_AOERR1_SHFT 21
264 #define UV2H_EVENT_OCCURRED0_RH_AOERR1_SHFT 22
265 #define UV2H_EVENT_OCCURRED0_LH0_AOERR1_SHFT 23
266 #define UV2H_EVENT_OCCURRED0_LH1_AOERR1_SHFT 24
267 #define UV2H_EVENT_OCCURRED0_GR0_AOERR1_SHFT 25
268 #define UV2H_EVENT_OCCURRED0_GR1_AOERR1_SHFT 26
269 #define UV2H_EVENT_OCCURRED0_XB_AOERR1_SHFT 27
270 #define UV2H_EVENT_OCCURRED0_RT_AOERR1_SHFT 28
271 #define UV2H_EVENT_OCCURRED0_NI0_AOERR1_SHFT 29
272 #define UV2H_EVENT_OCCURRED0_NI1_AOERR1_SHFT 30
273 #define UV2H_EVENT_OCCURRED0_SYSTEM_SHUTDOWN_INT_SHFT 31
274 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_0_SHFT 32
275 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_1_SHFT 33
276 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_2_SHFT 34
277 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_3_SHFT 35
278 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_4_SHFT 36
279 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_5_SHFT 37
280 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_6_SHFT 38
281 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_7_SHFT 39
282 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_8_SHFT 40
283 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_9_SHFT 41
284 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_10_SHFT 42
285 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_11_SHFT 43
286 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_12_SHFT 44
287 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_13_SHFT 45
288 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_14_SHFT 46
289 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_15_SHFT 47
290 #define UV2H_EVENT_OCCURRED0_L1_NMI_INT_SHFT 48
291 #define UV2H_EVENT_OCCURRED0_STOP_CLOCK_SHFT 49
292 #define UV2H_EVENT_OCCURRED0_ASIC_TO_L1_SHFT 50
293 #define UV2H_EVENT_OCCURRED0_L1_TO_ASIC_SHFT 51
294 #define UV2H_EVENT_OCCURRED0_LA_SEQ_TRIGGER_SHFT 52
295 #define UV2H_EVENT_OCCURRED0_IPI_INT_SHFT 53
296 #define UV2H_EVENT_OCCURRED0_EXTIO_INT0_SHFT 54
297 #define UV2H_EVENT_OCCURRED0_EXTIO_INT1_SHFT 55
298 #define UV2H_EVENT_OCCURRED0_EXTIO_INT2_SHFT 56
299 #define UV2H_EVENT_OCCURRED0_EXTIO_INT3_SHFT 57
300 #define UV2H_EVENT_OCCURRED0_PROFILE_INT_SHFT 58
301 #define UV2H_EVENT_OCCURRED0_LB_HCERR_MASK 0x0000000000000001UL
302 #define UV2H_EVENT_OCCURRED0_QP_HCERR_MASK 0x0000000000000002UL
303 #define UV2H_EVENT_OCCURRED0_RH_HCERR_MASK 0x0000000000000004UL
304 #define UV2H_EVENT_OCCURRED0_LH0_HCERR_MASK 0x0000000000000008UL
305 #define UV2H_EVENT_OCCURRED0_LH1_HCERR_MASK 0x0000000000000010UL
306 #define UV2H_EVENT_OCCURRED0_GR0_HCERR_MASK 0x0000000000000020UL
307 #define UV2H_EVENT_OCCURRED0_GR1_HCERR_MASK 0x0000000000000040UL
308 #define UV2H_EVENT_OCCURRED0_NI0_HCERR_MASK 0x0000000000000080UL
309 #define UV2H_EVENT_OCCURRED0_NI1_HCERR_MASK 0x0000000000000100UL
310 #define UV2H_EVENT_OCCURRED0_LB_AOERR0_MASK 0x0000000000000200UL
311 #define UV2H_EVENT_OCCURRED0_QP_AOERR0_MASK 0x0000000000000400UL
312 #define UV2H_EVENT_OCCURRED0_RH_AOERR0_MASK 0x0000000000000800UL
313 #define UV2H_EVENT_OCCURRED0_LH0_AOERR0_MASK 0x0000000000001000UL
314 #define UV2H_EVENT_OCCURRED0_LH1_AOERR0_MASK 0x0000000000002000UL
315 #define UV2H_EVENT_OCCURRED0_GR0_AOERR0_MASK 0x0000000000004000UL
316 #define UV2H_EVENT_OCCURRED0_GR1_AOERR0_MASK 0x0000000000008000UL
317 #define UV2H_EVENT_OCCURRED0_XB_AOERR0_MASK 0x0000000000010000UL
318 #define UV2H_EVENT_OCCURRED0_RT_AOERR0_MASK 0x0000000000020000UL
319 #define UV2H_EVENT_OCCURRED0_NI0_AOERR0_MASK 0x0000000000040000UL
320 #define UV2H_EVENT_OCCURRED0_NI1_AOERR0_MASK 0x0000000000080000UL
321 #define UV2H_EVENT_OCCURRED0_LB_AOERR1_MASK 0x0000000000100000UL
322 #define UV2H_EVENT_OCCURRED0_QP_AOERR1_MASK 0x0000000000200000UL
323 #define UV2H_EVENT_OCCURRED0_RH_AOERR1_MASK 0x0000000000400000UL
324 #define UV2H_EVENT_OCCURRED0_LH0_AOERR1_MASK 0x0000000000800000UL
325 #define UV2H_EVENT_OCCURRED0_LH1_AOERR1_MASK 0x0000000001000000UL
326 #define UV2H_EVENT_OCCURRED0_GR0_AOERR1_MASK 0x0000000002000000UL
327 #define UV2H_EVENT_OCCURRED0_GR1_AOERR1_MASK 0x0000000004000000UL
328 #define UV2H_EVENT_OCCURRED0_XB_AOERR1_MASK 0x0000000008000000UL
329 #define UV2H_EVENT_OCCURRED0_RT_AOERR1_MASK 0x0000000010000000UL
330 #define UV2H_EVENT_OCCURRED0_NI0_AOERR1_MASK 0x0000000020000000UL
331 #define UV2H_EVENT_OCCURRED0_NI1_AOERR1_MASK 0x0000000040000000UL
332 #define UV2H_EVENT_OCCURRED0_SYSTEM_SHUTDOWN_INT_MASK 0x0000000080000000UL
333 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_0_MASK 0x0000000100000000UL
334 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_1_MASK 0x0000000200000000UL
335 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_2_MASK 0x0000000400000000UL
336 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_3_MASK 0x0000000800000000UL
337 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_4_MASK 0x0000001000000000UL
338 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_5_MASK 0x0000002000000000UL
339 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_6_MASK 0x0000004000000000UL
340 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_7_MASK 0x0000008000000000UL
341 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_8_MASK 0x0000010000000000UL
342 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_9_MASK 0x0000020000000000UL
343 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_10_MASK 0x0000040000000000UL
344 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_11_MASK 0x0000080000000000UL
345 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_12_MASK 0x0000100000000000UL
346 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_13_MASK 0x0000200000000000UL
347 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_14_MASK 0x0000400000000000UL
348 #define UV2H_EVENT_OCCURRED0_LB_IRQ_INT_15_MASK 0x0000800000000000UL
349 #define UV2H_EVENT_OCCURRED0_L1_NMI_INT_MASK 0x0001000000000000UL
350 #define UV2H_EVENT_OCCURRED0_STOP_CLOCK_MASK 0x0002000000000000UL
351 #define UV2H_EVENT_OCCURRED0_ASIC_TO_L1_MASK 0x0004000000000000UL
352 #define UV2H_EVENT_OCCURRED0_L1_TO_ASIC_MASK 0x0008000000000000UL
353 #define UV2H_EVENT_OCCURRED0_LA_SEQ_TRIGGER_MASK 0x0010000000000000UL
354 #define UV2H_EVENT_OCCURRED0_IPI_INT_MASK 0x0020000000000000UL
355 #define UV2H_EVENT_OCCURRED0_EXTIO_INT0_MASK 0x0040000000000000UL
356 #define UV2H_EVENT_OCCURRED0_EXTIO_INT1_MASK 0x0080000000000000UL
357 #define UV2H_EVENT_OCCURRED0_EXTIO_INT2_MASK 0x0100000000000000UL
358 #define UV2H_EVENT_OCCURRED0_EXTIO_INT3_MASK 0x0200000000000000UL
359 #define UV2H_EVENT_OCCURRED0_PROFILE_INT_MASK 0x0400000000000000UL
490 #define UVH_EVENT_OCCURRED0_ALIAS 0x0000000000070008UL
491 #define UVH_EVENT_OCCURRED0_ALIAS_32 0x5f0
496 #define UVH_GR0_TLB_INT0_CONFIG 0x61b00UL
498 #define UVH_GR0_TLB_INT0_CONFIG_VECTOR_SHFT 0
499 #define UVH_GR0_TLB_INT0_CONFIG_DM_SHFT 8
500 #define UVH_GR0_TLB_INT0_CONFIG_DESTMODE_SHFT 11
501 #define UVH_GR0_TLB_INT0_CONFIG_STATUS_SHFT 12
502 #define UVH_GR0_TLB_INT0_CONFIG_P_SHFT 13
503 #define UVH_GR0_TLB_INT0_CONFIG_T_SHFT 15
504 #define UVH_GR0_TLB_INT0_CONFIG_M_SHFT 16
505 #define UVH_GR0_TLB_INT0_CONFIG_APIC_ID_SHFT 32
506 #define UVH_GR0_TLB_INT0_CONFIG_VECTOR_MASK 0x00000000000000ffUL
507 #define UVH_GR0_TLB_INT0_CONFIG_DM_MASK 0x0000000000000700UL
508 #define UVH_GR0_TLB_INT0_CONFIG_DESTMODE_MASK 0x0000000000000800UL
509 #define UVH_GR0_TLB_INT0_CONFIG_STATUS_MASK 0x0000000000001000UL
510 #define UVH_GR0_TLB_INT0_CONFIG_P_MASK 0x0000000000002000UL
511 #define UVH_GR0_TLB_INT0_CONFIG_T_MASK 0x0000000000008000UL
512 #define UVH_GR0_TLB_INT0_CONFIG_M_MASK 0x0000000000010000UL
513 #define UVH_GR0_TLB_INT0_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
517 struct uvh_gr0_tlb_int0_config_s {
534 #define UVH_GR0_TLB_INT1_CONFIG 0x61b40UL
536 #define UVH_GR0_TLB_INT1_CONFIG_VECTOR_SHFT 0
537 #define UVH_GR0_TLB_INT1_CONFIG_DM_SHFT 8
538 #define UVH_GR0_TLB_INT1_CONFIG_DESTMODE_SHFT 11
539 #define UVH_GR0_TLB_INT1_CONFIG_STATUS_SHFT 12
540 #define UVH_GR0_TLB_INT1_CONFIG_P_SHFT 13
541 #define UVH_GR0_TLB_INT1_CONFIG_T_SHFT 15
542 #define UVH_GR0_TLB_INT1_CONFIG_M_SHFT 16
543 #define UVH_GR0_TLB_INT1_CONFIG_APIC_ID_SHFT 32
544 #define UVH_GR0_TLB_INT1_CONFIG_VECTOR_MASK 0x00000000000000ffUL
545 #define UVH_GR0_TLB_INT1_CONFIG_DM_MASK 0x0000000000000700UL
546 #define UVH_GR0_TLB_INT1_CONFIG_DESTMODE_MASK 0x0000000000000800UL
547 #define UVH_GR0_TLB_INT1_CONFIG_STATUS_MASK 0x0000000000001000UL
548 #define UVH_GR0_TLB_INT1_CONFIG_P_MASK 0x0000000000002000UL
549 #define UVH_GR0_TLB_INT1_CONFIG_T_MASK 0x0000000000008000UL
550 #define UVH_GR0_TLB_INT1_CONFIG_M_MASK 0x0000000000010000UL
551 #define UVH_GR0_TLB_INT1_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
555 struct uvh_gr0_tlb_int1_config_s {
572 #define UV1H_GR0_TLB_MMR_CONTROL 0x401080UL
573 #define UV2H_GR0_TLB_MMR_CONTROL 0xc01080UL
574 #define UVH_GR0_TLB_MMR_CONTROL (is_uv1_hub() ? \
575 UV1H_GR0_TLB_MMR_CONTROL : \
576 UV2H_GR0_TLB_MMR_CONTROL)
578 #define UVH_GR0_TLB_MMR_CONTROL_INDEX_SHFT 0
579 #define UVH_GR0_TLB_MMR_CONTROL_MEM_SEL_SHFT 12
580 #define UVH_GR0_TLB_MMR_CONTROL_AUTO_VALID_EN_SHFT 16
581 #define UVH_GR0_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_SHFT 20
582 #define UVH_GR0_TLB_MMR_CONTROL_MMR_WRITE_SHFT 30
583 #define UVH_GR0_TLB_MMR_CONTROL_MMR_READ_SHFT 31
584 #define UVH_GR0_TLB_MMR_CONTROL_INDEX_MASK 0x0000000000000fffUL
585 #define UVH_GR0_TLB_MMR_CONTROL_MEM_SEL_MASK 0x0000000000003000UL
586 #define UVH_GR0_TLB_MMR_CONTROL_AUTO_VALID_EN_MASK 0x0000000000010000UL
587 #define UVH_GR0_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_MASK 0x0000000000100000UL
588 #define UVH_GR0_TLB_MMR_CONTROL_MMR_WRITE_MASK 0x0000000040000000UL
589 #define UVH_GR0_TLB_MMR_CONTROL_MMR_READ_MASK 0x0000000080000000UL
591 #define UV1H_GR0_TLB_MMR_CONTROL_INDEX_SHFT 0
592 #define UV1H_GR0_TLB_MMR_CONTROL_MEM_SEL_SHFT 12
593 #define UV1H_GR0_TLB_MMR_CONTROL_AUTO_VALID_EN_SHFT 16
594 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_SHFT 20
595 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_WRITE_SHFT 30
596 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_READ_SHFT 31
597 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_INJ_CON_SHFT 48
598 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_INJ_TLBRAM_SHFT 52
599 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_INJ_TLBPGSIZE_SHFT 54
600 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_INJ_TLBRREG_SHFT 56
601 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_INJ_TLBLRUV_SHFT 60
602 #define UV1H_GR0_TLB_MMR_CONTROL_INDEX_MASK 0x0000000000000fffUL
603 #define UV1H_GR0_TLB_MMR_CONTROL_MEM_SEL_MASK 0x0000000000003000UL
604 #define UV1H_GR0_TLB_MMR_CONTROL_AUTO_VALID_EN_MASK 0x0000000000010000UL
605 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_MASK 0x0000000000100000UL
606 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_WRITE_MASK 0x0000000040000000UL
607 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_READ_MASK 0x0000000080000000UL
608 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_INJ_CON_MASK 0x0001000000000000UL
609 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_INJ_TLBRAM_MASK 0x0010000000000000UL
610 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_INJ_TLBPGSIZE_MASK 0x0040000000000000UL
611 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_INJ_TLBRREG_MASK 0x0100000000000000UL
612 #define UV1H_GR0_TLB_MMR_CONTROL_MMR_INJ_TLBLRUV_MASK 0x1000000000000000UL
614 #define UV2H_GR0_TLB_MMR_CONTROL_INDEX_SHFT 0
615 #define UV2H_GR0_TLB_MMR_CONTROL_MEM_SEL_SHFT 12
616 #define UV2H_GR0_TLB_MMR_CONTROL_AUTO_VALID_EN_SHFT 16
617 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_SHFT 20
618 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_WRITE_SHFT 30
619 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_READ_SHFT 31
620 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_OP_DONE_SHFT 32
621 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_INJ_CON_SHFT 48
622 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_INJ_TLBRAM_SHFT 52
623 #define UV2H_GR0_TLB_MMR_CONTROL_INDEX_MASK 0x0000000000000fffUL
624 #define UV2H_GR0_TLB_MMR_CONTROL_MEM_SEL_MASK 0x0000000000003000UL
625 #define UV2H_GR0_TLB_MMR_CONTROL_AUTO_VALID_EN_MASK 0x0000000000010000UL
626 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_MASK 0x0000000000100000UL
627 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_WRITE_MASK 0x0000000040000000UL
628 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_READ_MASK 0x0000000080000000UL
629 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_OP_DONE_MASK 0x0000000100000000UL
630 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_INJ_CON_MASK 0x0001000000000000UL
631 #define UV2H_GR0_TLB_MMR_CONTROL_MMR_INJ_TLBRAM_MASK 0x0010000000000000UL
691 #define UV1H_GR0_TLB_MMR_READ_DATA_HI 0x4010a0UL
692 #define UV2H_GR0_TLB_MMR_READ_DATA_HI 0xc010a0UL
693 #define UVH_GR0_TLB_MMR_READ_DATA_HI (is_uv1_hub() ? \
694 UV1H_GR0_TLB_MMR_READ_DATA_HI : \
695 UV2H_GR0_TLB_MMR_READ_DATA_HI)
697 #define UVH_GR0_TLB_MMR_READ_DATA_HI_PFN_SHFT 0
698 #define UVH_GR0_TLB_MMR_READ_DATA_HI_GAA_SHFT 41
699 #define UVH_GR0_TLB_MMR_READ_DATA_HI_DIRTY_SHFT 43
700 #define UVH_GR0_TLB_MMR_READ_DATA_HI_LARGER_SHFT 44
701 #define UVH_GR0_TLB_MMR_READ_DATA_HI_PFN_MASK 0x000001ffffffffffUL
702 #define UVH_GR0_TLB_MMR_READ_DATA_HI_GAA_MASK 0x0000060000000000UL
703 #define UVH_GR0_TLB_MMR_READ_DATA_HI_DIRTY_MASK 0x0000080000000000UL
704 #define UVH_GR0_TLB_MMR_READ_DATA_HI_LARGER_MASK 0x0000100000000000UL
720 #define UV1H_GR0_TLB_MMR_READ_DATA_LO 0x4010a8UL
721 #define UV2H_GR0_TLB_MMR_READ_DATA_LO 0xc010a8UL
722 #define UVH_GR0_TLB_MMR_READ_DATA_LO (is_uv1_hub() ? \
723 UV1H_GR0_TLB_MMR_READ_DATA_LO : \
724 UV2H_GR0_TLB_MMR_READ_DATA_LO)
726 #define UVH_GR0_TLB_MMR_READ_DATA_LO_VPN_SHFT 0
727 #define UVH_GR0_TLB_MMR_READ_DATA_LO_ASID_SHFT 39
728 #define UVH_GR0_TLB_MMR_READ_DATA_LO_VALID_SHFT 63
729 #define UVH_GR0_TLB_MMR_READ_DATA_LO_VPN_MASK 0x0000007fffffffffUL
730 #define UVH_GR0_TLB_MMR_READ_DATA_LO_ASID_MASK 0x7fffff8000000000UL
731 #define UVH_GR0_TLB_MMR_READ_DATA_LO_VALID_MASK 0x8000000000000000UL
745 #define UVH_GR1_TLB_INT0_CONFIG 0x61f00UL
747 #define UVH_GR1_TLB_INT0_CONFIG_VECTOR_SHFT 0
748 #define UVH_GR1_TLB_INT0_CONFIG_DM_SHFT 8
749 #define UVH_GR1_TLB_INT0_CONFIG_DESTMODE_SHFT 11
750 #define UVH_GR1_TLB_INT0_CONFIG_STATUS_SHFT 12
751 #define UVH_GR1_TLB_INT0_CONFIG_P_SHFT 13
752 #define UVH_GR1_TLB_INT0_CONFIG_T_SHFT 15
753 #define UVH_GR1_TLB_INT0_CONFIG_M_SHFT 16
754 #define UVH_GR1_TLB_INT0_CONFIG_APIC_ID_SHFT 32
755 #define UVH_GR1_TLB_INT0_CONFIG_VECTOR_MASK 0x00000000000000ffUL
756 #define UVH_GR1_TLB_INT0_CONFIG_DM_MASK 0x0000000000000700UL
757 #define UVH_GR1_TLB_INT0_CONFIG_DESTMODE_MASK 0x0000000000000800UL
758 #define UVH_GR1_TLB_INT0_CONFIG_STATUS_MASK 0x0000000000001000UL
759 #define UVH_GR1_TLB_INT0_CONFIG_P_MASK 0x0000000000002000UL
760 #define UVH_GR1_TLB_INT0_CONFIG_T_MASK 0x0000000000008000UL
761 #define UVH_GR1_TLB_INT0_CONFIG_M_MASK 0x0000000000010000UL
762 #define UVH_GR1_TLB_INT0_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
766 struct uvh_gr1_tlb_int0_config_s {
783 #define UVH_GR1_TLB_INT1_CONFIG 0x61f40UL
785 #define UVH_GR1_TLB_INT1_CONFIG_VECTOR_SHFT 0
786 #define UVH_GR1_TLB_INT1_CONFIG_DM_SHFT 8
787 #define UVH_GR1_TLB_INT1_CONFIG_DESTMODE_SHFT 11
788 #define UVH_GR1_TLB_INT1_CONFIG_STATUS_SHFT 12
789 #define UVH_GR1_TLB_INT1_CONFIG_P_SHFT 13
790 #define UVH_GR1_TLB_INT1_CONFIG_T_SHFT 15
791 #define UVH_GR1_TLB_INT1_CONFIG_M_SHFT 16
792 #define UVH_GR1_TLB_INT1_CONFIG_APIC_ID_SHFT 32
793 #define UVH_GR1_TLB_INT1_CONFIG_VECTOR_MASK 0x00000000000000ffUL
794 #define UVH_GR1_TLB_INT1_CONFIG_DM_MASK 0x0000000000000700UL
795 #define UVH_GR1_TLB_INT1_CONFIG_DESTMODE_MASK 0x0000000000000800UL
796 #define UVH_GR1_TLB_INT1_CONFIG_STATUS_MASK 0x0000000000001000UL
797 #define UVH_GR1_TLB_INT1_CONFIG_P_MASK 0x0000000000002000UL
798 #define UVH_GR1_TLB_INT1_CONFIG_T_MASK 0x0000000000008000UL
799 #define UVH_GR1_TLB_INT1_CONFIG_M_MASK 0x0000000000010000UL
800 #define UVH_GR1_TLB_INT1_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
804 struct uvh_gr1_tlb_int1_config_s {
821 #define UV1H_GR1_TLB_MMR_CONTROL 0x801080UL
822 #define UV2H_GR1_TLB_MMR_CONTROL 0x1001080UL
823 #define UVH_GR1_TLB_MMR_CONTROL (is_uv1_hub() ? \
824 UV1H_GR1_TLB_MMR_CONTROL : \
825 UV2H_GR1_TLB_MMR_CONTROL)
827 #define UVH_GR1_TLB_MMR_CONTROL_INDEX_SHFT 0
828 #define UVH_GR1_TLB_MMR_CONTROL_MEM_SEL_SHFT 12
829 #define UVH_GR1_TLB_MMR_CONTROL_AUTO_VALID_EN_SHFT 16
830 #define UVH_GR1_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_SHFT 20
831 #define UVH_GR1_TLB_MMR_CONTROL_MMR_WRITE_SHFT 30
832 #define UVH_GR1_TLB_MMR_CONTROL_MMR_READ_SHFT 31
833 #define UVH_GR1_TLB_MMR_CONTROL_INDEX_MASK 0x0000000000000fffUL
834 #define UVH_GR1_TLB_MMR_CONTROL_MEM_SEL_MASK 0x0000000000003000UL
835 #define UVH_GR1_TLB_MMR_CONTROL_AUTO_VALID_EN_MASK 0x0000000000010000UL
836 #define UVH_GR1_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_MASK 0x0000000000100000UL
837 #define UVH_GR1_TLB_MMR_CONTROL_MMR_WRITE_MASK 0x0000000040000000UL
838 #define UVH_GR1_TLB_MMR_CONTROL_MMR_READ_MASK 0x0000000080000000UL
840 #define UV1H_GR1_TLB_MMR_CONTROL_INDEX_SHFT 0
841 #define UV1H_GR1_TLB_MMR_CONTROL_MEM_SEL_SHFT 12
842 #define UV1H_GR1_TLB_MMR_CONTROL_AUTO_VALID_EN_SHFT 16
843 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_SHFT 20
844 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_WRITE_SHFT 30
845 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_READ_SHFT 31
846 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_INJ_CON_SHFT 48
847 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_INJ_TLBRAM_SHFT 52
848 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_INJ_TLBPGSIZE_SHFT 54
849 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_INJ_TLBRREG_SHFT 56
850 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_INJ_TLBLRUV_SHFT 60
851 #define UV1H_GR1_TLB_MMR_CONTROL_INDEX_MASK 0x0000000000000fffUL
852 #define UV1H_GR1_TLB_MMR_CONTROL_MEM_SEL_MASK 0x0000000000003000UL
853 #define UV1H_GR1_TLB_MMR_CONTROL_AUTO_VALID_EN_MASK 0x0000000000010000UL
854 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_MASK 0x0000000000100000UL
855 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_WRITE_MASK 0x0000000040000000UL
856 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_READ_MASK 0x0000000080000000UL
857 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_INJ_CON_MASK 0x0001000000000000UL
858 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_INJ_TLBRAM_MASK 0x0010000000000000UL
859 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_INJ_TLBPGSIZE_MASK 0x0040000000000000UL
860 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_INJ_TLBRREG_MASK 0x0100000000000000UL
861 #define UV1H_GR1_TLB_MMR_CONTROL_MMR_INJ_TLBLRUV_MASK 0x1000000000000000UL
863 #define UV2H_GR1_TLB_MMR_CONTROL_INDEX_SHFT 0
864 #define UV2H_GR1_TLB_MMR_CONTROL_MEM_SEL_SHFT 12
865 #define UV2H_GR1_TLB_MMR_CONTROL_AUTO_VALID_EN_SHFT 16
866 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_SHFT 20
867 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_WRITE_SHFT 30
868 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_READ_SHFT 31
869 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_OP_DONE_SHFT 32
870 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_INJ_CON_SHFT 48
871 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_INJ_TLBRAM_SHFT 52
872 #define UV2H_GR1_TLB_MMR_CONTROL_INDEX_MASK 0x0000000000000fffUL
873 #define UV2H_GR1_TLB_MMR_CONTROL_MEM_SEL_MASK 0x0000000000003000UL
874 #define UV2H_GR1_TLB_MMR_CONTROL_AUTO_VALID_EN_MASK 0x0000000000010000UL
875 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_HASH_INDEX_EN_MASK 0x0000000000100000UL
876 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_WRITE_MASK 0x0000000040000000UL
877 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_READ_MASK 0x0000000080000000UL
878 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_OP_DONE_MASK 0x0000000100000000UL
879 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_INJ_CON_MASK 0x0001000000000000UL
880 #define UV2H_GR1_TLB_MMR_CONTROL_MMR_INJ_TLBRAM_MASK 0x0010000000000000UL
940 #define UV1H_GR1_TLB_MMR_READ_DATA_HI 0x8010a0UL
941 #define UV2H_GR1_TLB_MMR_READ_DATA_HI 0x10010a0UL
942 #define UVH_GR1_TLB_MMR_READ_DATA_HI (is_uv1_hub() ? \
943 UV1H_GR1_TLB_MMR_READ_DATA_HI : \
944 UV2H_GR1_TLB_MMR_READ_DATA_HI)
946 #define UVH_GR1_TLB_MMR_READ_DATA_HI_PFN_SHFT 0
947 #define UVH_GR1_TLB_MMR_READ_DATA_HI_GAA_SHFT 41
948 #define UVH_GR1_TLB_MMR_READ_DATA_HI_DIRTY_SHFT 43
949 #define UVH_GR1_TLB_MMR_READ_DATA_HI_LARGER_SHFT 44
950 #define UVH_GR1_TLB_MMR_READ_DATA_HI_PFN_MASK 0x000001ffffffffffUL
951 #define UVH_GR1_TLB_MMR_READ_DATA_HI_GAA_MASK 0x0000060000000000UL
952 #define UVH_GR1_TLB_MMR_READ_DATA_HI_DIRTY_MASK 0x0000080000000000UL
953 #define UVH_GR1_TLB_MMR_READ_DATA_HI_LARGER_MASK 0x0000100000000000UL
969 #define UV1H_GR1_TLB_MMR_READ_DATA_LO 0x8010a8UL
970 #define UV2H_GR1_TLB_MMR_READ_DATA_LO 0x10010a8UL
971 #define UVH_GR1_TLB_MMR_READ_DATA_LO (is_uv1_hub() ? \
972 UV1H_GR1_TLB_MMR_READ_DATA_LO : \
973 UV2H_GR1_TLB_MMR_READ_DATA_LO)
975 #define UVH_GR1_TLB_MMR_READ_DATA_LO_VPN_SHFT 0
976 #define UVH_GR1_TLB_MMR_READ_DATA_LO_ASID_SHFT 39
977 #define UVH_GR1_TLB_MMR_READ_DATA_LO_VALID_SHFT 63
978 #define UVH_GR1_TLB_MMR_READ_DATA_LO_VPN_MASK 0x0000007fffffffffUL
979 #define UVH_GR1_TLB_MMR_READ_DATA_LO_ASID_MASK 0x7fffff8000000000UL
980 #define UVH_GR1_TLB_MMR_READ_DATA_LO_VALID_MASK 0x8000000000000000UL
994 #define UVH_INT_CMPB 0x22080UL
996 #define UVH_INT_CMPB_REAL_TIME_CMPB_SHFT 0
997 #define UVH_INT_CMPB_REAL_TIME_CMPB_MASK 0x00ffffffffffffffUL
1001 struct uvh_int_cmpb_s {
1010 #define UVH_INT_CMPC 0x22100UL
1012 #define UVH_INT_CMPC_REAL_TIME_CMPC_SHFT 0
1013 #define UVH_INT_CMPC_REAL_TIME_CMPC_MASK 0xffffffffffffffUL
1017 struct uvh_int_cmpc_s {
1026 #define UVH_INT_CMPD 0x22180UL
1028 #define UVH_INT_CMPD_REAL_TIME_CMPD_SHFT 0
1029 #define UVH_INT_CMPD_REAL_TIME_CMPD_MASK 0xffffffffffffffUL
1033 struct uvh_int_cmpd_s {
1042 #define UVH_IPI_INT 0x60500UL
1043 #define UVH_IPI_INT_32 0x348
1045 #define UVH_IPI_INT_VECTOR_SHFT 0
1046 #define UVH_IPI_INT_DELIVERY_MODE_SHFT 8
1047 #define UVH_IPI_INT_DESTMODE_SHFT 11
1048 #define UVH_IPI_INT_APIC_ID_SHFT 16
1049 #define UVH_IPI_INT_SEND_SHFT 63
1050 #define UVH_IPI_INT_VECTOR_MASK 0x00000000000000ffUL
1051 #define UVH_IPI_INT_DELIVERY_MODE_MASK 0x0000000000000700UL
1052 #define UVH_IPI_INT_DESTMODE_MASK 0x0000000000000800UL
1053 #define UVH_IPI_INT_APIC_ID_MASK 0x0000ffffffff0000UL
1054 #define UVH_IPI_INT_SEND_MASK 0x8000000000000000UL
1072 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST 0x320050UL
1073 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST_32 0x9c0
1075 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST_ADDRESS_SHFT 4
1076 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST_NODE_ID_SHFT 49
1077 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST_ADDRESS_MASK 0x000007fffffffff0UL
1078 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST_NODE_ID_MASK 0x7ffe000000000000UL
1094 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_LAST 0x320060UL
1095 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_LAST_32 0x9c8
1097 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_LAST_ADDRESS_SHFT 4
1098 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_LAST_ADDRESS_MASK 0x000007fffffffff0UL
1112 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_TAIL 0x320070UL
1113 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_TAIL_32 0x9d0
1115 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_TAIL_ADDRESS_SHFT 4
1116 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_TAIL_ADDRESS_MASK 0x000007fffffffff0UL
1130 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE 0x320080UL
1131 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_32 0xa68
1133 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_0_SHFT 0
1134 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_1_SHFT 1
1135 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_2_SHFT 2
1136 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_3_SHFT 3
1137 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_4_SHFT 4
1138 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_5_SHFT 5
1139 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_6_SHFT 6
1140 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_7_SHFT 7
1141 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_0_SHFT 8
1142 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_1_SHFT 9
1143 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_2_SHFT 10
1144 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_3_SHFT 11
1145 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_4_SHFT 12
1146 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_5_SHFT 13
1147 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_6_SHFT 14
1148 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_7_SHFT 15
1149 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_0_MASK 0x0000000000000001UL
1150 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_1_MASK 0x0000000000000002UL
1151 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_2_MASK 0x0000000000000004UL
1152 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_3_MASK 0x0000000000000008UL
1153 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_4_MASK 0x0000000000000010UL
1154 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_5_MASK 0x0000000000000020UL
1155 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_6_MASK 0x0000000000000040UL
1156 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_7_MASK 0x0000000000000080UL
1157 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_0_MASK 0x0000000000000100UL
1158 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_1_MASK 0x0000000000000200UL
1159 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_2_MASK 0x0000000000000400UL
1160 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_3_MASK 0x0000000000000800UL
1161 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_4_MASK 0x0000000000001000UL
1162 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_5_MASK 0x0000000000002000UL
1163 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_6_MASK 0x0000000000004000UL
1164 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_7_MASK 0x0000000000008000UL
1192 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_ALIAS 0x0000000000320088UL
1193 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_ALIAS_32 0xa70
1198 #define UVH_LB_BAU_MISC_CONTROL 0x320170UL
1199 #define UVH_LB_BAU_MISC_CONTROL_32 0xa10
1201 #define UVH_LB_BAU_MISC_CONTROL_REJECTION_DELAY_SHFT 0
1202 #define UVH_LB_BAU_MISC_CONTROL_APIC_MODE_SHFT 8
1203 #define UVH_LB_BAU_MISC_CONTROL_FORCE_BROADCAST_SHFT 9
1204 #define UVH_LB_BAU_MISC_CONTROL_FORCE_LOCK_NOP_SHFT 10
1205 #define UVH_LB_BAU_MISC_CONTROL_QPI_AGENT_PRESENCE_VECTOR_SHFT 11
1206 #define UVH_LB_BAU_MISC_CONTROL_DESCRIPTOR_FETCH_MODE_SHFT 14
1207 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_INTD_SOFT_ACK_MODE_SHFT 15
1208 #define UVH_LB_BAU_MISC_CONTROL_INTD_SOFT_ACK_TIMEOUT_PERIOD_SHFT 16
1209 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_DUAL_MAPPING_MODE_SHFT 20
1210 #define UVH_LB_BAU_MISC_CONTROL_VGA_IO_PORT_DECODE_ENABLE_SHFT 21
1211 #define UVH_LB_BAU_MISC_CONTROL_VGA_IO_PORT_16_BIT_DECODE_SHFT 22
1212 #define UVH_LB_BAU_MISC_CONTROL_SUPPRESS_DEST_REGISTRATION_SHFT 23
1213 #define UVH_LB_BAU_MISC_CONTROL_PROGRAMMED_INITIAL_PRIORITY_SHFT 24
1214 #define UVH_LB_BAU_MISC_CONTROL_USE_INCOMING_PRIORITY_SHFT 27
1215 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_PROGRAMMED_INITIAL_PRIORITY_SHFT 28
1216 #define UVH_LB_BAU_MISC_CONTROL_REJECTION_DELAY_MASK 0x00000000000000ffUL
1217 #define UVH_LB_BAU_MISC_CONTROL_APIC_MODE_MASK 0x0000000000000100UL
1218 #define UVH_LB_BAU_MISC_CONTROL_FORCE_BROADCAST_MASK 0x0000000000000200UL
1219 #define UVH_LB_BAU_MISC_CONTROL_FORCE_LOCK_NOP_MASK 0x0000000000000400UL
1220 #define UVH_LB_BAU_MISC_CONTROL_QPI_AGENT_PRESENCE_VECTOR_MASK 0x0000000000003800UL
1221 #define UVH_LB_BAU_MISC_CONTROL_DESCRIPTOR_FETCH_MODE_MASK 0x0000000000004000UL
1222 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_INTD_SOFT_ACK_MODE_MASK 0x0000000000008000UL
1223 #define UVH_LB_BAU_MISC_CONTROL_INTD_SOFT_ACK_TIMEOUT_PERIOD_MASK 0x00000000000f0000UL
1224 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_DUAL_MAPPING_MODE_MASK 0x0000000000100000UL
1225 #define UVH_LB_BAU_MISC_CONTROL_VGA_IO_PORT_DECODE_ENABLE_MASK 0x0000000000200000UL
1226 #define UVH_LB_BAU_MISC_CONTROL_VGA_IO_PORT_16_BIT_DECODE_MASK 0x0000000000400000UL
1227 #define UVH_LB_BAU_MISC_CONTROL_SUPPRESS_DEST_REGISTRATION_MASK 0x0000000000800000UL
1228 #define UVH_LB_BAU_MISC_CONTROL_PROGRAMMED_INITIAL_PRIORITY_MASK 0x0000000007000000UL
1229 #define UVH_LB_BAU_MISC_CONTROL_USE_INCOMING_PRIORITY_MASK 0x0000000008000000UL
1230 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_PROGRAMMED_INITIAL_PRIORITY_MASK 0x0000000010000000UL
1232 #define UV1H_LB_BAU_MISC_CONTROL_REJECTION_DELAY_SHFT 0
1233 #define UV1H_LB_BAU_MISC_CONTROL_APIC_MODE_SHFT 8
1234 #define UV1H_LB_BAU_MISC_CONTROL_FORCE_BROADCAST_SHFT 9
1235 #define UV1H_LB_BAU_MISC_CONTROL_FORCE_LOCK_NOP_SHFT 10
1236 #define UV1H_LB_BAU_MISC_CONTROL_QPI_AGENT_PRESENCE_VECTOR_SHFT 11
1237 #define UV1H_LB_BAU_MISC_CONTROL_DESCRIPTOR_FETCH_MODE_SHFT 14
1238 #define UV1H_LB_BAU_MISC_CONTROL_ENABLE_INTD_SOFT_ACK_MODE_SHFT 15
1239 #define UV1H_LB_BAU_MISC_CONTROL_INTD_SOFT_ACK_TIMEOUT_PERIOD_SHFT 16
1240 #define UV1H_LB_BAU_MISC_CONTROL_ENABLE_DUAL_MAPPING_MODE_SHFT 20
1241 #define UV1H_LB_BAU_MISC_CONTROL_VGA_IO_PORT_DECODE_ENABLE_SHFT 21
1242 #define UV1H_LB_BAU_MISC_CONTROL_VGA_IO_PORT_16_BIT_DECODE_SHFT 22
1243 #define UV1H_LB_BAU_MISC_CONTROL_SUPPRESS_DEST_REGISTRATION_SHFT 23
1244 #define UV1H_LB_BAU_MISC_CONTROL_PROGRAMMED_INITIAL_PRIORITY_SHFT 24
1245 #define UV1H_LB_BAU_MISC_CONTROL_USE_INCOMING_PRIORITY_SHFT 27
1246 #define UV1H_LB_BAU_MISC_CONTROL_ENABLE_PROGRAMMED_INITIAL_PRIORITY_SHFT 28
1247 #define UV1H_LB_BAU_MISC_CONTROL_FUN_SHFT 48
1248 #define UV1H_LB_BAU_MISC_CONTROL_REJECTION_DELAY_MASK 0x00000000000000ffUL
1249 #define UV1H_LB_BAU_MISC_CONTROL_APIC_MODE_MASK 0x0000000000000100UL
1250 #define UV1H_LB_BAU_MISC_CONTROL_FORCE_BROADCAST_MASK 0x0000000000000200UL
1251 #define UV1H_LB_BAU_MISC_CONTROL_FORCE_LOCK_NOP_MASK 0x0000000000000400UL
1252 #define UV1H_LB_BAU_MISC_CONTROL_QPI_AGENT_PRESENCE_VECTOR_MASK 0x0000000000003800UL
1253 #define UV1H_LB_BAU_MISC_CONTROL_DESCRIPTOR_FETCH_MODE_MASK 0x0000000000004000UL
1254 #define UV1H_LB_BAU_MISC_CONTROL_ENABLE_INTD_SOFT_ACK_MODE_MASK 0x0000000000008000UL
1255 #define UV1H_LB_BAU_MISC_CONTROL_INTD_SOFT_ACK_TIMEOUT_PERIOD_MASK 0x00000000000f0000UL
1256 #define UV1H_LB_BAU_MISC_CONTROL_ENABLE_DUAL_MAPPING_MODE_MASK 0x0000000000100000UL
1257 #define UV1H_LB_BAU_MISC_CONTROL_VGA_IO_PORT_DECODE_ENABLE_MASK 0x0000000000200000UL
1258 #define UV1H_LB_BAU_MISC_CONTROL_VGA_IO_PORT_16_BIT_DECODE_MASK 0x0000000000400000UL
1259 #define UV1H_LB_BAU_MISC_CONTROL_SUPPRESS_DEST_REGISTRATION_MASK 0x0000000000800000UL
1260 #define UV1H_LB_BAU_MISC_CONTROL_PROGRAMMED_INITIAL_PRIORITY_MASK 0x0000000007000000UL
1261 #define UV1H_LB_BAU_MISC_CONTROL_USE_INCOMING_PRIORITY_MASK 0x0000000008000000UL
1262 #define UV1H_LB_BAU_MISC_CONTROL_ENABLE_PROGRAMMED_INITIAL_PRIORITY_MASK 0x0000000010000000UL
1263 #define UV1H_LB_BAU_MISC_CONTROL_FUN_MASK 0xffff000000000000UL
1265 #define UV2H_LB_BAU_MISC_CONTROL_REJECTION_DELAY_SHFT 0
1266 #define UV2H_LB_BAU_MISC_CONTROL_APIC_MODE_SHFT 8
1267 #define UV2H_LB_BAU_MISC_CONTROL_FORCE_BROADCAST_SHFT 9
1268 #define UV2H_LB_BAU_MISC_CONTROL_FORCE_LOCK_NOP_SHFT 10
1269 #define UV2H_LB_BAU_MISC_CONTROL_QPI_AGENT_PRESENCE_VECTOR_SHFT 11
1270 #define UV2H_LB_BAU_MISC_CONTROL_DESCRIPTOR_FETCH_MODE_SHFT 14
1271 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_INTD_SOFT_ACK_MODE_SHFT 15
1272 #define UV2H_LB_BAU_MISC_CONTROL_INTD_SOFT_ACK_TIMEOUT_PERIOD_SHFT 16
1273 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_DUAL_MAPPING_MODE_SHFT 20
1274 #define UV2H_LB_BAU_MISC_CONTROL_VGA_IO_PORT_DECODE_ENABLE_SHFT 21
1275 #define UV2H_LB_BAU_MISC_CONTROL_VGA_IO_PORT_16_BIT_DECODE_SHFT 22
1276 #define UV2H_LB_BAU_MISC_CONTROL_SUPPRESS_DEST_REGISTRATION_SHFT 23
1277 #define UV2H_LB_BAU_MISC_CONTROL_PROGRAMMED_INITIAL_PRIORITY_SHFT 24
1278 #define UV2H_LB_BAU_MISC_CONTROL_USE_INCOMING_PRIORITY_SHFT 27
1279 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_PROGRAMMED_INITIAL_PRIORITY_SHFT 28
1280 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_AUTOMATIC_APIC_MODE_SELECTION_SHFT 29
1281 #define UV2H_LB_BAU_MISC_CONTROL_APIC_MODE_STATUS_SHFT 30
1282 #define UV2H_LB_BAU_MISC_CONTROL_SUPPRESS_INTERRUPTS_TO_SELF_SHFT 31
1283 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_LOCK_BASED_SYSTEM_FLUSH_SHFT 32
1284 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_EXTENDED_SB_STATUS_SHFT 33
1285 #define UV2H_LB_BAU_MISC_CONTROL_SUPPRESS_INT_PRIO_UDT_TO_SELF_SHFT 34
1286 #define UV2H_LB_BAU_MISC_CONTROL_USE_LEGACY_DESCRIPTOR_FORMATS_SHFT 35
1287 #define UV2H_LB_BAU_MISC_CONTROL_FUN_SHFT 48
1288 #define UV2H_LB_BAU_MISC_CONTROL_REJECTION_DELAY_MASK 0x00000000000000ffUL
1289 #define UV2H_LB_BAU_MISC_CONTROL_APIC_MODE_MASK 0x0000000000000100UL
1290 #define UV2H_LB_BAU_MISC_CONTROL_FORCE_BROADCAST_MASK 0x0000000000000200UL
1291 #define UV2H_LB_BAU_MISC_CONTROL_FORCE_LOCK_NOP_MASK 0x0000000000000400UL
1292 #define UV2H_LB_BAU_MISC_CONTROL_QPI_AGENT_PRESENCE_VECTOR_MASK 0x0000000000003800UL
1293 #define UV2H_LB_BAU_MISC_CONTROL_DESCRIPTOR_FETCH_MODE_MASK 0x0000000000004000UL
1294 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_INTD_SOFT_ACK_MODE_MASK 0x0000000000008000UL
1295 #define UV2H_LB_BAU_MISC_CONTROL_INTD_SOFT_ACK_TIMEOUT_PERIOD_MASK 0x00000000000f0000UL
1296 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_DUAL_MAPPING_MODE_MASK 0x0000000000100000UL
1297 #define UV2H_LB_BAU_MISC_CONTROL_VGA_IO_PORT_DECODE_ENABLE_MASK 0x0000000000200000UL
1298 #define UV2H_LB_BAU_MISC_CONTROL_VGA_IO_PORT_16_BIT_DECODE_MASK 0x0000000000400000UL
1299 #define UV2H_LB_BAU_MISC_CONTROL_SUPPRESS_DEST_REGISTRATION_MASK 0x0000000000800000UL
1300 #define UV2H_LB_BAU_MISC_CONTROL_PROGRAMMED_INITIAL_PRIORITY_MASK 0x0000000007000000UL
1301 #define UV2H_LB_BAU_MISC_CONTROL_USE_INCOMING_PRIORITY_MASK 0x0000000008000000UL
1302 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_PROGRAMMED_INITIAL_PRIORITY_MASK 0x0000000010000000UL
1303 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_AUTOMATIC_APIC_MODE_SELECTION_MASK 0x0000000020000000UL
1304 #define UV2H_LB_BAU_MISC_CONTROL_APIC_MODE_STATUS_MASK 0x0000000040000000UL
1305 #define UV2H_LB_BAU_MISC_CONTROL_SUPPRESS_INTERRUPTS_TO_SELF_MASK 0x0000000080000000UL
1306 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_LOCK_BASED_SYSTEM_FLUSH_MASK 0x0000000100000000UL
1307 #define UV2H_LB_BAU_MISC_CONTROL_ENABLE_EXTENDED_SB_STATUS_MASK 0x0000000200000000UL
1308 #define UV2H_LB_BAU_MISC_CONTROL_SUPPRESS_INT_PRIO_UDT_TO_SELF_MASK 0x0000000400000000UL
1309 #define UV2H_LB_BAU_MISC_CONTROL_USE_LEGACY_DESCRIPTOR_FORMATS_MASK 0x0000000800000000UL
1310 #define UV2H_LB_BAU_MISC_CONTROL_FUN_MASK 0xffff000000000000UL
1382 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL 0x320020UL
1383 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_32 0x9a8
1385 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_INDEX_SHFT 0
1386 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_PUSH_SHFT 62
1387 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_INIT_SHFT 63
1388 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_INDEX_MASK 0x000000000000003fUL
1389 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_PUSH_MASK 0x4000000000000000UL
1390 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_INIT_MASK 0x8000000000000000UL
1405 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_0 0x320030UL
1406 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_0_32 0x9b0
1408 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_0_STATUS_SHFT 0
1409 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_0_STATUS_MASK 0xffffffffffffffffUL
1421 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_1 0x320040UL
1422 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_1_32 0x9b8
1424 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_1_STATUS_SHFT 0
1425 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_1_STATUS_MASK 0xffffffffffffffffUL
1437 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE 0x320010UL
1438 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE_32 0x9a0
1440 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE_PAGE_ADDRESS_SHFT 12
1441 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE_NODE_ID_SHFT 49
1442 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE_PAGE_ADDRESS_MASK 0x000007fffffff000UL
1443 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE_NODE_ID_MASK 0x7ffe000000000000UL
1459 #define UVH_NODE_ID 0x0UL
1461 #define UVH_NODE_ID_FORCE1_SHFT 0
1462 #define UVH_NODE_ID_MANUFACTURER_SHFT 1
1463 #define UVH_NODE_ID_PART_NUMBER_SHFT 12
1464 #define UVH_NODE_ID_REVISION_SHFT 28
1465 #define UVH_NODE_ID_NODE_ID_SHFT 32
1466 #define UVH_NODE_ID_FORCE1_MASK 0x0000000000000001UL
1467 #define UVH_NODE_ID_MANUFACTURER_MASK 0x0000000000000ffeUL
1468 #define UVH_NODE_ID_PART_NUMBER_MASK 0x000000000ffff000UL
1469 #define UVH_NODE_ID_REVISION_MASK 0x00000000f0000000UL
1470 #define UVH_NODE_ID_NODE_ID_MASK 0x00007fff00000000UL
1472 #define UV1H_NODE_ID_FORCE1_SHFT 0
1473 #define UV1H_NODE_ID_MANUFACTURER_SHFT 1
1474 #define UV1H_NODE_ID_PART_NUMBER_SHFT 12
1475 #define UV1H_NODE_ID_REVISION_SHFT 28
1476 #define UV1H_NODE_ID_NODE_ID_SHFT 32
1477 #define UV1H_NODE_ID_NODES_PER_BIT_SHFT 48
1478 #define UV1H_NODE_ID_NI_PORT_SHFT 56
1479 #define UV1H_NODE_ID_FORCE1_MASK 0x0000000000000001UL
1480 #define UV1H_NODE_ID_MANUFACTURER_MASK 0x0000000000000ffeUL
1481 #define UV1H_NODE_ID_PART_NUMBER_MASK 0x000000000ffff000UL
1482 #define UV1H_NODE_ID_REVISION_MASK 0x00000000f0000000UL
1483 #define UV1H_NODE_ID_NODE_ID_MASK 0x00007fff00000000UL
1484 #define UV1H_NODE_ID_NODES_PER_BIT_MASK 0x007f000000000000UL
1485 #define UV1H_NODE_ID_NI_PORT_MASK 0x0f00000000000000UL
1487 #define UV2H_NODE_ID_FORCE1_SHFT 0
1488 #define UV2H_NODE_ID_MANUFACTURER_SHFT 1
1489 #define UV2H_NODE_ID_PART_NUMBER_SHFT 12
1490 #define UV2H_NODE_ID_REVISION_SHFT 28
1491 #define UV2H_NODE_ID_NODE_ID_SHFT 32
1492 #define UV2H_NODE_ID_NODES_PER_BIT_SHFT 50
1493 #define UV2H_NODE_ID_NI_PORT_SHFT 57
1494 #define UV2H_NODE_ID_FORCE1_MASK 0x0000000000000001UL
1495 #define UV2H_NODE_ID_MANUFACTURER_MASK 0x0000000000000ffeUL
1496 #define UV2H_NODE_ID_PART_NUMBER_MASK 0x000000000ffff000UL
1497 #define UV2H_NODE_ID_REVISION_MASK 0x00000000f0000000UL
1498 #define UV2H_NODE_ID_NODE_ID_MASK 0x00007fff00000000UL
1499 #define UV2H_NODE_ID_NODES_PER_BIT_MASK 0x01fc000000000000UL
1500 #define UV2H_NODE_ID_NI_PORT_MASK 0x3e00000000000000UL
1504 struct uvh_node_id_s {
1540 #define UVH_NODE_PRESENT_TABLE 0x1400UL
1541 #define UVH_NODE_PRESENT_TABLE_DEPTH 16
1543 #define UVH_NODE_PRESENT_TABLE_NODES_SHFT 0
1544 #define UVH_NODE_PRESENT_TABLE_NODES_MASK 0xffffffffffffffffUL
1556 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_0_MMR 0x16000c8UL
1558 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_0_MMR_BASE_SHFT 24
1559 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_0_MMR_M_ALIAS_SHFT 48
1560 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_0_MMR_ENABLE_SHFT 63
1561 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_0_MMR_BASE_MASK 0x00000000ff000000UL
1562 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_0_MMR_M_ALIAS_MASK 0x001f000000000000UL
1563 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_0_MMR_ENABLE_MASK 0x8000000000000000UL
1580 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_1_MMR 0x16000d8UL
1582 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_1_MMR_BASE_SHFT 24
1583 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_1_MMR_M_ALIAS_SHFT 48
1584 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_1_MMR_ENABLE_SHFT 63
1585 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_1_MMR_BASE_MASK 0x00000000ff000000UL
1586 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_1_MMR_M_ALIAS_MASK 0x001f000000000000UL
1587 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_1_MMR_ENABLE_MASK 0x8000000000000000UL
1604 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_2_MMR 0x16000e8UL
1606 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_2_MMR_BASE_SHFT 24
1607 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_2_MMR_M_ALIAS_SHFT 48
1608 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_2_MMR_ENABLE_SHFT 63
1609 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_2_MMR_BASE_MASK 0x00000000ff000000UL
1610 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_2_MMR_M_ALIAS_MASK 0x001f000000000000UL
1611 #define UVH_RH_GAM_ALIAS210_OVERLAY_CONFIG_2_MMR_ENABLE_MASK 0x8000000000000000UL
1628 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR 0x16000d0UL
1630 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR_DEST_BASE_SHFT 24
1631 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR_DEST_BASE_MASK 0x00003fffff000000UL
1635 struct uvh_rh_gam_alias210_redirect_config_0_mmr_s {
1645 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR 0x16000e0UL
1647 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR_DEST_BASE_SHFT 24
1648 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR_DEST_BASE_MASK 0x00003fffff000000UL
1652 struct uvh_rh_gam_alias210_redirect_config_1_mmr_s {
1662 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR 0x16000f0UL
1664 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR_DEST_BASE_SHFT 24
1665 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR_DEST_BASE_MASK 0x00003fffff000000UL
1669 struct uvh_rh_gam_alias210_redirect_config_2_mmr_s {
1679 #define UVH_RH_GAM_CONFIG_MMR 0x1600000UL
1681 #define UVH_RH_GAM_CONFIG_MMR_M_SKT_SHFT 0
1682 #define UVH_RH_GAM_CONFIG_MMR_N_SKT_SHFT 6
1683 #define UVH_RH_GAM_CONFIG_MMR_M_SKT_MASK 0x000000000000003fUL
1684 #define UVH_RH_GAM_CONFIG_MMR_N_SKT_MASK 0x00000000000003c0UL
1686 #define UV1H_RH_GAM_CONFIG_MMR_M_SKT_SHFT 0
1687 #define UV1H_RH_GAM_CONFIG_MMR_N_SKT_SHFT 6
1688 #define UV1H_RH_GAM_CONFIG_MMR_MMIOL_CFG_SHFT 12
1689 #define UV1H_RH_GAM_CONFIG_MMR_M_SKT_MASK 0x000000000000003fUL
1690 #define UV1H_RH_GAM_CONFIG_MMR_N_SKT_MASK 0x00000000000003c0UL
1691 #define UV1H_RH_GAM_CONFIG_MMR_MMIOL_CFG_MASK 0x0000000000001000UL
1693 #define UV2H_RH_GAM_CONFIG_MMR_M_SKT_SHFT 0
1694 #define UV2H_RH_GAM_CONFIG_MMR_N_SKT_SHFT 6
1695 #define UV2H_RH_GAM_CONFIG_MMR_M_SKT_MASK 0x000000000000003fUL
1696 #define UV2H_RH_GAM_CONFIG_MMR_N_SKT_MASK 0x00000000000003c0UL
1722 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR 0x1600010UL
1724 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_SHFT 28
1725 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffff0000000UL
1727 #define UV1H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_SHFT 28
1728 #define UV1H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_GR4_SHFT 48
1729 #define UV1H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_N_GRU_SHFT 52
1730 #define UV1H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63
1731 #define UV1H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffff0000000UL
1732 #define UV1H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_GR4_MASK 0x0001000000000000UL
1733 #define UV1H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_N_GRU_MASK 0x00f0000000000000UL
1734 #define UV1H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL
1736 #define UV2H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_SHFT 28
1737 #define UV2H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_N_GRU_SHFT 52
1738 #define UV2H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63
1739 #define UV2H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffff0000000UL
1740 #define UV2H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_N_GRU_MASK 0x00f0000000000000UL
1741 #define UV2H_RH_GAM_GRU_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL
1745 struct uvh_rh_gam_gru_overlay_config_mmr_s {
1747 unsigned long base:18;
1774 #define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR 0x1600030UL
1776 #define UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_BASE_SHFT 30
1777 #define UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_M_IO_SHFT 46
1778 #define UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_N_IO_SHFT 52
1779 #define UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63
1780 #define UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003fffc0000000UL
1781 #define UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_M_IO_MASK 0x000fc00000000000UL
1782 #define UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_N_IO_MASK 0x00f0000000000000UL
1783 #define UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL
1785 #define UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_BASE_SHFT 27
1786 #define UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_M_IO_SHFT 46
1787 #define UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_N_IO_SHFT 52
1788 #define UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63
1789 #define UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffff8000000UL
1790 #define UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_M_IO_MASK 0x000fc00000000000UL
1791 #define UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_N_IO_MASK 0x00f0000000000000UL
1792 #define UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL
1817 #define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR 0x1600028UL
1819 #define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_SHFT 26
1820 #define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffffc000000UL
1822 #define UV1H_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_SHFT 26
1823 #define UV1H_RH_GAM_MMR_OVERLAY_CONFIG_MMR_DUAL_HUB_SHFT 46
1824 #define UV1H_RH_GAM_MMR_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63
1825 #define UV1H_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffffc000000UL
1826 #define UV1H_RH_GAM_MMR_OVERLAY_CONFIG_MMR_DUAL_HUB_MASK 0x0000400000000000UL
1827 #define UV1H_RH_GAM_MMR_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL
1829 #define UV2H_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_SHFT 26
1830 #define UV2H_RH_GAM_MMR_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63
1831 #define UV2H_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffffc000000UL
1832 #define UV2H_RH_GAM_MMR_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL
1836 struct uvh_rh_gam_mmr_overlay_config_mmr_s {
1838 unsigned long base:20;
1860 #define UVH_RTC 0x340000UL
1862 #define UVH_RTC_REAL_TIME_CLOCK_SHFT 0
1863 #define UVH_RTC_REAL_TIME_CLOCK_MASK 0x00ffffffffffffffUL
1876 #define UVH_RTC1_INT_CONFIG 0x615c0UL
1878 #define UVH_RTC1_INT_CONFIG_VECTOR_SHFT 0
1879 #define UVH_RTC1_INT_CONFIG_DM_SHFT 8
1880 #define UVH_RTC1_INT_CONFIG_DESTMODE_SHFT 11
1881 #define UVH_RTC1_INT_CONFIG_STATUS_SHFT 12
1882 #define UVH_RTC1_INT_CONFIG_P_SHFT 13
1883 #define UVH_RTC1_INT_CONFIG_T_SHFT 15
1884 #define UVH_RTC1_INT_CONFIG_M_SHFT 16
1885 #define UVH_RTC1_INT_CONFIG_APIC_ID_SHFT 32
1886 #define UVH_RTC1_INT_CONFIG_VECTOR_MASK 0x00000000000000ffUL
1887 #define UVH_RTC1_INT_CONFIG_DM_MASK 0x0000000000000700UL
1888 #define UVH_RTC1_INT_CONFIG_DESTMODE_MASK 0x0000000000000800UL
1889 #define UVH_RTC1_INT_CONFIG_STATUS_MASK 0x0000000000001000UL
1890 #define UVH_RTC1_INT_CONFIG_P_MASK 0x0000000000002000UL
1891 #define UVH_RTC1_INT_CONFIG_T_MASK 0x0000000000008000UL
1892 #define UVH_RTC1_INT_CONFIG_M_MASK 0x0000000000010000UL
1893 #define UVH_RTC1_INT_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
1897 struct uvh_rtc1_int_config_s {
1914 #define UVH_SCRATCH5 0x2d0200UL
1915 #define UVH_SCRATCH5_32 0x778
1917 #define UVH_SCRATCH5_SCRATCH5_SHFT 0
1918 #define UVH_SCRATCH5_SCRATCH5_MASK 0xffffffffffffffffUL
1930 #define UV2H_EVENT_OCCURRED2 0x70100UL
1931 #define UV2H_EVENT_OCCURRED2_32 0xb68
1933 #define UV2H_EVENT_OCCURRED2_RTC_0_SHFT 0
1934 #define UV2H_EVENT_OCCURRED2_RTC_1_SHFT 1
1935 #define UV2H_EVENT_OCCURRED2_RTC_2_SHFT 2
1936 #define UV2H_EVENT_OCCURRED2_RTC_3_SHFT 3
1937 #define UV2H_EVENT_OCCURRED2_RTC_4_SHFT 4
1938 #define UV2H_EVENT_OCCURRED2_RTC_5_SHFT 5
1939 #define UV2H_EVENT_OCCURRED2_RTC_6_SHFT 6
1940 #define UV2H_EVENT_OCCURRED2_RTC_7_SHFT 7
1941 #define UV2H_EVENT_OCCURRED2_RTC_8_SHFT 8
1942 #define UV2H_EVENT_OCCURRED2_RTC_9_SHFT 9
1943 #define UV2H_EVENT_OCCURRED2_RTC_10_SHFT 10
1944 #define UV2H_EVENT_OCCURRED2_RTC_11_SHFT 11
1945 #define UV2H_EVENT_OCCURRED2_RTC_12_SHFT 12
1946 #define UV2H_EVENT_OCCURRED2_RTC_13_SHFT 13
1947 #define UV2H_EVENT_OCCURRED2_RTC_14_SHFT 14
1948 #define UV2H_EVENT_OCCURRED2_RTC_15_SHFT 15
1949 #define UV2H_EVENT_OCCURRED2_RTC_16_SHFT 16
1950 #define UV2H_EVENT_OCCURRED2_RTC_17_SHFT 17
1951 #define UV2H_EVENT_OCCURRED2_RTC_18_SHFT 18
1952 #define UV2H_EVENT_OCCURRED2_RTC_19_SHFT 19
1953 #define UV2H_EVENT_OCCURRED2_RTC_20_SHFT 20
1954 #define UV2H_EVENT_OCCURRED2_RTC_21_SHFT 21
1955 #define UV2H_EVENT_OCCURRED2_RTC_22_SHFT 22
1956 #define UV2H_EVENT_OCCURRED2_RTC_23_SHFT 23
1957 #define UV2H_EVENT_OCCURRED2_RTC_24_SHFT 24
1958 #define UV2H_EVENT_OCCURRED2_RTC_25_SHFT 25
1959 #define UV2H_EVENT_OCCURRED2_RTC_26_SHFT 26
1960 #define UV2H_EVENT_OCCURRED2_RTC_27_SHFT 27
1961 #define UV2H_EVENT_OCCURRED2_RTC_28_SHFT 28
1962 #define UV2H_EVENT_OCCURRED2_RTC_29_SHFT 29
1963 #define UV2H_EVENT_OCCURRED2_RTC_30_SHFT 30
1964 #define UV2H_EVENT_OCCURRED2_RTC_31_SHFT 31
1965 #define UV2H_EVENT_OCCURRED2_RTC_0_MASK 0x0000000000000001UL
1966 #define UV2H_EVENT_OCCURRED2_RTC_1_MASK 0x0000000000000002UL
1967 #define UV2H_EVENT_OCCURRED2_RTC_2_MASK 0x0000000000000004UL
1968 #define UV2H_EVENT_OCCURRED2_RTC_3_MASK 0x0000000000000008UL
1969 #define UV2H_EVENT_OCCURRED2_RTC_4_MASK 0x0000000000000010UL
1970 #define UV2H_EVENT_OCCURRED2_RTC_5_MASK 0x0000000000000020UL
1971 #define UV2H_EVENT_OCCURRED2_RTC_6_MASK 0x0000000000000040UL
1972 #define UV2H_EVENT_OCCURRED2_RTC_7_MASK 0x0000000000000080UL
1973 #define UV2H_EVENT_OCCURRED2_RTC_8_MASK 0x0000000000000100UL
1974 #define UV2H_EVENT_OCCURRED2_RTC_9_MASK 0x0000000000000200UL
1975 #define UV2H_EVENT_OCCURRED2_RTC_10_MASK 0x0000000000000400UL
1976 #define UV2H_EVENT_OCCURRED2_RTC_11_MASK 0x0000000000000800UL
1977 #define UV2H_EVENT_OCCURRED2_RTC_12_MASK 0x0000000000001000UL
1978 #define UV2H_EVENT_OCCURRED2_RTC_13_MASK 0x0000000000002000UL
1979 #define UV2H_EVENT_OCCURRED2_RTC_14_MASK 0x0000000000004000UL
1980 #define UV2H_EVENT_OCCURRED2_RTC_15_MASK 0x0000000000008000UL
1981 #define UV2H_EVENT_OCCURRED2_RTC_16_MASK 0x0000000000010000UL
1982 #define UV2H_EVENT_OCCURRED2_RTC_17_MASK 0x0000000000020000UL
1983 #define UV2H_EVENT_OCCURRED2_RTC_18_MASK 0x0000000000040000UL
1984 #define UV2H_EVENT_OCCURRED2_RTC_19_MASK 0x0000000000080000UL
1985 #define UV2H_EVENT_OCCURRED2_RTC_20_MASK 0x0000000000100000UL
1986 #define UV2H_EVENT_OCCURRED2_RTC_21_MASK 0x0000000000200000UL
1987 #define UV2H_EVENT_OCCURRED2_RTC_22_MASK 0x0000000000400000UL
1988 #define UV2H_EVENT_OCCURRED2_RTC_23_MASK 0x0000000000800000UL
1989 #define UV2H_EVENT_OCCURRED2_RTC_24_MASK 0x0000000001000000UL
1990 #define UV2H_EVENT_OCCURRED2_RTC_25_MASK 0x0000000002000000UL
1991 #define UV2H_EVENT_OCCURRED2_RTC_26_MASK 0x0000000004000000UL
1992 #define UV2H_EVENT_OCCURRED2_RTC_27_MASK 0x0000000008000000UL
1993 #define UV2H_EVENT_OCCURRED2_RTC_28_MASK 0x0000000010000000UL
1994 #define UV2H_EVENT_OCCURRED2_RTC_29_MASK 0x0000000020000000UL
1995 #define UV2H_EVENT_OCCURRED2_RTC_30_MASK 0x0000000040000000UL
1996 #define UV2H_EVENT_OCCURRED2_RTC_31_MASK 0x0000000080000000UL
2040 #define UV2H_EVENT_OCCURRED2_ALIAS 0x70108UL
2041 #define UV2H_EVENT_OCCURRED2_ALIAS_32 0xb70
2046 #define UV2H_LB_BAU_SB_ACTIVATION_STATUS_2 0x320130UL
2047 #define UV2H_LB_BAU_SB_ACTIVATION_STATUS_2_32 0x9f0
2049 #define UV2H_LB_BAU_SB_ACTIVATION_STATUS_2_AUX_ERROR_SHFT 0
2050 #define UV2H_LB_BAU_SB_ACTIVATION_STATUS_2_AUX_ERROR_MASK 0xffffffffffffffffUL
2062 #define UV1H_LB_TARGET_PHYSICAL_APIC_ID_MASK 0x320130UL
2063 #define UV1H_LB_TARGET_PHYSICAL_APIC_ID_MASK_32 0x9f0
2065 #define UV1H_LB_TARGET_PHYSICAL_APIC_ID_MASK_BIT_ENABLES_SHFT 0
2066 #define UV1H_LB_TARGET_PHYSICAL_APIC_ID_MASK_BIT_ENABLES_MASK 0x00000000ffffffffUL