Re: [RFC v2 PATCH 5/7] arm64/kvm: hyp: tlb: use __tlbi() helper

From: Christoffer Dall
Date: Tue Sep 06 2016 - 02:36:59 EST


On Mon, Sep 05, 2016 at 05:31:35PM +0100, Punit Agrawal wrote:
> From: Mark Rutland <mark.rutland@xxxxxxx>
>
> Now that we have a __tlbi() helper, make use of this in the arm64 KVM hyp
> code to get rid of asm() boilerplate. At the same time, we simplify
> __tlb_flush_vm_context by using __flush_icache_all(), as this has the
> appropriate instruction cache maintenance and barrier.
>
> Signed-off-by: Mark Rutland <mark.rutland@xxxxxxx>
> Cc: Marc Zyngier <marc.zyngier@xxxxxxx>
> [ rename tlbi -> __tlbi, convert additional sites, update commit log ]
> Signed-off-by: Punit Agrawal <punit.agrawal@xxxxxxx>

Acked-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx>