public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] MIPS: KVM: Module + non dynamic translating fixes
@ 2016-06-09  9:50 James Hogan
  2016-06-09  9:50 ` [PATCH 1/4] MIPS: KVM: Fix modular KVM under QEMU James Hogan
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: James Hogan @ 2016-06-09  9:50 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: James Hogan, Radim Krčmář, Ralf Baechle, kvm,
	linux-mips, stable

These patches fix a couple of issues I recently spotted when running KVM
under QEMU (i.e. the host MIPS kernel is running under QEMU on a PC).

Patches 1-2: Fix modular KVM broken by QEMU TLB optimisation (Patch 1
marked for stable).

Patches 3-4: Fix cache instruction emulation, exposed by having dynamic
translation of emulated instructions accidentally turned off.

James Hogan (4):
  MIPS: KVM: Fix modular KVM under QEMU
  MIPS: KVM: Include bit 31 in segment matches
  MIPS: KVM: Don't unwind PC when emulating CACHE
  MIPS: KVM: Fix CACHE triggered exception emulation

 arch/mips/include/asm/kvm_host.h |  3 ++-
 arch/mips/kvm/emulate.c          | 21 ++++++++++++++-------
 arch/mips/kvm/interrupt.h        |  1 +
 arch/mips/kvm/locore.S           |  1 +
 arch/mips/kvm/mips.c             | 11 ++++++++++-
 5 files changed, 28 insertions(+), 9 deletions(-)

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: stable@vger.kernel.org
-- 
2.4.10

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

end of thread, other threads:[~2016-06-14  9:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09  9:50 [PATCH 0/4] MIPS: KVM: Module + non dynamic translating fixes James Hogan
2016-06-09  9:50 ` [PATCH 1/4] MIPS: KVM: Fix modular KVM under QEMU James Hogan
2016-06-09  9:50 ` [PATCH 2/4] MIPS: KVM: Include bit 31 in segment matches James Hogan
2016-06-09  9:50 ` [PATCH 3/4] MIPS: KVM: Don't unwind PC when emulating CACHE James Hogan
2016-06-09  9:50 ` [PATCH 4/4] MIPS: KVM: Fix CACHE triggered exception emulation James Hogan
2016-06-12 18:45 ` [PATCH 0/4] MIPS: KVM: Module + non dynamic translating fixes Paolo Bonzini
2016-06-14  9:03   ` Paolo Bonzini

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