• James Hogan's avatar
    KVM: MIPS/MMU: Add GPA PT mkclean helper · f0c0c330
    James Hogan authored
    Add a helper function to make a range of guest physical address (GPA)
    mappings in the GPA page table clean so that writes can be caught. This
    will be used in a few places to manage dirty page logging.
    
    Note that until the dirty bit is transferred from GPA page table entries
    to GVA page table entries in an upcoming patch this won't trigger a TLB
    modified exception on write.
    Signed-off-by: default avatarJames 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
    f0c0c330
mmu.c 23.8 KB