]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS: Claim KVM_CAP_READONLY_MEM support
authorJames Hogan <james.hogan@imgtec.com>
Fri, 8 May 2015 16:11:49 +0000 (17:11 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:21:29 +0000 (15:21 +0000)
commit7b3459fca7567ed2a474e8c227152e6025bd27da
tree02b477450a560c2b8e9515c35fd49634fbf87e0b
parentdf8c353aa76a393a612b2644f3c5b75980189284
KVM: MIPS: Claim KVM_CAP_READONLY_MEM support

Now that load/store faults due to read only memory regions are treated
as MMIO accesses it is safe to claim support for read only memory
regions (KVM_CAP_READONLY_MEM).

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/uapi/asm/kvm.h
arch/mips/kvm/mips.c