]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS/VZ: Support guest hardware page table walker
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Mar 2017 10:15:36 +0000 (10:15 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 28 Mar 2017 13:53:57 +0000 (14:53 +0100)
commitbdc584bbb3ab26c10caff1532f5ce9ed65a45de3
treecb390ef9ea31a82c617a163b3fdcddab76f22f86
parent5d4c7e66cb9a9f99106315ca1a1d552437b81332
KVM: MIPS/VZ: Support guest hardware page table walker

Add support for VZ guest CP0_PWBase, CP0_PWField, CP0_PWSize, and
CP0_PWCtl registers for controlling the guest hardware page table walker
(HTW) present on P5600 and P6600 cores. These guest registers need
initialising on R6, context switching, and exposing via the KVM ioctl
API when they are present.

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: 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/kvm/vz.c