• Paul Mackerras's avatar
    KVM: PPC: Book3S HV: Move HPT guest TLB flushing to C code · 2940ba0c
    Paul Mackerras authored
    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: default avatarPaul Mackerras <paulus@ozlabs.org>
    2940ba0c
book3s_hv_builtin.c 21.3 KB