public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Paolo Bonzini <pbonzini@redhat.com>,
	"Liu, Jinsong" <jinsong.liu@intel.com>
Cc: Gleb Natapov <gleb@redhat.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	kvm <kvm@vger.kernel.org>, Xudong Hao <xudong.hao@intel.com>,
	Ingo Molnar <mingo@redhat.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	"Ren, Qiaowei" <qiaowei.ren@intel.com>
Subject: Re: [PATCH 1/4] X86: Intel MPX definiation
Date: Thu, 05 Dec 2013 14:59:49 -0800	[thread overview]
Message-ID: <52A10565.8070205@zytor.com> (raw)
In-Reply-To: <52A0A4F7.2020508@redhat.com>

On 12/05/2013 08:08 AM, Paolo Bonzini wrote:
> Il 02/12/2013 17:43, Liu, Jinsong ha scritto:
>> From fbfa537f690eca139a96c6b2636ab5130bf57716 Mon Sep 17 00:00:00 2001
>> From: Liu Jinsong <jinsong.liu@intel.com>
>> Date: Fri, 29 Nov 2013 01:27:00 +0800
>> Subject: [PATCH 1/4] X86: Intel MPX definiation
>>
>> Signed-off-by: Xudong Hao <xudong.hao@intel.com>
>> Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
>> ---
>>  arch/x86/include/asm/cpufeature.h |    2 ++
>>  arch/x86/include/asm/xsave.h      |    5 ++++-
>>  2 files changed, 6 insertions(+), 1 deletions(-)
>>
> 
> hpa/Ingo/Thomas, can you give your Acked-by for this patch?
> 
> I'm not sure of the consequences of changing XCNTXT_MASK.  This series
> (which was submitted with the wrong threading) wants it so that KVM can
> use fpu_save_init and fpu_restore_checking to save and restore the MPX
> state of the guest.
> 

Hi, I'm currently reviewing internally another set of patches for MPX
support which would at least in part conflict with these.  I don't see
the rest of the series -- where was it posted?

Either way:

1. asm/cpufeatures.h patches should always be separate, as we put those
into a special branch into the -tip tree since they touch so many other
things.

2. Enabling MPX is only safe with XSTATE_EAGER, which Qiaowei's patchset
has done correctly.

	-hpa


  reply	other threads:[~2013-12-05 23:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-02 16:43 [PATCH 1/4] X86: Intel MPX definiation Liu, Jinsong
2013-12-02 17:39 ` Paolo Bonzini
2013-12-05 16:08 ` Paolo Bonzini
2013-12-05 22:59   ` H. Peter Anvin [this message]
2013-12-06  8:22     ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2013-11-29 13:41 Liu, Jinsong

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=52A10565.8070205@zytor.com \
    --to=hpa@zytor.com \
    --cc=gleb@redhat.com \
    --cc=jinsong.liu@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qiaowei.ren@intel.com \
    --cc=tglx@linutronix.de \
    --cc=xudong.hao@intel.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