linux/arch/mips/kvm
James Hogan aff565aab9 MIPS: Clean up RDHWR handling
No preprocessor definitions are used in the handling of the registers
accessible with the RDHWR instruction, nor the corresponding bits in the
CP0 HWREna register.

Add definitions for both the register numbers (MIPS_HWR_*) and HWREna
bits (MIPS_HWRENA_*) in asm/mipsregs.h and make use of them in the
initialisation of HWREna and emulation of the RDHWR instruction.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: David Daney <david.daney@cavium.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-06-15 23:58:25 +02:00
..
00README.txt KVM/MIPS32: Release notes and KVM module Makefile 2013-05-08 03:55:35 +02:00
callback.c MIPS: KVM: Convert EXPORT_SYMBOL to _GPL 2016-01-24 03:13:24 +01:00
commpage.c MIPS: KVM: Skip memory cleaning in kvm_mips_commpage_init() 2014-06-30 16:52:03 +02:00
commpage.h MIPS: KVM: Rename files to remove the prefix "kvm_" and "kvm_mips_" 2014-06-30 16:52:03 +02:00
dyntrans.c MIPS: KVM: Convert emulation to use asm/inst.h 2016-06-15 23:58:17 +02:00
emulate.c MIPS: Clean up RDHWR handling 2016-06-15 23:58:25 +02:00
fpu.S MIPS: KVM: Add base guest FPU support 2015-03-27 21:25:14 +00:00
interrupt.c MIPS: KVM: Convert code to kernel sized types 2016-06-14 11:02:41 +02:00
interrupt.h MIPS: KVM: Convert headers to kernel sized types 2016-06-14 11:02:40 +02:00
Kconfig rcu: Make SRCU optional by using CONFIG_SRCU 2015-01-06 11:04:29 -08:00
locore.S MIPS: KVM: Restore host EBase from ebase variable 2016-06-14 11:02:44 +02:00
Makefile MIPS: KVM: Move non-TLB handling code out of tlb.c 2016-06-14 11:02:42 +02:00
mips.c MIPS: KVM: List FPU/MSA registers 2016-06-15 23:58:25 +02:00
mmu.c MIPS: KVM: Dump guest tlbs if kvm_get_inst() fails 2016-06-14 11:16:25 +02:00
msa.S MIPS: KVM: Add base guest MSA support 2015-03-27 21:25:19 +00:00
stats.c MIPS: KVM: Clean up kvm_exit trace event 2016-06-14 11:16:23 +02:00
tlb.c MIPS: KVM: Use MIPS_ENTRYLO_* defs from mipsregs.h 2016-06-14 11:02:46 +02:00
trace.h MIPS: KVM: Trace guest register access emulation 2016-06-14 11:16:24 +02:00
trap_emul.c MIPS: KVM: Make KVM_GET_REG_LIST dynamic 2016-06-15 23:58:24 +02:00