]> 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)
commit173a79c0b2aba1e640b4db1e471a4634e64708ee
treecb390ef9ea31a82c617a163b3fdcddab76f22f86
parent2879ae877465fa5b8da63114dc56ff0e152d885b
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