This patchset adds probing of various architectural features which will be useful for supporting KVM with VZ (MIPS hardware assisted virtualisation extensions). It is based on the mips-for-linux-next~ of the day (commit 2f47afda1fa6). James Hogan (5): MIPS: Define & use CP0_EBase bit definitions MIPS: Add defs & probing of 64-bit CP0_EBase MIPS: Add defs & probing of BadInstr[P] registers MIPS: Add defs & probing of [X]ContextConfig MIPS: Add perf counter feature arch/mips/include/asm/cpu-features.h | 20 ++++++++++++++++ arch/mips/include/asm/cpu.h | 5 ++++ arch/mips/include/asm/mipsregs.h | 22 +++++++++++++++++- arch/mips/kernel/cpu-probe.c | 45 +++++++++++++++++++++++++++++++++++- arch/mips/kernel/perf_event_mipsxx.c | 4 +--- arch/mips/kvm/trap_emul.c | 3 ++- arch/mips/netlogic/xlp/nlm_hal.c | 2 +- arch/mips/netlogic/xlr/setup.c | 2 +- arch/mips/oprofile/op_model_mipsxx.c | 4 +--- 9 files changed, 96 insertions(+), 11 deletions(-) Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: Jayachandran C <jchandra@xxxxxxxxxxxx> Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx> Cc: Radim Krčmář <rkrcmar@xxxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> Cc: Robert Richter <rric@xxxxxxxxxx> Cc: linux-mips@xxxxxxxxxxxxxx Cc: kvm@xxxxxxxxxxxxxxx Cc: oprofile-list@xxxxxxxxxxxx -- 2.4.10