]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: MIPS: Pass type of fault down to kvm_mips_map_page()
authorJames Hogan <james.hogan@imgtec.com>
Fri, 1 May 2015 13:56:31 +0000 (14:56 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:21:19 +0000 (15:21 +0000)
commit577ed7f71e9c37a46c45a7bd9a392dd0372a409c
treeacca7ed20ef2868d38085626507c1a8b011537e3
parent89d6ad8a6b26a51f6fdfd356a56681a11f309bba
KVM: MIPS: Pass type of fault down to kvm_mips_map_page()

kvm_mips_map_page() will need to know whether the fault was due to a
read or a write in order to support dirty page tracking,
KVM_CAP_SYNC_MMU, and read only memory regions, so get that information
passed down to it via new bool write_fault arguments to various
functions.

Signed-off-by: James 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
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/emulate.c
arch/mips/kvm/mmu.c
arch/mips/kvm/trap_emul.c