]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: KVM: add missing dsb before invalidating Stage-2 TLBs
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 21 Jun 2013 12:08:47 +0000 (13:08 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Wed, 26 Jun 2013 17:50:04 +0000 (10:50 -0700)
commitb725515af5273d6d804403740f0f676fc74898bc
tree6892951511aa62357eec0266f1dc6ca1d4bc9652
parentfd8b3a278a7beca085d051d582e90e9f43ee1542
ARM: 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 a dsb instruction to __kvm_tlb_flush_vmid_ipa
before doing the TLB invalidation itself.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/interrupts.S