linux/virt/kvm/arm/vgic
Christoffer Dall 90cac1f52a KVM: arm/arm64: vgic: Only set underflow when actually out of LRs
We currently assume that all the interrupts in our AP list will be
queued to LRs, but that's not necessarily the case, because some of them
could have been migrated away to different VCPUs and only the VCPU
thread itself can remove interrupts from its AP list.

Therefore, slightly change the logic to only setting the underflow
interrupt when we actually run out of LRs.

As it turns out, this allows us to further simplify the handling in
vgic_sync_hwstate in later patches.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
2017-04-09 07:45:32 -07:00
..
vgic-debug.c KVM: arm/arm64: vgic: Add debugfs vgic-state file 2017-01-25 13:50:03 +01:00
vgic-init.c KVM: arm/arm64: vgic: Defer touching GICH_VMCR to vcpu_load/put 2017-04-09 07:45:22 -07:00
vgic-irqfd.c KVM: arm/arm64: vgic: Stop injecting the MSI occurrence twice 2017-02-08 15:13:14 +00:00
vgic-its.c KVM: arm/arm64: VGIC: Fix command handling while ITS being disabled 2017-03-07 15:44:08 +00:00
vgic-kvm-device.c KVM: arm/arm64: vgic: Implement KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO ioctl 2017-01-30 13:47:29 +00:00
vgic-mmio-v2.c KVM: arm/arm64: vgic: Introduce VENG0 and VENG1 fields to vmcr struct 2017-01-30 13:47:21 +00:00
vgic-mmio-v3.c KVM: arm/arm64: vgic: Implement KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO ioctl 2017-01-30 13:47:29 +00:00
vgic-mmio.c KVM: arm/arm64: Let vcpu thread modify its own active state 2017-03-07 14:48:16 +00:00
vgic-mmio.h KVM: arm/arm64: vgic: Implement KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO ioctl 2017-01-30 13:47:29 +00:00
vgic-v2.c KVM: arm/arm64: vgic: Defer touching GICH_VMCR to vcpu_load/put 2017-04-09 07:45:22 -07:00
vgic-v3.c KVM: arm/arm64: vgic: Defer touching GICH_VMCR to vcpu_load/put 2017-04-09 07:45:22 -07:00
vgic.c KVM: arm/arm64: vgic: Only set underflow when actually out of LRs 2017-04-09 07:45:32 -07:00
vgic.h KVM: arm/arm64: vgic: Defer touching GICH_VMCR to vcpu_load/put 2017-04-09 07:45:22 -07:00