All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] KVM: MIPS: Miscellaneous 4.9 fixes
@ 2016-10-25 15:08 ` James Hogan
  0 siblings, 0 replies; 9+ messages in thread
From: James Hogan @ 2016-10-25 15:08 UTC (permalink / raw)
  To: linux-mips
  Cc: James Hogan, Paolo Bonzini, Radim Krčmář,
	Ralf Baechle, kvm, stable

A few more fixes intended for v4.9. Patches 2 & 3 are tagged for stable.

- The first fixes lazy user ASID regeneration which was introduced in
  4.9-rc1 and still wasn't quite right for SMP hosts.

- The second is a minor incorrect behaviour in ERET emulation when both
  ERL and EXL are set (i.e. unlikely to hit in practice), which has been
  wrong since MIPS KVM was added in v3.10.

- The third fixes a slightly risky completion of an MMIO load in branch
  delay slot, where it'll try and read guest code outside of the proper
  context. Currently we should only be able to hit this if the MMIO load
  in branch delay slot is in guest TLB mapped (i.e. kernel module) code.

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

James Hogan (3):
  KVM: MIPS: Fix lazy user ASID regenerate for SMP
  KVM: MIPS: Make ERET handle ERL before EXL
  KVM: MIPS: Precalculate MMIO load resume PC

 arch/mips/include/asm/kvm_host.h |  7 ++++---
 arch/mips/kvm/emulate.c          | 32 +++++++++++++++++++-------------
 arch/mips/kvm/mips.c             |  5 ++++-
 arch/mips/kvm/mmu.c              |  4 ----
 4 files changed, 27 insertions(+), 21 deletions(-)

-- 
git-series 0.8.10

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

end of thread, other threads:[~2016-10-25 15:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-25 15:08 [PATCH 0/3] KVM: MIPS: Miscellaneous 4.9 fixes James Hogan
2016-10-25 15:08 ` James Hogan
2016-10-25 15:08 ` [PATCH 1/3] KVM: MIPS: Fix lazy user ASID regenerate for SMP James Hogan
2016-10-25 15:08   ` James Hogan
2016-10-25 15:11 ` [PATCH 2/3] KVM: MIPS: Make ERET handle ERL before EXL James Hogan
2016-10-25 15:11   ` James Hogan
2016-10-25 15:11 ` [PATCH 3/3] KVM: MIPS: Precalculate MMIO load resume PC James Hogan
2016-10-25 15:11   ` James Hogan
2016-10-25 15:57 ` [PATCH 0/3] KVM: MIPS: Miscellaneous 4.9 fixes Paolo Bonzini

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.