diff options
| author | James Hogan <james.hogan@imgtec.com> | 2016-07-04 19:35:14 +0100 | 
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-07-05 16:09:18 +0200 | 
| commit | 8eeab81c3d55ba41ae68888b13a1a34893104e12 (patch) | |
| tree | 4f9058b4ae5e03b565e20f8896c030de32007663 /net/lapb/lapb_timer.c | |
| parent | 5cc4aafced42d7ece3d20650bf6ca2a165e6fca3 (diff) | |
MIPS: KVM: Decode RDHWR more strictly
When KVM emulates the RDHWR instruction, decode the instruction more
strictly. The rs field (bits 25:21) should be zero, as should bits 10:9.
Bits 8:6 is the register select field in MIPSr6, so we aren't strict
about those bits (no other operations should use that encoding space).
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
