MIPS: KVM: Recognise r6 CACHE encoding
authorJames Hogan <james.hogan@imgtec.com>
Mon, 4 Jul 2016 18:35:13 +0000 (19:35 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Jul 2016 14:09:17 +0000 (16:09 +0200)
commit5cc4aafced42d7ece3d20650bf6ca2a165e6fca3
tree7ab1bb01e023111e7629da7367214de58727fdfe
parent2e0badfaac234ef3ed6b5397ff208d218cd450fb
MIPS: KVM: Recognise r6 CACHE encoding

Recognise the new MIPSr6 CACHE instruction encoding rather than the
pre-r6 one when an r6 kernel is being built. A SPECIAL3 opcode is used
and the immediate field is reduced to 9 bits wide since MIPSr6.

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: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/dyntrans.c
arch/mips/kvm/emulate.c
This page took 0.025289 seconds and 5 git commands to generate.