All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] MIPS: Add feature probing ready for KVM/VZ
@ 2016-05-11 12:50 James Hogan
  2016-05-11 12:50 ` [PATCH v2 1/5] MIPS: Define & use CP0_EBase bit definitions James Hogan
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: James Hogan @ 2016-05-11 12:50 UTC (permalink / raw)
  To: Ralf Baechle
  Cc: James Hogan, Jayachandran C, Paolo Bonzini,
	Radim Krčmář, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Alexander Shishkin, Robert Richter,
	linux-mips, kvm, oprofile-list

This patchset adds probing of various architectural features which will
be useful for supporting KVM with VZ (MIPS hardware assisted
virtualisation extensions).

Changes in v2:
- Patch 2 changed to handle MIPS32r3+, which can also have a WG bit to
  allow bits 31:30 to be written. The feature provided is now just the
  presence of the WG bit rather than the extension of CP0_EBase to
  64-bits (which is implied if WG is present on MIPS64).

It is based on the mips-for-linux-next~ of the day (commit
0fc44314a7d).

James Hogan (5):
  MIPS: Define & use CP0_EBase bit definitions
  MIPS: Add defs & probing of extended 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@linux-mips.org>
Cc: Jayachandran C <jchandra@broadcom.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Robert Richter <rric@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Cc: oprofile-list@lists.sf.net
-- 
2.4.10

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-05-12 16:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-11 12:50 [PATCH v2 0/5] MIPS: Add feature probing ready for KVM/VZ James Hogan
2016-05-11 12:50 ` [PATCH v2 1/5] MIPS: Define & use CP0_EBase bit definitions James Hogan
2016-05-11 12:50 ` [PATCH v2 2/5] MIPS: Add defs & probing of extended CP0_EBase James Hogan
2016-05-11 12:50   ` James Hogan
2016-05-11 12:56   ` Matt Redfearn
2016-05-11 12:56     ` Matt Redfearn
2016-05-12  1:10   ` Maciej W. Rozycki
2016-05-12  1:10     ` Maciej W. Rozycki
2016-05-12 16:12     ` James Hogan
2016-05-12 16:12       ` James Hogan
2016-05-11 12:50 ` [PATCH v2 3/5] MIPS: Add defs & probing of BadInstr[P] registers James Hogan
2016-05-11 12:50   ` James Hogan
2016-05-11 12:50 ` [PATCH v2 4/5] MIPS: Add defs & probing of [X]ContextConfig James Hogan
2016-05-11 12:50   ` James Hogan
2016-05-11 12:50 ` [PATCH v2 5/5] MIPS: Add perf counter feature James Hogan
2016-05-11 12:50   ` James Hogan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.