Re: [PATCH 1/2] KVM: PPC: Book3S HV: Move HPT guest TLB flushing to C code

Paul Mackerras
2019-04-30T10:12:04Z

On Mon, Apr 29, 2019 at 07:00:40PM +1000, Paul Mackerras wrote:
> This replaces assembler code in book3s_hv_rmhandlers.S that checks
> the kvm->arch.need_tlb_flush cpumask and optionally does a TLB flush
> with C code in book3s_hv_builtin.c. Note that unlike the radix
> version, the hash version doesn't do an explicit ERAT invalidation
> because we will invalidate and load up the SLB before entering the
> guest, and that will invalidate the ERAT.
>
> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>

Both patches applied to my kvm-ppc-next tree.

Paul.