Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 013778f9 authored by Marc Zyngier's avatar Marc Zyngier Committed by Michael Bohan
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>
Git-commit: f142e5eeb724cfbedd203b32b3b542d78dbe2545
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarIan Maund <imaund@codeaurora.org>
parent adebd471
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment