KVM: MIPS/VZ: Support guest hardware page table walker
authorJames Hogan <[email protected]>
Tue, 14 Mar 2017 10:15:36 +0000 (10:15 +0000)
committerJames Hogan <[email protected]>
Tue, 28 Mar 2017 13:53:57 +0000 (14:53 +0100)
commit5a2f352f343ac9b4e869ff29b3a0a833c870303b
treecb390ef9ea31a82c617a163b3fdcddab76f22f86
parent4b7de028e66cc499ab85b5003af944225c8c87e9
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 <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Documentation/virtual/kvm/api.txt
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/vz.c