xref: /openbmc/linux/arch/x86/include/asm/uv/uv_mmrs.h (revision 6f4edd69)
1 /*
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License.  See the file "COPYING" in the main directory of this archive
4  * for more details.
5  *
6  * SGI UV MMR definitions
7  *
8  * Copyright (C) 2007-2008 Silicon Graphics, Inc. All rights reserved.
9  */
10 
11 #ifndef _ASM_X86_UV_UV_MMRS_H
12 #define _ASM_X86_UV_UV_MMRS_H
13 
14 #define UV_MMR_ENABLE		(1UL << 63)
15 
16 /* ========================================================================= */
17 /*                          UVH_BAU_DATA_BROADCAST                           */
18 /* ========================================================================= */
19 #define UVH_BAU_DATA_BROADCAST 0x61688UL
20 #define UVH_BAU_DATA_BROADCAST_32 0x0440
21 
22 #define UVH_BAU_DATA_BROADCAST_ENABLE_SHFT 0
23 #define UVH_BAU_DATA_BROADCAST_ENABLE_MASK 0x0000000000000001UL
24 
25 union uvh_bau_data_broadcast_u {
26     unsigned long	v;
27     struct uvh_bau_data_broadcast_s {
28 	unsigned long	enable :  1;  /* RW */
29 	unsigned long	rsvd_1_63: 63;  /*    */
30     } s;
31 };
32 
33 /* ========================================================================= */
34 /*                           UVH_BAU_DATA_CONFIG                             */
35 /* ========================================================================= */
36 #define UVH_BAU_DATA_CONFIG 0x61680UL
37 #define UVH_BAU_DATA_CONFIG_32 0x0438
38 
39 #define UVH_BAU_DATA_CONFIG_VECTOR_SHFT 0
40 #define UVH_BAU_DATA_CONFIG_VECTOR_MASK 0x00000000000000ffUL
41 #define UVH_BAU_DATA_CONFIG_DM_SHFT 8
42 #define UVH_BAU_DATA_CONFIG_DM_MASK 0x0000000000000700UL
43 #define UVH_BAU_DATA_CONFIG_DESTMODE_SHFT 11
44 #define UVH_BAU_DATA_CONFIG_DESTMODE_MASK 0x0000000000000800UL
45 #define UVH_BAU_DATA_CONFIG_STATUS_SHFT 12
46 #define UVH_BAU_DATA_CONFIG_STATUS_MASK 0x0000000000001000UL
47 #define UVH_BAU_DATA_CONFIG_P_SHFT 13
48 #define UVH_BAU_DATA_CONFIG_P_MASK 0x0000000000002000UL
49 #define UVH_BAU_DATA_CONFIG_T_SHFT 15
50 #define UVH_BAU_DATA_CONFIG_T_MASK 0x0000000000008000UL
51 #define UVH_BAU_DATA_CONFIG_M_SHFT 16
52 #define UVH_BAU_DATA_CONFIG_M_MASK 0x0000000000010000UL
53 #define UVH_BAU_DATA_CONFIG_APIC_ID_SHFT 32
54 #define UVH_BAU_DATA_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
55 
56 union uvh_bau_data_config_u {
57     unsigned long	v;
58     struct uvh_bau_data_config_s {
59 	unsigned long	vector_  :  8;  /* RW */
60 	unsigned long	dm       :  3;  /* RW */
61 	unsigned long	destmode :  1;  /* RW */
62 	unsigned long	status   :  1;  /* RO */
63 	unsigned long	p        :  1;  /* RO */
64 	unsigned long	rsvd_14  :  1;  /*    */
65 	unsigned long	t        :  1;  /* RO */
66 	unsigned long	m        :  1;  /* RW */
67 	unsigned long	rsvd_17_31: 15;  /*    */
68 	unsigned long	apic_id  : 32;  /* RW */
69     } s;
70 };
71 
72 /* ========================================================================= */
73 /*                           UVH_EVENT_OCCURRED0                             */
74 /* ========================================================================= */
75 #define UVH_EVENT_OCCURRED0 0x70000UL
76 #define UVH_EVENT_OCCURRED0_32 0x005e8
77 
78 #define UVH_EVENT_OCCURRED0_LB_HCERR_SHFT 0
79 #define UVH_EVENT_OCCURRED0_LB_HCERR_MASK 0x0000000000000001UL
80 #define UVH_EVENT_OCCURRED0_GR0_HCERR_SHFT 1
81 #define UVH_EVENT_OCCURRED0_GR0_HCERR_MASK 0x0000000000000002UL
82 #define UVH_EVENT_OCCURRED0_GR1_HCERR_SHFT 2
83 #define UVH_EVENT_OCCURRED0_GR1_HCERR_MASK 0x0000000000000004UL
84 #define UVH_EVENT_OCCURRED0_LH_HCERR_SHFT 3
85 #define UVH_EVENT_OCCURRED0_LH_HCERR_MASK 0x0000000000000008UL
86 #define UVH_EVENT_OCCURRED0_RH_HCERR_SHFT 4
87 #define UVH_EVENT_OCCURRED0_RH_HCERR_MASK 0x0000000000000010UL
88 #define UVH_EVENT_OCCURRED0_XN_HCERR_SHFT 5
89 #define UVH_EVENT_OCCURRED0_XN_HCERR_MASK 0x0000000000000020UL
90 #define UVH_EVENT_OCCURRED0_SI_HCERR_SHFT 6
91 #define UVH_EVENT_OCCURRED0_SI_HCERR_MASK 0x0000000000000040UL
92 #define UVH_EVENT_OCCURRED0_LB_AOERR0_SHFT 7
93 #define UVH_EVENT_OCCURRED0_LB_AOERR0_MASK 0x0000000000000080UL
94 #define UVH_EVENT_OCCURRED0_GR0_AOERR0_SHFT 8
95 #define UVH_EVENT_OCCURRED0_GR0_AOERR0_MASK 0x0000000000000100UL
96 #define UVH_EVENT_OCCURRED0_GR1_AOERR0_SHFT 9
97 #define UVH_EVENT_OCCURRED0_GR1_AOERR0_MASK 0x0000000000000200UL
98 #define UVH_EVENT_OCCURRED0_LH_AOERR0_SHFT 10
99 #define UVH_EVENT_OCCURRED0_LH_AOERR0_MASK 0x0000000000000400UL
100 #define UVH_EVENT_OCCURRED0_RH_AOERR0_SHFT 11
101 #define UVH_EVENT_OCCURRED0_RH_AOERR0_MASK 0x0000000000000800UL
102 #define UVH_EVENT_OCCURRED0_XN_AOERR0_SHFT 12
103 #define UVH_EVENT_OCCURRED0_XN_AOERR0_MASK 0x0000000000001000UL
104 #define UVH_EVENT_OCCURRED0_SI_AOERR0_SHFT 13
105 #define UVH_EVENT_OCCURRED0_SI_AOERR0_MASK 0x0000000000002000UL
106 #define UVH_EVENT_OCCURRED0_LB_AOERR1_SHFT 14
107 #define UVH_EVENT_OCCURRED0_LB_AOERR1_MASK 0x0000000000004000UL
108 #define UVH_EVENT_OCCURRED0_GR0_AOERR1_SHFT 15
109 #define UVH_EVENT_OCCURRED0_GR0_AOERR1_MASK 0x0000000000008000UL
110 #define UVH_EVENT_OCCURRED0_GR1_AOERR1_SHFT 16
111 #define UVH_EVENT_OCCURRED0_GR1_AOERR1_MASK 0x0000000000010000UL
112 #define UVH_EVENT_OCCURRED0_LH_AOERR1_SHFT 17
113 #define UVH_EVENT_OCCURRED0_LH_AOERR1_MASK 0x0000000000020000UL
114 #define UVH_EVENT_OCCURRED0_RH_AOERR1_SHFT 18
115 #define UVH_EVENT_OCCURRED0_RH_AOERR1_MASK 0x0000000000040000UL
116 #define UVH_EVENT_OCCURRED0_XN_AOERR1_SHFT 19
117 #define UVH_EVENT_OCCURRED0_XN_AOERR1_MASK 0x0000000000080000UL
118 #define UVH_EVENT_OCCURRED0_SI_AOERR1_SHFT 20
119 #define UVH_EVENT_OCCURRED0_SI_AOERR1_MASK 0x0000000000100000UL
120 #define UVH_EVENT_OCCURRED0_RH_VPI_INT_SHFT 21
121 #define UVH_EVENT_OCCURRED0_RH_VPI_INT_MASK 0x0000000000200000UL
122 #define UVH_EVENT_OCCURRED0_SYSTEM_SHUTDOWN_INT_SHFT 22
123 #define UVH_EVENT_OCCURRED0_SYSTEM_SHUTDOWN_INT_MASK 0x0000000000400000UL
124 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_0_SHFT 23
125 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_0_MASK 0x0000000000800000UL
126 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_1_SHFT 24
127 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_1_MASK 0x0000000001000000UL
128 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_2_SHFT 25
129 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_2_MASK 0x0000000002000000UL
130 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_3_SHFT 26
131 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_3_MASK 0x0000000004000000UL
132 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_4_SHFT 27
133 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_4_MASK 0x0000000008000000UL
134 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_5_SHFT 28
135 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_5_MASK 0x0000000010000000UL
136 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_6_SHFT 29
137 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_6_MASK 0x0000000020000000UL
138 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_7_SHFT 30
139 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_7_MASK 0x0000000040000000UL
140 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_8_SHFT 31
141 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_8_MASK 0x0000000080000000UL
142 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_9_SHFT 32
143 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_9_MASK 0x0000000100000000UL
144 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_10_SHFT 33
145 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_10_MASK 0x0000000200000000UL
146 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_11_SHFT 34
147 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_11_MASK 0x0000000400000000UL
148 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_12_SHFT 35
149 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_12_MASK 0x0000000800000000UL
150 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_13_SHFT 36
151 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_13_MASK 0x0000001000000000UL
152 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_14_SHFT 37
153 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_14_MASK 0x0000002000000000UL
154 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_15_SHFT 38
155 #define UVH_EVENT_OCCURRED0_LB_IRQ_INT_15_MASK 0x0000004000000000UL
156 #define UVH_EVENT_OCCURRED0_L1_NMI_INT_SHFT 39
157 #define UVH_EVENT_OCCURRED0_L1_NMI_INT_MASK 0x0000008000000000UL
158 #define UVH_EVENT_OCCURRED0_STOP_CLOCK_SHFT 40
159 #define UVH_EVENT_OCCURRED0_STOP_CLOCK_MASK 0x0000010000000000UL
160 #define UVH_EVENT_OCCURRED0_ASIC_TO_L1_SHFT 41
161 #define UVH_EVENT_OCCURRED0_ASIC_TO_L1_MASK 0x0000020000000000UL
162 #define UVH_EVENT_OCCURRED0_L1_TO_ASIC_SHFT 42
163 #define UVH_EVENT_OCCURRED0_L1_TO_ASIC_MASK 0x0000040000000000UL
164 #define UVH_EVENT_OCCURRED0_LTC_INT_SHFT 43
165 #define UVH_EVENT_OCCURRED0_LTC_INT_MASK 0x0000080000000000UL
166 #define UVH_EVENT_OCCURRED0_LA_SEQ_TRIGGER_SHFT 44
167 #define UVH_EVENT_OCCURRED0_LA_SEQ_TRIGGER_MASK 0x0000100000000000UL
168 #define UVH_EVENT_OCCURRED0_IPI_INT_SHFT 45
169 #define UVH_EVENT_OCCURRED0_IPI_INT_MASK 0x0000200000000000UL
170 #define UVH_EVENT_OCCURRED0_EXTIO_INT0_SHFT 46
171 #define UVH_EVENT_OCCURRED0_EXTIO_INT0_MASK 0x0000400000000000UL
172 #define UVH_EVENT_OCCURRED0_EXTIO_INT1_SHFT 47
173 #define UVH_EVENT_OCCURRED0_EXTIO_INT1_MASK 0x0000800000000000UL
174 #define UVH_EVENT_OCCURRED0_EXTIO_INT2_SHFT 48
175 #define UVH_EVENT_OCCURRED0_EXTIO_INT2_MASK 0x0001000000000000UL
176 #define UVH_EVENT_OCCURRED0_EXTIO_INT3_SHFT 49
177 #define UVH_EVENT_OCCURRED0_EXTIO_INT3_MASK 0x0002000000000000UL
178 #define UVH_EVENT_OCCURRED0_PROFILE_INT_SHFT 50
179 #define UVH_EVENT_OCCURRED0_PROFILE_INT_MASK 0x0004000000000000UL
180 #define UVH_EVENT_OCCURRED0_RTC0_SHFT 51
181 #define UVH_EVENT_OCCURRED0_RTC0_MASK 0x0008000000000000UL
182 #define UVH_EVENT_OCCURRED0_RTC1_SHFT 52
183 #define UVH_EVENT_OCCURRED0_RTC1_MASK 0x0010000000000000UL
184 #define UVH_EVENT_OCCURRED0_RTC2_SHFT 53
185 #define UVH_EVENT_OCCURRED0_RTC2_MASK 0x0020000000000000UL
186 #define UVH_EVENT_OCCURRED0_RTC3_SHFT 54
187 #define UVH_EVENT_OCCURRED0_RTC3_MASK 0x0040000000000000UL
188 #define UVH_EVENT_OCCURRED0_BAU_DATA_SHFT 55
189 #define UVH_EVENT_OCCURRED0_BAU_DATA_MASK 0x0080000000000000UL
190 #define UVH_EVENT_OCCURRED0_POWER_MANAGEMENT_REQ_SHFT 56
191 #define UVH_EVENT_OCCURRED0_POWER_MANAGEMENT_REQ_MASK 0x0100000000000000UL
192 union uvh_event_occurred0_u {
193     unsigned long	v;
194     struct uvh_event_occurred0_s {
195 	unsigned long	lb_hcerr             :  1;  /* RW, W1C */
196 	unsigned long	gr0_hcerr            :  1;  /* RW, W1C */
197 	unsigned long	gr1_hcerr            :  1;  /* RW, W1C */
198 	unsigned long	lh_hcerr             :  1;  /* RW, W1C */
199 	unsigned long	rh_hcerr             :  1;  /* RW, W1C */
200 	unsigned long	xn_hcerr             :  1;  /* RW, W1C */
201 	unsigned long	si_hcerr             :  1;  /* RW, W1C */
202 	unsigned long	lb_aoerr0            :  1;  /* RW, W1C */
203 	unsigned long	gr0_aoerr0           :  1;  /* RW, W1C */
204 	unsigned long	gr1_aoerr0           :  1;  /* RW, W1C */
205 	unsigned long	lh_aoerr0            :  1;  /* RW, W1C */
206 	unsigned long	rh_aoerr0            :  1;  /* RW, W1C */
207 	unsigned long	xn_aoerr0            :  1;  /* RW, W1C */
208 	unsigned long	si_aoerr0            :  1;  /* RW, W1C */
209 	unsigned long	lb_aoerr1            :  1;  /* RW, W1C */
210 	unsigned long	gr0_aoerr1           :  1;  /* RW, W1C */
211 	unsigned long	gr1_aoerr1           :  1;  /* RW, W1C */
212 	unsigned long	lh_aoerr1            :  1;  /* RW, W1C */
213 	unsigned long	rh_aoerr1            :  1;  /* RW, W1C */
214 	unsigned long	xn_aoerr1            :  1;  /* RW, W1C */
215 	unsigned long	si_aoerr1            :  1;  /* RW, W1C */
216 	unsigned long	rh_vpi_int           :  1;  /* RW, W1C */
217 	unsigned long	system_shutdown_int  :  1;  /* RW, W1C */
218 	unsigned long	lb_irq_int_0         :  1;  /* RW, W1C */
219 	unsigned long	lb_irq_int_1         :  1;  /* RW, W1C */
220 	unsigned long	lb_irq_int_2         :  1;  /* RW, W1C */
221 	unsigned long	lb_irq_int_3         :  1;  /* RW, W1C */
222 	unsigned long	lb_irq_int_4         :  1;  /* RW, W1C */
223 	unsigned long	lb_irq_int_5         :  1;  /* RW, W1C */
224 	unsigned long	lb_irq_int_6         :  1;  /* RW, W1C */
225 	unsigned long	lb_irq_int_7         :  1;  /* RW, W1C */
226 	unsigned long	lb_irq_int_8         :  1;  /* RW, W1C */
227 	unsigned long	lb_irq_int_9         :  1;  /* RW, W1C */
228 	unsigned long	lb_irq_int_10        :  1;  /* RW, W1C */
229 	unsigned long	lb_irq_int_11        :  1;  /* RW, W1C */
230 	unsigned long	lb_irq_int_12        :  1;  /* RW, W1C */
231 	unsigned long	lb_irq_int_13        :  1;  /* RW, W1C */
232 	unsigned long	lb_irq_int_14        :  1;  /* RW, W1C */
233 	unsigned long	lb_irq_int_15        :  1;  /* RW, W1C */
234 	unsigned long	l1_nmi_int           :  1;  /* RW, W1C */
235 	unsigned long	stop_clock           :  1;  /* RW, W1C */
236 	unsigned long	asic_to_l1           :  1;  /* RW, W1C */
237 	unsigned long	l1_to_asic           :  1;  /* RW, W1C */
238 	unsigned long	ltc_int              :  1;  /* RW, W1C */
239 	unsigned long	la_seq_trigger       :  1;  /* RW, W1C */
240 	unsigned long	ipi_int              :  1;  /* RW, W1C */
241 	unsigned long	extio_int0           :  1;  /* RW, W1C */
242 	unsigned long	extio_int1           :  1;  /* RW, W1C */
243 	unsigned long	extio_int2           :  1;  /* RW, W1C */
244 	unsigned long	extio_int3           :  1;  /* RW, W1C */
245 	unsigned long	profile_int          :  1;  /* RW, W1C */
246 	unsigned long	rtc0                 :  1;  /* RW, W1C */
247 	unsigned long	rtc1                 :  1;  /* RW, W1C */
248 	unsigned long	rtc2                 :  1;  /* RW, W1C */
249 	unsigned long	rtc3                 :  1;  /* RW, W1C */
250 	unsigned long	bau_data             :  1;  /* RW, W1C */
251 	unsigned long	power_management_req :  1;  /* RW, W1C */
252 	unsigned long	rsvd_57_63           :  7;  /*    */
253     } s;
254 };
255 
256 /* ========================================================================= */
257 /*                        UVH_EVENT_OCCURRED0_ALIAS                          */
258 /* ========================================================================= */
259 #define UVH_EVENT_OCCURRED0_ALIAS 0x0000000000070008UL
260 #define UVH_EVENT_OCCURRED0_ALIAS_32 0x005f0
261 
262 /* ========================================================================= */
263 /*                         UVH_GR0_TLB_INT0_CONFIG                           */
264 /* ========================================================================= */
265 #define UVH_GR0_TLB_INT0_CONFIG 0x61b00UL
266 
267 #define UVH_GR0_TLB_INT0_CONFIG_VECTOR_SHFT 0
268 #define UVH_GR0_TLB_INT0_CONFIG_VECTOR_MASK 0x00000000000000ffUL
269 #define UVH_GR0_TLB_INT0_CONFIG_DM_SHFT 8
270 #define UVH_GR0_TLB_INT0_CONFIG_DM_MASK 0x0000000000000700UL
271 #define UVH_GR0_TLB_INT0_CONFIG_DESTMODE_SHFT 11
272 #define UVH_GR0_TLB_INT0_CONFIG_DESTMODE_MASK 0x0000000000000800UL
273 #define UVH_GR0_TLB_INT0_CONFIG_STATUS_SHFT 12
274 #define UVH_GR0_TLB_INT0_CONFIG_STATUS_MASK 0x0000000000001000UL
275 #define UVH_GR0_TLB_INT0_CONFIG_P_SHFT 13
276 #define UVH_GR0_TLB_INT0_CONFIG_P_MASK 0x0000000000002000UL
277 #define UVH_GR0_TLB_INT0_CONFIG_T_SHFT 15
278 #define UVH_GR0_TLB_INT0_CONFIG_T_MASK 0x0000000000008000UL
279 #define UVH_GR0_TLB_INT0_CONFIG_M_SHFT 16
280 #define UVH_GR0_TLB_INT0_CONFIG_M_MASK 0x0000000000010000UL
281 #define UVH_GR0_TLB_INT0_CONFIG_APIC_ID_SHFT 32
282 #define UVH_GR0_TLB_INT0_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
283 
284 union uvh_gr0_tlb_int0_config_u {
285     unsigned long	v;
286     struct uvh_gr0_tlb_int0_config_s {
287 	unsigned long	vector_  :  8;  /* RW */
288 	unsigned long	dm       :  3;  /* RW */
289 	unsigned long	destmode :  1;  /* RW */
290 	unsigned long	status   :  1;  /* RO */
291 	unsigned long	p        :  1;  /* RO */
292 	unsigned long	rsvd_14  :  1;  /*    */
293 	unsigned long	t        :  1;  /* RO */
294 	unsigned long	m        :  1;  /* RW */
295 	unsigned long	rsvd_17_31: 15;  /*    */
296 	unsigned long	apic_id  : 32;  /* RW */
297     } s;
298 };
299 
300 /* ========================================================================= */
301 /*                         UVH_GR0_TLB_INT1_CONFIG                           */
302 /* ========================================================================= */
303 #define UVH_GR0_TLB_INT1_CONFIG 0x61b40UL
304 
305 #define UVH_GR0_TLB_INT1_CONFIG_VECTOR_SHFT 0
306 #define UVH_GR0_TLB_INT1_CONFIG_VECTOR_MASK 0x00000000000000ffUL
307 #define UVH_GR0_TLB_INT1_CONFIG_DM_SHFT 8
308 #define UVH_GR0_TLB_INT1_CONFIG_DM_MASK 0x0000000000000700UL
309 #define UVH_GR0_TLB_INT1_CONFIG_DESTMODE_SHFT 11
310 #define UVH_GR0_TLB_INT1_CONFIG_DESTMODE_MASK 0x0000000000000800UL
311 #define UVH_GR0_TLB_INT1_CONFIG_STATUS_SHFT 12
312 #define UVH_GR0_TLB_INT1_CONFIG_STATUS_MASK 0x0000000000001000UL
313 #define UVH_GR0_TLB_INT1_CONFIG_P_SHFT 13
314 #define UVH_GR0_TLB_INT1_CONFIG_P_MASK 0x0000000000002000UL
315 #define UVH_GR0_TLB_INT1_CONFIG_T_SHFT 15
316 #define UVH_GR0_TLB_INT1_CONFIG_T_MASK 0x0000000000008000UL
317 #define UVH_GR0_TLB_INT1_CONFIG_M_SHFT 16
318 #define UVH_GR0_TLB_INT1_CONFIG_M_MASK 0x0000000000010000UL
319 #define UVH_GR0_TLB_INT1_CONFIG_APIC_ID_SHFT 32
320 #define UVH_GR0_TLB_INT1_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
321 
322 union uvh_gr0_tlb_int1_config_u {
323     unsigned long	v;
324     struct uvh_gr0_tlb_int1_config_s {
325 	unsigned long	vector_  :  8;  /* RW */
326 	unsigned long	dm       :  3;  /* RW */
327 	unsigned long	destmode :  1;  /* RW */
328 	unsigned long	status   :  1;  /* RO */
329 	unsigned long	p        :  1;  /* RO */
330 	unsigned long	rsvd_14  :  1;  /*    */
331 	unsigned long	t        :  1;  /* RO */
332 	unsigned long	m        :  1;  /* RW */
333 	unsigned long	rsvd_17_31: 15;  /*    */
334 	unsigned long	apic_id  : 32;  /* RW */
335     } s;
336 };
337 
338 /* ========================================================================= */
339 /*                         UVH_GR1_TLB_INT0_CONFIG                           */
340 /* ========================================================================= */
341 #define UVH_GR1_TLB_INT0_CONFIG 0x61f00UL
342 
343 #define UVH_GR1_TLB_INT0_CONFIG_VECTOR_SHFT 0
344 #define UVH_GR1_TLB_INT0_CONFIG_VECTOR_MASK 0x00000000000000ffUL
345 #define UVH_GR1_TLB_INT0_CONFIG_DM_SHFT 8
346 #define UVH_GR1_TLB_INT0_CONFIG_DM_MASK 0x0000000000000700UL
347 #define UVH_GR1_TLB_INT0_CONFIG_DESTMODE_SHFT 11
348 #define UVH_GR1_TLB_INT0_CONFIG_DESTMODE_MASK 0x0000000000000800UL
349 #define UVH_GR1_TLB_INT0_CONFIG_STATUS_SHFT 12
350 #define UVH_GR1_TLB_INT0_CONFIG_STATUS_MASK 0x0000000000001000UL
351 #define UVH_GR1_TLB_INT0_CONFIG_P_SHFT 13
352 #define UVH_GR1_TLB_INT0_CONFIG_P_MASK 0x0000000000002000UL
353 #define UVH_GR1_TLB_INT0_CONFIG_T_SHFT 15
354 #define UVH_GR1_TLB_INT0_CONFIG_T_MASK 0x0000000000008000UL
355 #define UVH_GR1_TLB_INT0_CONFIG_M_SHFT 16
356 #define UVH_GR1_TLB_INT0_CONFIG_M_MASK 0x0000000000010000UL
357 #define UVH_GR1_TLB_INT0_CONFIG_APIC_ID_SHFT 32
358 #define UVH_GR1_TLB_INT0_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
359 
360 union uvh_gr1_tlb_int0_config_u {
361     unsigned long	v;
362     struct uvh_gr1_tlb_int0_config_s {
363 	unsigned long	vector_  :  8;  /* RW */
364 	unsigned long	dm       :  3;  /* RW */
365 	unsigned long	destmode :  1;  /* RW */
366 	unsigned long	status   :  1;  /* RO */
367 	unsigned long	p        :  1;  /* RO */
368 	unsigned long	rsvd_14  :  1;  /*    */
369 	unsigned long	t        :  1;  /* RO */
370 	unsigned long	m        :  1;  /* RW */
371 	unsigned long	rsvd_17_31: 15;  /*    */
372 	unsigned long	apic_id  : 32;  /* RW */
373     } s;
374 };
375 
376 /* ========================================================================= */
377 /*                         UVH_GR1_TLB_INT1_CONFIG                           */
378 /* ========================================================================= */
379 #define UVH_GR1_TLB_INT1_CONFIG 0x61f40UL
380 
381 #define UVH_GR1_TLB_INT1_CONFIG_VECTOR_SHFT 0
382 #define UVH_GR1_TLB_INT1_CONFIG_VECTOR_MASK 0x00000000000000ffUL
383 #define UVH_GR1_TLB_INT1_CONFIG_DM_SHFT 8
384 #define UVH_GR1_TLB_INT1_CONFIG_DM_MASK 0x0000000000000700UL
385 #define UVH_GR1_TLB_INT1_CONFIG_DESTMODE_SHFT 11
386 #define UVH_GR1_TLB_INT1_CONFIG_DESTMODE_MASK 0x0000000000000800UL
387 #define UVH_GR1_TLB_INT1_CONFIG_STATUS_SHFT 12
388 #define UVH_GR1_TLB_INT1_CONFIG_STATUS_MASK 0x0000000000001000UL
389 #define UVH_GR1_TLB_INT1_CONFIG_P_SHFT 13
390 #define UVH_GR1_TLB_INT1_CONFIG_P_MASK 0x0000000000002000UL
391 #define UVH_GR1_TLB_INT1_CONFIG_T_SHFT 15
392 #define UVH_GR1_TLB_INT1_CONFIG_T_MASK 0x0000000000008000UL
393 #define UVH_GR1_TLB_INT1_CONFIG_M_SHFT 16
394 #define UVH_GR1_TLB_INT1_CONFIG_M_MASK 0x0000000000010000UL
395 #define UVH_GR1_TLB_INT1_CONFIG_APIC_ID_SHFT 32
396 #define UVH_GR1_TLB_INT1_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
397 
398 union uvh_gr1_tlb_int1_config_u {
399     unsigned long	v;
400     struct uvh_gr1_tlb_int1_config_s {
401 	unsigned long	vector_  :  8;  /* RW */
402 	unsigned long	dm       :  3;  /* RW */
403 	unsigned long	destmode :  1;  /* RW */
404 	unsigned long	status   :  1;  /* RO */
405 	unsigned long	p        :  1;  /* RO */
406 	unsigned long	rsvd_14  :  1;  /*    */
407 	unsigned long	t        :  1;  /* RO */
408 	unsigned long	m        :  1;  /* RW */
409 	unsigned long	rsvd_17_31: 15;  /*    */
410 	unsigned long	apic_id  : 32;  /* RW */
411     } s;
412 };
413 
414 /* ========================================================================= */
415 /*                               UVH_INT_CMPB                                */
416 /* ========================================================================= */
417 #define UVH_INT_CMPB 0x22080UL
418 
419 #define UVH_INT_CMPB_REAL_TIME_CMPB_SHFT 0
420 #define UVH_INT_CMPB_REAL_TIME_CMPB_MASK 0x00ffffffffffffffUL
421 
422 union uvh_int_cmpb_u {
423     unsigned long	v;
424     struct uvh_int_cmpb_s {
425 	unsigned long	real_time_cmpb : 56;  /* RW */
426 	unsigned long	rsvd_56_63     :  8;  /*    */
427     } s;
428 };
429 
430 /* ========================================================================= */
431 /*                               UVH_INT_CMPC                                */
432 /* ========================================================================= */
433 #define UVH_INT_CMPC 0x22100UL
434 
435 #define UVH_INT_CMPC_REAL_TIME_CMPC_SHFT 0
436 #define UVH_INT_CMPC_REAL_TIME_CMPC_MASK 0x00ffffffffffffffUL
437 
438 union uvh_int_cmpc_u {
439     unsigned long	v;
440     struct uvh_int_cmpc_s {
441 	unsigned long	real_time_cmpc : 56;  /* RW */
442 	unsigned long	rsvd_56_63     :  8;  /*    */
443     } s;
444 };
445 
446 /* ========================================================================= */
447 /*                               UVH_INT_CMPD                                */
448 /* ========================================================================= */
449 #define UVH_INT_CMPD 0x22180UL
450 
451 #define UVH_INT_CMPD_REAL_TIME_CMPD_SHFT 0
452 #define UVH_INT_CMPD_REAL_TIME_CMPD_MASK 0x00ffffffffffffffUL
453 
454 union uvh_int_cmpd_u {
455     unsigned long	v;
456     struct uvh_int_cmpd_s {
457 	unsigned long	real_time_cmpd : 56;  /* RW */
458 	unsigned long	rsvd_56_63     :  8;  /*    */
459     } s;
460 };
461 
462 /* ========================================================================= */
463 /*                               UVH_IPI_INT                                 */
464 /* ========================================================================= */
465 #define UVH_IPI_INT 0x60500UL
466 #define UVH_IPI_INT_32 0x0348
467 
468 #define UVH_IPI_INT_VECTOR_SHFT 0
469 #define UVH_IPI_INT_VECTOR_MASK 0x00000000000000ffUL
470 #define UVH_IPI_INT_DELIVERY_MODE_SHFT 8
471 #define UVH_IPI_INT_DELIVERY_MODE_MASK 0x0000000000000700UL
472 #define UVH_IPI_INT_DESTMODE_SHFT 11
473 #define UVH_IPI_INT_DESTMODE_MASK 0x0000000000000800UL
474 #define UVH_IPI_INT_APIC_ID_SHFT 16
475 #define UVH_IPI_INT_APIC_ID_MASK 0x0000ffffffff0000UL
476 #define UVH_IPI_INT_SEND_SHFT 63
477 #define UVH_IPI_INT_SEND_MASK 0x8000000000000000UL
478 
479 union uvh_ipi_int_u {
480     unsigned long	v;
481     struct uvh_ipi_int_s {
482 	unsigned long	vector_       :  8;  /* RW */
483 	unsigned long	delivery_mode :  3;  /* RW */
484 	unsigned long	destmode      :  1;  /* RW */
485 	unsigned long	rsvd_12_15    :  4;  /*    */
486 	unsigned long	apic_id       : 32;  /* RW */
487 	unsigned long	rsvd_48_62    : 15;  /*    */
488 	unsigned long	send          :  1;  /* WP */
489     } s;
490 };
491 
492 /* ========================================================================= */
493 /*                   UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST                     */
494 /* ========================================================================= */
495 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST 0x320050UL
496 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST_32 0x009c0
497 
498 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST_ADDRESS_SHFT 4
499 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST_ADDRESS_MASK 0x000007fffffffff0UL
500 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST_NODE_ID_SHFT 49
501 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_FIRST_NODE_ID_MASK 0x7ffe000000000000UL
502 
503 union uvh_lb_bau_intd_payload_queue_first_u {
504     unsigned long	v;
505     struct uvh_lb_bau_intd_payload_queue_first_s {
506 	unsigned long	rsvd_0_3:  4;  /*    */
507 	unsigned long	address : 39;  /* RW */
508 	unsigned long	rsvd_43_48:  6;  /*    */
509 	unsigned long	node_id : 14;  /* RW */
510 	unsigned long	rsvd_63 :  1;  /*    */
511     } s;
512 };
513 
514 /* ========================================================================= */
515 /*                    UVH_LB_BAU_INTD_PAYLOAD_QUEUE_LAST                     */
516 /* ========================================================================= */
517 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_LAST 0x320060UL
518 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_LAST_32 0x009c8
519 
520 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_LAST_ADDRESS_SHFT 4
521 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_LAST_ADDRESS_MASK 0x000007fffffffff0UL
522 
523 union uvh_lb_bau_intd_payload_queue_last_u {
524     unsigned long	v;
525     struct uvh_lb_bau_intd_payload_queue_last_s {
526 	unsigned long	rsvd_0_3:  4;  /*    */
527 	unsigned long	address : 39;  /* RW */
528 	unsigned long	rsvd_43_63: 21;  /*    */
529     } s;
530 };
531 
532 /* ========================================================================= */
533 /*                    UVH_LB_BAU_INTD_PAYLOAD_QUEUE_TAIL                     */
534 /* ========================================================================= */
535 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_TAIL 0x320070UL
536 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_TAIL_32 0x009d0
537 
538 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_TAIL_ADDRESS_SHFT 4
539 #define UVH_LB_BAU_INTD_PAYLOAD_QUEUE_TAIL_ADDRESS_MASK 0x000007fffffffff0UL
540 
541 union uvh_lb_bau_intd_payload_queue_tail_u {
542     unsigned long	v;
543     struct uvh_lb_bau_intd_payload_queue_tail_s {
544 	unsigned long	rsvd_0_3:  4;  /*    */
545 	unsigned long	address : 39;  /* RW */
546 	unsigned long	rsvd_43_63: 21;  /*    */
547     } s;
548 };
549 
550 /* ========================================================================= */
551 /*                   UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE                    */
552 /* ========================================================================= */
553 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE 0x320080UL
554 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_32 0x0a68
555 
556 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_0_SHFT 0
557 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_0_MASK 0x0000000000000001UL
558 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_1_SHFT 1
559 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_1_MASK 0x0000000000000002UL
560 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_2_SHFT 2
561 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_2_MASK 0x0000000000000004UL
562 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_3_SHFT 3
563 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_3_MASK 0x0000000000000008UL
564 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_4_SHFT 4
565 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_4_MASK 0x0000000000000010UL
566 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_5_SHFT 5
567 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_5_MASK 0x0000000000000020UL
568 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_6_SHFT 6
569 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_6_MASK 0x0000000000000040UL
570 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_7_SHFT 7
571 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_PENDING_7_MASK 0x0000000000000080UL
572 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_0_SHFT 8
573 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_0_MASK 0x0000000000000100UL
574 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_1_SHFT 9
575 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_1_MASK 0x0000000000000200UL
576 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_2_SHFT 10
577 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_2_MASK 0x0000000000000400UL
578 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_3_SHFT 11
579 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_3_MASK 0x0000000000000800UL
580 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_4_SHFT 12
581 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_4_MASK 0x0000000000001000UL
582 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_5_SHFT 13
583 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_5_MASK 0x0000000000002000UL
584 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_6_SHFT 14
585 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_6_MASK 0x0000000000004000UL
586 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_7_SHFT 15
587 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_TIMEOUT_7_MASK 0x0000000000008000UL
588 union uvh_lb_bau_intd_software_acknowledge_u {
589     unsigned long	v;
590     struct uvh_lb_bau_intd_software_acknowledge_s {
591 	unsigned long	pending_0 :  1;  /* RW, W1C */
592 	unsigned long	pending_1 :  1;  /* RW, W1C */
593 	unsigned long	pending_2 :  1;  /* RW, W1C */
594 	unsigned long	pending_3 :  1;  /* RW, W1C */
595 	unsigned long	pending_4 :  1;  /* RW, W1C */
596 	unsigned long	pending_5 :  1;  /* RW, W1C */
597 	unsigned long	pending_6 :  1;  /* RW, W1C */
598 	unsigned long	pending_7 :  1;  /* RW, W1C */
599 	unsigned long	timeout_0 :  1;  /* RW, W1C */
600 	unsigned long	timeout_1 :  1;  /* RW, W1C */
601 	unsigned long	timeout_2 :  1;  /* RW, W1C */
602 	unsigned long	timeout_3 :  1;  /* RW, W1C */
603 	unsigned long	timeout_4 :  1;  /* RW, W1C */
604 	unsigned long	timeout_5 :  1;  /* RW, W1C */
605 	unsigned long	timeout_6 :  1;  /* RW, W1C */
606 	unsigned long	timeout_7 :  1;  /* RW, W1C */
607 	unsigned long	rsvd_16_63: 48;  /*    */
608     } s;
609 };
610 
611 /* ========================================================================= */
612 /*                UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_ALIAS                 */
613 /* ========================================================================= */
614 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_ALIAS 0x0000000000320088UL
615 #define UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_ALIAS_32 0x0a70
616 
617 /* ========================================================================= */
618 /*                         UVH_LB_BAU_MISC_CONTROL                           */
619 /* ========================================================================= */
620 #define UVH_LB_BAU_MISC_CONTROL 0x320170UL
621 #define UVH_LB_BAU_MISC_CONTROL_32 0x00a10
622 
623 #define UVH_LB_BAU_MISC_CONTROL_REJECTION_DELAY_SHFT 0
624 #define UVH_LB_BAU_MISC_CONTROL_REJECTION_DELAY_MASK 0x00000000000000ffUL
625 #define UVH_LB_BAU_MISC_CONTROL_APIC_MODE_SHFT 8
626 #define UVH_LB_BAU_MISC_CONTROL_APIC_MODE_MASK 0x0000000000000100UL
627 #define UVH_LB_BAU_MISC_CONTROL_FORCE_BROADCAST_SHFT 9
628 #define UVH_LB_BAU_MISC_CONTROL_FORCE_BROADCAST_MASK 0x0000000000000200UL
629 #define UVH_LB_BAU_MISC_CONTROL_FORCE_LOCK_NOP_SHFT 10
630 #define UVH_LB_BAU_MISC_CONTROL_FORCE_LOCK_NOP_MASK 0x0000000000000400UL
631 #define UVH_LB_BAU_MISC_CONTROL_CSI_AGENT_PRESENCE_VECTOR_SHFT 11
632 #define UVH_LB_BAU_MISC_CONTROL_CSI_AGENT_PRESENCE_VECTOR_MASK 0x0000000000003800UL
633 #define UVH_LB_BAU_MISC_CONTROL_DESCRIPTOR_FETCH_MODE_SHFT 14
634 #define UVH_LB_BAU_MISC_CONTROL_DESCRIPTOR_FETCH_MODE_MASK 0x0000000000004000UL
635 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_INTD_SOFT_ACK_MODE_SHFT 15
636 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_INTD_SOFT_ACK_MODE_MASK 0x0000000000008000UL
637 #define UVH_LB_BAU_MISC_CONTROL_INTD_SOFT_ACK_TIMEOUT_PERIOD_SHFT 16
638 #define UVH_LB_BAU_MISC_CONTROL_INTD_SOFT_ACK_TIMEOUT_PERIOD_MASK 0x00000000000f0000UL
639 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_DUAL_MAPPING_MODE_SHFT 20
640 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_DUAL_MAPPING_MODE_MASK 0x0000000000100000UL
641 #define UVH_LB_BAU_MISC_CONTROL_VGA_IO_PORT_DECODE_ENABLE_SHFT 21
642 #define UVH_LB_BAU_MISC_CONTROL_VGA_IO_PORT_DECODE_ENABLE_MASK 0x0000000000200000UL
643 #define UVH_LB_BAU_MISC_CONTROL_VGA_IO_PORT_16_BIT_DECODE_SHFT 22
644 #define UVH_LB_BAU_MISC_CONTROL_VGA_IO_PORT_16_BIT_DECODE_MASK 0x0000000000400000UL
645 #define UVH_LB_BAU_MISC_CONTROL_SUPPRESS_DEST_REGISTRATION_SHFT 23
646 #define UVH_LB_BAU_MISC_CONTROL_SUPPRESS_DEST_REGISTRATION_MASK 0x0000000000800000UL
647 #define UVH_LB_BAU_MISC_CONTROL_PROGRAMMED_INITIAL_PRIORITY_SHFT 24
648 #define UVH_LB_BAU_MISC_CONTROL_PROGRAMMED_INITIAL_PRIORITY_MASK 0x0000000007000000UL
649 #define UVH_LB_BAU_MISC_CONTROL_USE_INCOMING_PRIORITY_SHFT 27
650 #define UVH_LB_BAU_MISC_CONTROL_USE_INCOMING_PRIORITY_MASK 0x0000000008000000UL
651 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_PROGRAMMED_INITIAL_PRIORITY_SHFT 28
652 #define UVH_LB_BAU_MISC_CONTROL_ENABLE_PROGRAMMED_INITIAL_PRIORITY_MASK 0x0000000010000000UL
653 #define UVH_LB_BAU_MISC_CONTROL_FUN_SHFT 48
654 #define UVH_LB_BAU_MISC_CONTROL_FUN_MASK 0xffff000000000000UL
655 
656 union uvh_lb_bau_misc_control_u {
657     unsigned long	v;
658     struct uvh_lb_bau_misc_control_s {
659 	unsigned long	rejection_delay                    :  8;  /* RW */
660 	unsigned long	apic_mode                          :  1;  /* RW */
661 	unsigned long	force_broadcast                    :  1;  /* RW */
662 	unsigned long	force_lock_nop                     :  1;  /* RW */
663 	unsigned long	csi_agent_presence_vector          :  3;  /* RW */
664 	unsigned long	descriptor_fetch_mode              :  1;  /* RW */
665 	unsigned long	enable_intd_soft_ack_mode          :  1;  /* RW */
666 	unsigned long	intd_soft_ack_timeout_period       :  4;  /* RW */
667 	unsigned long	enable_dual_mapping_mode           :  1;  /* RW */
668 	unsigned long	vga_io_port_decode_enable          :  1;  /* RW */
669 	unsigned long	vga_io_port_16_bit_decode          :  1;  /* RW */
670 	unsigned long	suppress_dest_registration         :  1;  /* RW */
671 	unsigned long	programmed_initial_priority        :  3;  /* RW */
672 	unsigned long	use_incoming_priority              :  1;  /* RW */
673 	unsigned long	enable_programmed_initial_priority :  1;  /* RW */
674 	unsigned long	rsvd_29_47                         : 19;  /*    */
675 	unsigned long	fun                                : 16;  /* RW */
676     } s;
677 };
678 
679 /* ========================================================================= */
680 /*                     UVH_LB_BAU_SB_ACTIVATION_CONTROL                      */
681 /* ========================================================================= */
682 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL 0x320020UL
683 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_32 0x009a8
684 
685 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_INDEX_SHFT 0
686 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_INDEX_MASK 0x000000000000003fUL
687 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_PUSH_SHFT 62
688 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_PUSH_MASK 0x4000000000000000UL
689 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_INIT_SHFT 63
690 #define UVH_LB_BAU_SB_ACTIVATION_CONTROL_INIT_MASK 0x8000000000000000UL
691 
692 union uvh_lb_bau_sb_activation_control_u {
693     unsigned long	v;
694     struct uvh_lb_bau_sb_activation_control_s {
695 	unsigned long	index :  6;  /* RW */
696 	unsigned long	rsvd_6_61: 56;  /*    */
697 	unsigned long	push  :  1;  /* WP */
698 	unsigned long	init  :  1;  /* WP */
699     } s;
700 };
701 
702 /* ========================================================================= */
703 /*                    UVH_LB_BAU_SB_ACTIVATION_STATUS_0                      */
704 /* ========================================================================= */
705 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_0 0x320030UL
706 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_0_32 0x009b0
707 
708 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_0_STATUS_SHFT 0
709 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_0_STATUS_MASK 0xffffffffffffffffUL
710 
711 union uvh_lb_bau_sb_activation_status_0_u {
712     unsigned long	v;
713     struct uvh_lb_bau_sb_activation_status_0_s {
714 	unsigned long	status : 64;  /* RW */
715     } s;
716 };
717 
718 /* ========================================================================= */
719 /*                    UVH_LB_BAU_SB_ACTIVATION_STATUS_1                      */
720 /* ========================================================================= */
721 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_1 0x320040UL
722 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_1_32 0x009b8
723 
724 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_1_STATUS_SHFT 0
725 #define UVH_LB_BAU_SB_ACTIVATION_STATUS_1_STATUS_MASK 0xffffffffffffffffUL
726 
727 union uvh_lb_bau_sb_activation_status_1_u {
728     unsigned long	v;
729     struct uvh_lb_bau_sb_activation_status_1_s {
730 	unsigned long	status : 64;  /* RW */
731     } s;
732 };
733 
734 /* ========================================================================= */
735 /*                      UVH_LB_BAU_SB_DESCRIPTOR_BASE                        */
736 /* ========================================================================= */
737 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE 0x320010UL
738 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE_32 0x009a0
739 
740 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE_PAGE_ADDRESS_SHFT 12
741 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE_PAGE_ADDRESS_MASK 0x000007fffffff000UL
742 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE_NODE_ID_SHFT 49
743 #define UVH_LB_BAU_SB_DESCRIPTOR_BASE_NODE_ID_MASK 0x7ffe000000000000UL
744 
745 union uvh_lb_bau_sb_descriptor_base_u {
746     unsigned long	v;
747     struct uvh_lb_bau_sb_descriptor_base_s {
748 	unsigned long	rsvd_0_11    : 12;  /*    */
749 	unsigned long	page_address : 31;  /* RW */
750 	unsigned long	rsvd_43_48   :  6;  /*    */
751 	unsigned long	node_id      : 14;  /* RW */
752 	unsigned long	rsvd_63      :  1;  /*    */
753     } s;
754 };
755 
756 /* ========================================================================= */
757 /*                               UVH_NODE_ID                                 */
758 /* ========================================================================= */
759 #define UVH_NODE_ID 0x0UL
760 
761 #define UVH_NODE_ID_FORCE1_SHFT 0
762 #define UVH_NODE_ID_FORCE1_MASK 0x0000000000000001UL
763 #define UVH_NODE_ID_MANUFACTURER_SHFT 1
764 #define UVH_NODE_ID_MANUFACTURER_MASK 0x0000000000000ffeUL
765 #define UVH_NODE_ID_PART_NUMBER_SHFT 12
766 #define UVH_NODE_ID_PART_NUMBER_MASK 0x000000000ffff000UL
767 #define UVH_NODE_ID_REVISION_SHFT 28
768 #define UVH_NODE_ID_REVISION_MASK 0x00000000f0000000UL
769 #define UVH_NODE_ID_NODE_ID_SHFT 32
770 #define UVH_NODE_ID_NODE_ID_MASK 0x00007fff00000000UL
771 #define UVH_NODE_ID_NODES_PER_BIT_SHFT 48
772 #define UVH_NODE_ID_NODES_PER_BIT_MASK 0x007f000000000000UL
773 #define UVH_NODE_ID_NI_PORT_SHFT 56
774 #define UVH_NODE_ID_NI_PORT_MASK 0x0f00000000000000UL
775 
776 union uvh_node_id_u {
777     unsigned long	v;
778     struct uvh_node_id_s {
779 	unsigned long	force1        :  1;  /* RO */
780 	unsigned long	manufacturer  : 11;  /* RO */
781 	unsigned long	part_number   : 16;  /* RO */
782 	unsigned long	revision      :  4;  /* RO */
783 	unsigned long	node_id       : 15;  /* RW */
784 	unsigned long	rsvd_47       :  1;  /*    */
785 	unsigned long	nodes_per_bit :  7;  /* RW */
786 	unsigned long	rsvd_55       :  1;  /*    */
787 	unsigned long	ni_port       :  4;  /* RO */
788 	unsigned long	rsvd_60_63    :  4;  /*    */
789     } s;
790 };
791 
792 /* ========================================================================= */
793 /*                          UVH_NODE_PRESENT_TABLE                           */
794 /* ========================================================================= */
795 #define UVH_NODE_PRESENT_TABLE 0x1400UL
796 #define UVH_NODE_PRESENT_TABLE_DEPTH 16
797 
798 #define UVH_NODE_PRESENT_TABLE_NODES_SHFT 0
799 #define UVH_NODE_PRESENT_TABLE_NODES_MASK 0xffffffffffffffffUL
800 
801 union uvh_node_present_table_u {
802     unsigned long	v;
803     struct uvh_node_present_table_s {
804 	unsigned long	nodes : 64;  /* RW */
805     } s;
806 };
807 
808 /* ========================================================================= */
809 /*                UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR                  */
810 /* ========================================================================= */
811 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR 0x16000d0UL
812 
813 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR_DEST_BASE_SHFT 24
814 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR_DEST_BASE_MASK 0x00003fffff000000UL
815 
816 union uvh_rh_gam_alias210_redirect_config_0_mmr_u {
817     unsigned long	v;
818     struct uvh_rh_gam_alias210_redirect_config_0_mmr_s {
819 	unsigned long	rsvd_0_23 : 24;  /*    */
820 	unsigned long	dest_base : 22;  /* RW */
821 	unsigned long	rsvd_46_63: 18;  /*    */
822     } s;
823 };
824 
825 /* ========================================================================= */
826 /*                UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR                  */
827 /* ========================================================================= */
828 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR 0x16000e0UL
829 
830 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR_DEST_BASE_SHFT 24
831 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR_DEST_BASE_MASK 0x00003fffff000000UL
832 
833 union uvh_rh_gam_alias210_redirect_config_1_mmr_u {
834     unsigned long	v;
835     struct uvh_rh_gam_alias210_redirect_config_1_mmr_s {
836 	unsigned long	rsvd_0_23 : 24;  /*    */
837 	unsigned long	dest_base : 22;  /* RW */
838 	unsigned long	rsvd_46_63: 18;  /*    */
839     } s;
840 };
841 
842 /* ========================================================================= */
843 /*                UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR                  */
844 /* ========================================================================= */
845 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR 0x16000f0UL
846 
847 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR_DEST_BASE_SHFT 24
848 #define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR_DEST_BASE_MASK 0x00003fffff000000UL
849 
850 union uvh_rh_gam_alias210_redirect_config_2_mmr_u {
851     unsigned long	v;
852     struct uvh_rh_gam_alias210_redirect_config_2_mmr_s {
853 	unsigned long	rsvd_0_23 : 24;  /*    */
854 	unsigned long	dest_base : 22;  /* RW */
855 	unsigned long	rsvd_46_63: 18;  /*    */
856     } s;
857 };
858 
859 /* ========================================================================= */
860 /*                    UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR                      */
861 /* ========================================================================= */
862 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR 0x1600010UL
863 
864 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_SHFT 28
865 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffff0000000UL
866 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_GR4_SHFT 48
867 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_GR4_MASK 0x0001000000000000UL
868 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_N_GRU_SHFT 52
869 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_N_GRU_MASK 0x00f0000000000000UL
870 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63
871 #define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL
872 
873 union uvh_rh_gam_gru_overlay_config_mmr_u {
874     unsigned long	v;
875     struct uvh_rh_gam_gru_overlay_config_mmr_s {
876 	unsigned long	rsvd_0_27: 28;  /*    */
877 	unsigned long	base   : 18;  /* RW */
878 	unsigned long	rsvd_46_47:  2;  /*    */
879 	unsigned long	gr4    :  1;  /* RW */
880 	unsigned long	rsvd_49_51:  3;  /*    */
881 	unsigned long	n_gru  :  4;  /* RW */
882 	unsigned long	rsvd_56_62:  7;  /*    */
883 	unsigned long	enable :  1;  /* RW */
884     } s;
885 };
886 
887 /* ========================================================================= */
888 /*                   UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR                     */
889 /* ========================================================================= */
890 #define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR 0x1600030UL
891 
892 #define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_BASE_SHFT 30
893 #define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003fffc0000000UL
894 #define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_M_IO_SHFT 46
895 #define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_M_IO_MASK 0x000fc00000000000UL
896 #define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_N_IO_SHFT 52
897 #define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_N_IO_MASK 0x00f0000000000000UL
898 #define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63
899 #define UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL
900 
901 union uvh_rh_gam_mmioh_overlay_config_mmr_u {
902     unsigned long	v;
903     struct uvh_rh_gam_mmioh_overlay_config_mmr_s {
904 	unsigned long	rsvd_0_29: 30;  /*    */
905 	unsigned long	base   : 16;  /* RW */
906 	unsigned long	m_io   :  6;  /* RW */
907 	unsigned long	n_io   :  4;  /* RW */
908 	unsigned long	rsvd_56_62:  7;  /*    */
909 	unsigned long	enable :  1;  /* RW */
910     } s;
911 };
912 
913 /* ========================================================================= */
914 /*                    UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR                      */
915 /* ========================================================================= */
916 #define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR 0x1600028UL
917 
918 #define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_SHFT 26
919 #define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffffc000000UL
920 #define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_DUAL_HUB_SHFT 46
921 #define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_DUAL_HUB_MASK 0x0000400000000000UL
922 #define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63
923 #define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL
924 
925 union uvh_rh_gam_mmr_overlay_config_mmr_u {
926     unsigned long	v;
927     struct uvh_rh_gam_mmr_overlay_config_mmr_s {
928 	unsigned long	rsvd_0_25: 26;  /*    */
929 	unsigned long	base     : 20;  /* RW */
930 	unsigned long	dual_hub :  1;  /* RW */
931 	unsigned long	rsvd_47_62: 16;  /*    */
932 	unsigned long	enable   :  1;  /* RW */
933     } s;
934 };
935 
936 /* ========================================================================= */
937 /*                                 UVH_RTC                                   */
938 /* ========================================================================= */
939 #define UVH_RTC 0x340000UL
940 
941 #define UVH_RTC_REAL_TIME_CLOCK_SHFT 0
942 #define UVH_RTC_REAL_TIME_CLOCK_MASK 0x00ffffffffffffffUL
943 
944 union uvh_rtc_u {
945     unsigned long	v;
946     struct uvh_rtc_s {
947 	unsigned long	real_time_clock : 56;  /* RW */
948 	unsigned long	rsvd_56_63      :  8;  /*    */
949     } s;
950 };
951 
952 /* ========================================================================= */
953 /*                           UVH_RTC1_INT_CONFIG                             */
954 /* ========================================================================= */
955 #define UVH_RTC1_INT_CONFIG 0x615c0UL
956 
957 #define UVH_RTC1_INT_CONFIG_VECTOR_SHFT 0
958 #define UVH_RTC1_INT_CONFIG_VECTOR_MASK 0x00000000000000ffUL
959 #define UVH_RTC1_INT_CONFIG_DM_SHFT 8
960 #define UVH_RTC1_INT_CONFIG_DM_MASK 0x0000000000000700UL
961 #define UVH_RTC1_INT_CONFIG_DESTMODE_SHFT 11
962 #define UVH_RTC1_INT_CONFIG_DESTMODE_MASK 0x0000000000000800UL
963 #define UVH_RTC1_INT_CONFIG_STATUS_SHFT 12
964 #define UVH_RTC1_INT_CONFIG_STATUS_MASK 0x0000000000001000UL
965 #define UVH_RTC1_INT_CONFIG_P_SHFT 13
966 #define UVH_RTC1_INT_CONFIG_P_MASK 0x0000000000002000UL
967 #define UVH_RTC1_INT_CONFIG_T_SHFT 15
968 #define UVH_RTC1_INT_CONFIG_T_MASK 0x0000000000008000UL
969 #define UVH_RTC1_INT_CONFIG_M_SHFT 16
970 #define UVH_RTC1_INT_CONFIG_M_MASK 0x0000000000010000UL
971 #define UVH_RTC1_INT_CONFIG_APIC_ID_SHFT 32
972 #define UVH_RTC1_INT_CONFIG_APIC_ID_MASK 0xffffffff00000000UL
973 
974 union uvh_rtc1_int_config_u {
975     unsigned long	v;
976     struct uvh_rtc1_int_config_s {
977 	unsigned long	vector_  :  8;  /* RW */
978 	unsigned long	dm       :  3;  /* RW */
979 	unsigned long	destmode :  1;  /* RW */
980 	unsigned long	status   :  1;  /* RO */
981 	unsigned long	p        :  1;  /* RO */
982 	unsigned long	rsvd_14  :  1;  /*    */
983 	unsigned long	t        :  1;  /* RO */
984 	unsigned long	m        :  1;  /* RW */
985 	unsigned long	rsvd_17_31: 15;  /*    */
986 	unsigned long	apic_id  : 32;  /* RW */
987     } s;
988 };
989 
990 /* ========================================================================= */
991 /*                          UVH_SI_ADDR_MAP_CONFIG                           */
992 /* ========================================================================= */
993 #define UVH_SI_ADDR_MAP_CONFIG 0xc80000UL
994 
995 #define UVH_SI_ADDR_MAP_CONFIG_M_SKT_SHFT 0
996 #define UVH_SI_ADDR_MAP_CONFIG_M_SKT_MASK 0x000000000000003fUL
997 #define UVH_SI_ADDR_MAP_CONFIG_N_SKT_SHFT 8
998 #define UVH_SI_ADDR_MAP_CONFIG_N_SKT_MASK 0x0000000000000f00UL
999 
1000 union uvh_si_addr_map_config_u {
1001     unsigned long	v;
1002     struct uvh_si_addr_map_config_s {
1003 	unsigned long	m_skt :  6;  /* RW */
1004 	unsigned long	rsvd_6_7:  2;  /*    */
1005 	unsigned long	n_skt :  4;  /* RW */
1006 	unsigned long	rsvd_12_63: 52;  /*    */
1007     } s;
1008 };
1009 
1010 /* ========================================================================= */
1011 /*                       UVH_SI_ALIAS0_OVERLAY_CONFIG                        */
1012 /* ========================================================================= */
1013 #define UVH_SI_ALIAS0_OVERLAY_CONFIG 0xc80008UL
1014 
1015 #define UVH_SI_ALIAS0_OVERLAY_CONFIG_BASE_SHFT 24
1016 #define UVH_SI_ALIAS0_OVERLAY_CONFIG_BASE_MASK 0x00000000ff000000UL
1017 #define UVH_SI_ALIAS0_OVERLAY_CONFIG_M_ALIAS_SHFT 48
1018 #define UVH_SI_ALIAS0_OVERLAY_CONFIG_M_ALIAS_MASK 0x001f000000000000UL
1019 #define UVH_SI_ALIAS0_OVERLAY_CONFIG_ENABLE_SHFT 63
1020 #define UVH_SI_ALIAS0_OVERLAY_CONFIG_ENABLE_MASK 0x8000000000000000UL
1021 
1022 union uvh_si_alias0_overlay_config_u {
1023     unsigned long	v;
1024     struct uvh_si_alias0_overlay_config_s {
1025 	unsigned long	rsvd_0_23: 24;  /*    */
1026 	unsigned long	base    :  8;  /* RW */
1027 	unsigned long	rsvd_32_47: 16;  /*    */
1028 	unsigned long	m_alias :  5;  /* RW */
1029 	unsigned long	rsvd_53_62: 10;  /*    */
1030 	unsigned long	enable  :  1;  /* RW */
1031     } s;
1032 };
1033 
1034 /* ========================================================================= */
1035 /*                       UVH_SI_ALIAS1_OVERLAY_CONFIG                        */
1036 /* ========================================================================= */
1037 #define UVH_SI_ALIAS1_OVERLAY_CONFIG 0xc80010UL
1038 
1039 #define UVH_SI_ALIAS1_OVERLAY_CONFIG_BASE_SHFT 24
1040 #define UVH_SI_ALIAS1_OVERLAY_CONFIG_BASE_MASK 0x00000000ff000000UL
1041 #define UVH_SI_ALIAS1_OVERLAY_CONFIG_M_ALIAS_SHFT 48
1042 #define UVH_SI_ALIAS1_OVERLAY_CONFIG_M_ALIAS_MASK 0x001f000000000000UL
1043 #define UVH_SI_ALIAS1_OVERLAY_CONFIG_ENABLE_SHFT 63
1044 #define UVH_SI_ALIAS1_OVERLAY_CONFIG_ENABLE_MASK 0x8000000000000000UL
1045 
1046 union uvh_si_alias1_overlay_config_u {
1047     unsigned long	v;
1048     struct uvh_si_alias1_overlay_config_s {
1049 	unsigned long	rsvd_0_23: 24;  /*    */
1050 	unsigned long	base    :  8;  /* RW */
1051 	unsigned long	rsvd_32_47: 16;  /*    */
1052 	unsigned long	m_alias :  5;  /* RW */
1053 	unsigned long	rsvd_53_62: 10;  /*    */
1054 	unsigned long	enable  :  1;  /* RW */
1055     } s;
1056 };
1057 
1058 /* ========================================================================= */
1059 /*                       UVH_SI_ALIAS2_OVERLAY_CONFIG                        */
1060 /* ========================================================================= */
1061 #define UVH_SI_ALIAS2_OVERLAY_CONFIG 0xc80018UL
1062 
1063 #define UVH_SI_ALIAS2_OVERLAY_CONFIG_BASE_SHFT 24
1064 #define UVH_SI_ALIAS2_OVERLAY_CONFIG_BASE_MASK 0x00000000ff000000UL
1065 #define UVH_SI_ALIAS2_OVERLAY_CONFIG_M_ALIAS_SHFT 48
1066 #define UVH_SI_ALIAS2_OVERLAY_CONFIG_M_ALIAS_MASK 0x001f000000000000UL
1067 #define UVH_SI_ALIAS2_OVERLAY_CONFIG_ENABLE_SHFT 63
1068 #define UVH_SI_ALIAS2_OVERLAY_CONFIG_ENABLE_MASK 0x8000000000000000UL
1069 
1070 union uvh_si_alias2_overlay_config_u {
1071     unsigned long	v;
1072     struct uvh_si_alias2_overlay_config_s {
1073 	unsigned long	rsvd_0_23: 24;  /*    */
1074 	unsigned long	base    :  8;  /* RW */
1075 	unsigned long	rsvd_32_47: 16;  /*    */
1076 	unsigned long	m_alias :  5;  /* RW */
1077 	unsigned long	rsvd_53_62: 10;  /*    */
1078 	unsigned long	enable  :  1;  /* RW */
1079     } s;
1080 };
1081 
1082 
1083 #endif /* _ASM_X86_UV_UV_MMRS_H */
1084