KVM: MIPS/VZ: Handle Octeon III guest.PRid register
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Mar 2017 10:25:50 +0000 (10:25 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Tue, 28 Mar 2017 14:36:20 +0000 (15:36 +0100)
commit1f48f9be4df2fd82e3bea0c4d452299c9b3df792
tree540ecd97549d524fbd0bbb69bcfda445b8939698
parent3ba731daf09a2dd9515713e2428ef859bb50957b
KVM: MIPS/VZ: Handle Octeon III guest.PRid register

Octeon III implements a read-only guest CP0_PRid register, so add cases
to the KVM register access API for Octeon to ensure the correct value is
read and writes are ignored.

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: David Daney <david.daney@cavium.com>
Cc: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
arch/mips/include/asm/mipsregs.h
arch/mips/kvm/vz.c