diff options
Diffstat (limited to 'include/kvm')
-rw-r--r-- | include/kvm/arm_vgic.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index ff04afd0d901..98c30168bce4 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h | |||
@@ -162,7 +162,11 @@ struct vgic_dist { | |||
162 | 162 | ||
163 | /* Distributor and vcpu interface mapping in the guest */ | 163 | /* Distributor and vcpu interface mapping in the guest */ |
164 | phys_addr_t vgic_dist_base; | 164 | phys_addr_t vgic_dist_base; |
165 | phys_addr_t vgic_cpu_base; | 165 | /* GICv2 and GICv3 use different mapped register blocks */ |
166 | union { | ||
167 | phys_addr_t vgic_cpu_base; | ||
168 | phys_addr_t vgic_redist_base; | ||
169 | }; | ||
166 | 170 | ||
167 | /* Distributor enabled */ | 171 | /* Distributor enabled */ |
168 | u32 enabled; | 172 | u32 enabled; |
@@ -224,6 +228,9 @@ struct vgic_dist { | |||
224 | */ | 228 | */ |
225 | struct vgic_bitmap *irq_spi_target; | 229 | struct vgic_bitmap *irq_spi_target; |
226 | 230 | ||
231 | /* Target MPIDR for each IRQ (needed for GICv3 IROUTERn) only */ | ||
232 | u32 *irq_spi_mpidr; | ||
233 | |||
227 | /* Bitmap indicating which CPU has something pending */ | 234 | /* Bitmap indicating which CPU has something pending */ |
228 | unsigned long *irq_pending_on_cpu; | 235 | unsigned long *irq_pending_on_cpu; |
229 | 236 | ||