]> Pileus Git - ~andy/linux/commit
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)
committerWill Deacon <will.deacon@arm.com>
Mon, 12 Aug 2013 11:25:45 +0000 (12:25 +0100)
commite3ab547f57bd626201d4b715b696c80ad1ef4ba2
tree08e1ae7bf041dad378c1bc62385b99f2795b6141
parent73a6fdc48bf52e93c26874dc8c0f0f8d5585a809
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>
arch/arm/kvm/init.S
arch/arm/kvm/interrupts.S