aboutsummaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-05-09 06:51:49 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2017-05-09 06:51:49 -0400
commit36c344f3f1ffc0b1b20abd237b7401dc6687ee8f (patch)
tree24b330a2e62bfc8f576cccdc833b53e1f1b69050 /include/kvm
parent03efce6f935f89f90a98997ceea514aeff47b6dc (diff)
parenta2b19e6e2d4bb662a64799541c144fd94f8fb024 (diff)
Merge tag 'kvm-arm-for-v4.12-round2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
Second round of KVM/ARM Changes for v4.12. Changes include: - A fix related to the 32-bit idmap stub - A fix to the bitmask used to deode the operands of an AArch32 CP instruction - We have moved the files shared between arch/arm/kvm and arch/arm64/kvm to virt/kvm/arm - We add support for saving/restoring the virtual ITS state to userspace
Diffstat (limited to 'include/kvm')
-rw-r--r--include/kvm/arm_vgic.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index 581a59ea7e34..97b8d3728b31 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -148,7 +148,6 @@ struct vgic_its {
148 gpa_t vgic_its_base; 148 gpa_t vgic_its_base;
149 149
150 bool enabled; 150 bool enabled;
151 bool initialized;
152 struct vgic_io_device iodev; 151 struct vgic_io_device iodev;
153 struct kvm_device *dev; 152 struct kvm_device *dev;
154 153
@@ -162,6 +161,9 @@ struct vgic_its {
162 u32 creadr; 161 u32 creadr;
163 u32 cwriter; 162 u32 cwriter;
164 163
164 /* migration ABI revision in use */
165 u32 abi_rev;
166
165 /* Protects the device and collection lists */ 167 /* Protects the device and collection lists */
166 struct mutex its_lock; 168 struct mutex its_lock;
167 struct list_head device_list; 169 struct list_head device_list;
@@ -283,6 +285,7 @@ extern struct static_key_false vgic_v2_cpuif_trap;
283 285
284int kvm_vgic_addr(struct kvm *kvm, unsigned long type, u64 *addr, bool write); 286int kvm_vgic_addr(struct kvm *kvm, unsigned long type, u64 *addr, bool write);
285void kvm_vgic_early_init(struct kvm *kvm); 287void kvm_vgic_early_init(struct kvm *kvm);
288int kvm_vgic_vcpu_init(struct kvm_vcpu *vcpu);
286int kvm_vgic_create(struct kvm *kvm, u32 type); 289int kvm_vgic_create(struct kvm *kvm, u32 type);
287void kvm_vgic_destroy(struct kvm *kvm); 290void kvm_vgic_destroy(struct kvm *kvm);
288void kvm_vgic_vcpu_early_init(struct kvm_vcpu *vcpu); 291void kvm_vgic_vcpu_early_init(struct kvm_vcpu *vcpu);