linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: James Hogan <james.hogan@imgtec.com>, linux-mips@linux-mips.org
Cc: "Radim Krčmář" <rkrcmar@redhat.com>,
	"Ralf Baechle" <ralf@linux-mips.org>,
	kvm@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH 0/3] KVM: MIPS: Miscellaneous 4.9 fixes
Date: Tue, 25 Oct 2016 17:57:34 +0200	[thread overview]
Message-ID: <844c4f82-3279-4a19-d87a-2fb036d7410d@redhat.com> (raw)
In-Reply-To: <cover.c0ced53ae71e1272ec1aaa16007e9eebb1c0eac6.1477320903.git-series.james.hogan@imgtec.com>



On 25/10/2016 17:08, James Hogan wrote:
> 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(-)
> 

Applied to kvm/master, thanks.

      parent reply	other threads:[~2016-10-25 15:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=844c4f82-3279-4a19-d87a-2fb036d7410d@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=james.hogan@imgtec.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=rkrcmar@redhat.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).