]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS/VZ: Emulate MAARs when necessary
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Mar 2017 10:15:38 +0000 (10:15 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 28 Mar 2017 13:53:58 +0000 (14:53 +0100)
commitb84c053a13f815392d1b5d793c45cb5ccbfcb40b
treee8e8a3abb6b6111229af71901ec0995e375abac9
parentf9c6e380c49acf9e62c919be56d13833b9bf2c8b
KVM: MIPS/VZ: Emulate MAARs when necessary

Add emulation of Memory Accessibility Attribute Registers (MAARs) when
necessary. We can't actually do anything with whatever the guest
provides, but it may not be possible to clear Guest.Config5.MRP so we
have to emulate at least a pair of MAARs.

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: Jonathan Corbet <corbet@lwn.net>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Documentation/virtual/kvm/api.txt
arch/mips/include/asm/kvm_host.h
arch/mips/include/uapi/asm/kvm.h
arch/mips/kvm/trace.h
arch/mips/kvm/vz.c