]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita86e0183f1537e165a8ea334f46bc4e2699ace53
tree540ecd97549d524fbd0bbb69bcfda445b8939698
parent519a0d02e2c93e22e251ae2ab4867351597bc163
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