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

From: Punit Agrawal
Date: Thu Oct 06 2016 - 05:44:01 EST


Matthias Brugger <mbrugger@xxxxxxxx> writes:

> On 13/09/16 12:16, 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>
>> ---
>
> Reviewed-by: Matthias Brugger <mbrugger@xxxxxxxx>

Thanks for reviewing the patch. I'll re-spin a new version with the tag
after the merge window.

Punit


[...]