aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic.h
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2015-03-13 13:02:54 -0400
committerChristoffer Dall <christoffer.dall@linaro.org>2015-03-14 08:46:44 -0400
commit47a98b15ba7cf6a13bd94ab8455d3f586b16420b (patch)
tree5b0263f9e628236b50dd863da13269912cf5873b /virt/kvm/arm/vgic.h
parent71760950bf3dc796e5e53ea3300dec724a09f593 (diff)
arm/arm64: KVM: support for un-queuing active IRQs
Migrating active interrupts causes the active state to be lost completely. This implements some additional bitmaps to track the active state on the distributor and export this to user space. Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/arm/vgic.h')
-rw-r--r--virt/kvm/arm/vgic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/virt/kvm/arm/vgic.h b/virt/kvm/arm/vgic.h
index 1e83bdf5f499..1e5a38128804 100644
--- a/virt/kvm/arm/vgic.h
+++ b/virt/kvm/arm/vgic.h
@@ -107,6 +107,14 @@ bool vgic_handle_set_pending_reg(struct kvm *kvm, struct kvm_exit_mmio *mmio,
107bool vgic_handle_clear_pending_reg(struct kvm *kvm, struct kvm_exit_mmio *mmio, 107bool vgic_handle_clear_pending_reg(struct kvm *kvm, struct kvm_exit_mmio *mmio,
108 phys_addr_t offset, int vcpu_id); 108 phys_addr_t offset, int vcpu_id);
109 109
110bool vgic_handle_set_active_reg(struct kvm *kvm,
111 struct kvm_exit_mmio *mmio,
112 phys_addr_t offset, int vcpu_id);
113
114bool vgic_handle_clear_active_reg(struct kvm *kvm,
115 struct kvm_exit_mmio *mmio,
116 phys_addr_t offset, int vcpu_id);
117
110bool vgic_handle_cfg_reg(u32 *reg, struct kvm_exit_mmio *mmio, 118bool vgic_handle_cfg_reg(u32 *reg, struct kvm_exit_mmio *mmio,
111 phys_addr_t offset); 119 phys_addr_t offset);
112 120