ARM: kvm: use inner-shareable barriers after TLB flushing
authorWill Deacon <will.deacon@arm.com>
Mon, 13 May 2013 11:08:06 +0000 (12:08 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:00 +0000 (17:18 +0200)
commitd829a739332e33ffc9753c607325f461e9c994d8
treeab74cfc0b3f8c64e6c3340d230e2a38bc3b25787
parent54118be422ac3ff0af613676d47f8d46cc9f8801
ARM: kvm: use inner-shareable barriers after TLB flushing

When flushing the TLB at PL2 in response to remapping at stage-2 or VMID
rollover, we have a dsb instruction to ensure completion of the command
before continuing.

Since we only care about other processors for TLB invalidation, use the
inner-shareable variant of the dsb instruction instead.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit e3ab547f57bd626201d4b715b696c80ad1ef4ba2)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/init.S
arch/arm/kvm/interrupts.S