• J
    KVM: MIPS: Split kernel/user ASID regeneration · f3124cc5
    James Hogan 提交于
    The host ASIDs for guest kernel and user mode are regenerated together
    if the ASID for guest kernel mode is out of date. That is fine as the
    ASID for guest kernel mode is always generated first, however it doesn't
    allow the ASIDs to be regenerated or invalidated individually instead of
    linearly flushing the entire host TLB.
    
    Therefore separate the regeneration code so that the ASIDs are checked
    and regenerated separately.
    Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: "Radim Krčmář" <rkrcmar@redhat.com>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: linux-mips@linux-mips.org
    Cc: kvm@vger.kernel.org
    f3124cc5
mmu.c 10.9 KB