KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock
vgic_dist->lpi_list_lock must always be taken with interrupts disabled as it is used in interrupt context. For configurations such as PREEMPT_RT_FULL, this means that it should be a raw_spinlock since RT spinlocks are interruptible. Signed-off-by:Julien Thierry <julien.thierry@arm.com> Acked-by:
Christoffer Dall <christoffer.dall@arm.com> Acked-by:
Marc Zyngier <marc.zyngier@arm.com> Signed-off-by:
Christoffer Dall <christoffer.dall@arm.com>
Showing
- include/kvm/arm_vgic.h 1 addition, 1 deletioninclude/kvm/arm_vgic.h
- virt/kvm/arm/vgic/vgic-init.c 1 addition, 1 deletionvirt/kvm/arm/vgic/vgic-init.c
- virt/kvm/arm/vgic/vgic-its.c 4 additions, 4 deletionsvirt/kvm/arm/vgic/vgic-its.c
- virt/kvm/arm/vgic/vgic.c 5 additions, 5 deletionsvirt/kvm/arm/vgic/vgic.c
Please register or sign in to comment