• James Hogan's avatar
    MIPS: asm/tlb.h: Add UNIQUE_GUEST_ENTRYHI() macro · a6c09b9f
    James Hogan authored
    Add a distinct UNIQUE_GUEST_ENTRYHI() macro for invalidation of guest
    TLB entries by KVM, using addresses in KSeg1 rather than KSeg0. This
    avoids conflicts with guest invalidation routines when there is no EHINV
    bit to mark the whole entry as invalid, avoiding guest machine check
    exceptions on Cavium Octeon III.
    Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
    Acked-by: default avatarRalf Baechle <ralf@linux-mips.org>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: "Radim Krčmář" <rkrcmar@redhat.com>
    Cc: linux-mips@linux-mips.org
    Cc: kvm@vger.kernel.org
    a6c09b9f
tlb.h 1.05 KB