Skip to content
Commit f142e5ee authored by Marc Zyngier's avatar Marc Zyngier
Browse files

arm64: KVM: add missing dsb before invalidating Stage-2 TLBs



When performing a Stage-2 TLB invalidation, it is necessary to
make sure the write to the page tables is observable by all CPUs.

For this purpose, add dsb instructions to __kvm_tlb_flush_vmid_ipa
and __kvm_flush_vm_context before doing the TLB invalidation itself.

Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 1bbd8054
Loading
Loading
Loading
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