Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: James Hogan <james.hogan@imgtec.com>,
	Ralf Baechle <ralf@linux-mips.org>,
	Gleb Natapov <gleb@kernel.org>
Cc: Sanjay Lal <sanjayl@kymasys.com>,
	linux-mips@linux-mips.org, kvm@vger.kernel.org
Subject: Re: [PATCH 0/4] MIPS: KVM: RI + RDHWR handling fixes
Date: Wed, 19 Mar 2014 17:02:15 +0100	[thread overview]
Message-ID: <5329BF87.9070406@redhat.com> (raw)
In-Reply-To: <1394802370-20487-1-git-send-email-james.hogan@imgtec.com>

Il 14/03/2014 14:06, James Hogan ha scritto:
> Some misc KVM RI/RDHWR handling fixes.
>
> Patch 1 prevents a reserved instruction (RI) exception from taking out
> the entire guest (e.g. crashme inevitably causes lots of these). If the
> hypervisor can't handle the RI, it can just emulate a guest RI exception
> instead so the guest OS can handle it. I've marked this one for stable
> since it allows guest userland to take out the VM.
>
> Patch 3 fixes the RDHWR emulation to actually consult HWREna so that the
> guest can catch exceptions of implemented RDHWR if it desires. I've not
> marked this for stable since Linux at least enables the hardware
> registers with HWREna anyway.
>
> Patch 2 and 4 are cleanups that I noticed while writing patch 3.
>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Cc: Gleb Natapov <gleb@kernel.org>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Sanjay Lal <sanjayl@kymasys.com>
> Cc: linux-mips@linux-mips.org
> Cc: kvm@vger.kernel.org
>
> James Hogan (4):
>   MIPS: KVM: Pass reserved instruction exceptions to guest
>   MIPS: KVM: asm/kvm_host.h: Clean up whitespace
>   MIPS: KVM: Consult HWREna before emulating RDHWR
>   MIPS: KVM: Remove dead code in CP0 emulation
>
>  arch/mips/include/asm/kvm_host.h | 417 ++++++++++++++++++++-------------------
>  arch/mips/kvm/kvm_mips_emul.c    |  40 ++--
>  2 files changed, 229 insertions(+), 228 deletions(-)
>

Looks good.  I've applied it to kvm/queue, having a Reviewed-by or 
Acked-by from the MIPS folks would be nice too.

Paolo

      parent reply	other threads:[~2014-03-19 16:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-14 13:06 [PATCH 0/4] MIPS: KVM: RI + RDHWR handling fixes James Hogan
2014-03-14 13:06 ` James Hogan
2014-03-14 13:06 ` [PATCH 1/4] MIPS: KVM: Pass reserved instruction exceptions to guest James Hogan
2014-03-14 13:06   ` James Hogan
2014-03-14 13:06 ` [PATCH 2/4] MIPS: KVM: asm/kvm_host.h: Clean up whitespace James Hogan
2014-03-14 13:06   ` James Hogan
2014-03-14 13:06 ` [PATCH 3/4] MIPS: KVM: Consult HWREna before emulating RDHWR James Hogan
2014-03-14 13:06   ` James Hogan
2014-03-14 13:06 ` [PATCH 4/4] MIPS: KVM: Remove dead code in CP0 emulation James Hogan
2014-03-14 13:06   ` James Hogan
2014-03-19 16:02 ` 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=5329BF87.9070406@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=gleb@kernel.org \
    --cc=james.hogan@imgtec.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=sanjayl@kymasys.com \
    /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