OpenCloudOS-Kernel/virt/kvm/arm/vgic
Christoffer Dall 60c3ab30d8 KVM: arm/arm64: vgic-v2: Set active_source to 0 when restoring state
When restoring the active state from userspace, we don't know which CPU
was the source for the active state, and this is not architecturally
exposed in any of the register state.

Set the active_source to 0 in this case.  In the future, we can expand
on this and exposse the information as additional information to
userspace for GICv2 if anyone cares.

Cc: stable@vger.kernel.org
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2018-12-18 15:14:46 +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-v2: Set active_source to 0 when restoring state 2018-12-18 15:14:46 +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