linux_dsm_epyc7002/virt/kvm/arm/vgic
Julien Thierry 2e2f6c3c0b KVM: arm/arm64: vgic: Do not cond_resched_lock() with IRQs disabled
To change the active state of an MMIO, halt is requested for all vcpus of
the affected guest before modifying the IRQ state. This is done by calling
cond_resched_lock() in vgic_mmio_change_active(). However interrupts are
disabled at this point and we cannot reschedule a vcpu.

We actually don't need any of this, as kvm_arm_halt_guest ensures that
all the other vcpus are out of the guest. Let's just drop that useless
code.

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Suggested-by: Christoffer Dall <christoffer.dall@arm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2018-12-18 15:14:49 +00:00
..
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vgic-debug.c KVM: arm/arm64: vgic: Add group field to struct irq 2018-07-21 16:02:24 +01:00
vgic-init.c KVM: arm/arm64: vgic: Allow configuration of interrupt groups 2018-07-21 16:02:29 +01:00
vgic-irqfd.c KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation 2017-11-29 16:46:12 +01:00
vgic-its.c vgic: Add support for 52bit guest physical address 2018-10-01 13:50:32 +01:00
vgic-kvm-device.c kvm: arm/arm64: Prepare for VM specific stage2 translations 2018-10-01 13:50:30 +01:00
vgic-mmio-v2.c KVM: arm/arm64: vgic: Fix possible spectre-v1 write in vgic_mmio_write_apr() 2018-07-24 13:53:54 +01:00
vgic-mmio-v3.c vgic: Add support for 52bit guest physical address 2018-10-01 13:50:32 +01:00
vgic-mmio.c KVM: arm/arm64: vgic: Do not cond_resched_lock() with IRQs disabled 2018-12-18 15:14:49 +00:00
vgic-mmio.h KVM: arm/arm64: vgic: Allow configuration of interrupt groups 2018-07-21 16:02:29 +01:00
vgic-v2.c KVM: arm/arm64: vgic: Do not use spin_lock_irqsave/restore with irq disabled 2018-08-12 12:15:18 +01:00
vgic-v3.c KVM: arm/arm64: vgic: Do not use spin_lock_irqsave/restore with irq disabled 2018-08-12 12:15:18 +01:00
vgic-v4.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
vgic.c KVM: arm/arm64: vgic: Do not use spin_lock_irqsave/restore with irq disabled 2018-08-12 12:15:18 +01:00
vgic.h KVM: arm/arm64: vgic: Move DEBUG_SPINLOCK_BUG_ON to vgic.h 2018-08-12 12:14:08 +01:00