diff options
author | 2018-08-03 21:57:04 +0800 | |
---|---|---|
committer | 2018-08-12 12:15:18 +0100 | |
commit | d0823cb346bc6f685f230bdbec51910a329e3fe3 (patch) | |
tree | 010a8340716260a359b281420e70066a3d4714e5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | KVM: arm/arm64: vgic: Move DEBUG_SPINLOCK_BUG_ON to vgic.h (diff) | |
download | linux-dev-d0823cb346bc6f685f230bdbec51910a329e3fe3.tar.xz linux-dev-d0823cb346bc6f685f230bdbec51910a329e3fe3.zip |
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: Jia He <jia.he@hxt-semitech.com>
Acked-by: Christoffer Dall <christoffer.dall@arm.com>
[maz: commit message tidy-up]
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions