Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 0/8] KVM: MIPS: Add Cavium Octeon III support
@ 2017-03-14 10:25 James Hogan
  2017-03-14 10:25 ` James Hogan
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: James Hogan @ 2017-03-14 10:25 UTC (permalink / raw)
  To: linux-mips, kvm
  Cc: James Hogan, Paolo Bonzini, Radim Krčmář,
	Ralf Baechle, David Daney, Andreas Herrmann

This series is based on my recent VZ series.
My hope is to take this series via the MIPS KVM tree for 4.12.

This series implements support for Cavium Octeon III CPUs in KVM
(primarily for VZ hardware, but trap & emulate should also work).

Patch 1 adds register accesses and definitions for the virtualization
related Cavium specific COP0 registers, which will be used by later
patches.

Patches 2-7 make various changes to allow KVM to work on Cavium Octeon
III, with Patch 5 doing the all important Cavium specific partitioning
of the TLB between root and guest and guest IRQ setup.

Finally patch 8 selects HAVE_KVM from CPU_CAVIUM_OCTEON to allow KVM to
be enabled.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Daney <david.daney@cavium.com>
Cc: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org

James Hogan (8):
  MIPS: Add Octeon III register accessors & definitions
  KVM: MIPS/Emulate: Adapt T&E CACHE emulation for Octeon
  KVM: MIPS/TLB: Handle virtually tagged icaches
  KVM: MIPS/T&E: Report correct dcache line size
  KVM: MIPS/VZ: VZ hardware setup for Octeon III
  KVM: MIPS/VZ: Emulate hit CACHE ops for Octeon III
  KVM: MIPS/VZ: Handle Octeon III guest.PRid register
  MIPS: Allow KVM to be enabled on Octeon CPUs

 arch/mips/Kconfig                |   1 +-
 arch/mips/include/asm/mipsregs.h |  38 ++++++++-
 arch/mips/kvm/emulate.c          |  30 +++++-
 arch/mips/kvm/tlb.c              |  30 ++++++-
 arch/mips/kvm/trap_emul.c        |   8 ++-
 arch/mips/kvm/vz.c               | 150 +++++++++++++++++++++++++-------
 arch/mips/mm/cache.c             |   1 +-
 7 files changed, 225 insertions(+), 33 deletions(-)

-- 
git-series 0.8.10

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

end of thread, other threads:[~2017-03-16 13:12 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-14 10:25 [PATCH 0/8] KVM: MIPS: Add Cavium Octeon III support James Hogan
2017-03-14 10:25 ` James Hogan
2017-03-14 10:25 ` [PATCH 1/8] MIPS: Add Octeon III register accessors & definitions James Hogan
2017-03-14 10:25   ` James Hogan
2017-03-15 13:41   ` Ralf Baechle
2017-03-16 13:11     ` James Hogan
2017-03-14 10:25 ` [PATCH 2/8] KVM: MIPS/Emulate: Adapt T&E CACHE emulation for Octeon James Hogan
2017-03-14 10:25   ` James Hogan
2017-03-14 10:25 ` [PATCH 3/8] KVM: MIPS/TLB: Handle virtually tagged icaches James Hogan
2017-03-14 10:25   ` James Hogan
2017-03-14 10:25 ` [PATCH 4/8] KVM: MIPS/T&E: Report correct dcache line size James Hogan
2017-03-14 10:25   ` James Hogan
2017-03-14 10:25 ` [PATCH 5/8] KVM: MIPS/VZ: VZ hardware setup for Octeon III James Hogan
2017-03-14 10:25   ` James Hogan
2017-03-14 10:25 ` [PATCH 6/8] KVM: MIPS/VZ: Emulate hit CACHE ops " James Hogan
2017-03-14 10:25   ` James Hogan
2017-03-14 10:25 ` [PATCH 7/8] KVM: MIPS/VZ: Handle Octeon III guest.PRid register James Hogan
2017-03-14 10:25   ` James Hogan
2017-03-14 10:25 ` [PATCH 8/8] MIPS: Allow KVM to be enabled on Octeon CPUs James Hogan
2017-03-14 10:25   ` James Hogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox