Skip to content
Snippets Groups Projects
Commit d0823cb3 authored by Jia He's avatar Jia He Committed by Marc Zyngier
Browse files

KVM: arm/arm64: vgic: Do not use spin_lock_irqsave/restore with irq disabled


kvm_vgic_sync_hwstate is only called with IRQ being disabled.
There is thus no need to call spin_lock_irqsave/restore in
vgic_fold_lr_state and vgic_prune_ap_list.

This patch replace them with the non irq-safe version.

Signed-off-by: default avatarJia He <jia.he@hxt-semitech.com>
Acked-by: default avatarChristoffer Dall <christoffer.dall@arm.com>
[maz: commit message tidy-up]
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent dc961e53
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment