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

2016-09-05 Thread Christoffer Dall
On Mon, Sep 05, 2016 at 05:31:35PM +0100, Punit Agrawal wrote: > From: Mark Rutland > > 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 h

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

2016-09-05 Thread Punit Agrawal
From: Mark Rutland 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