stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rui Xiang <rui.xiang@huawei.com>
To: Zefan Li <lizefan@huawei.com>,
	"H. Peter Anvin" <hpa@linux.intel.com>,
	Suresh Siddha <suresh.b.siddha@intel.com>,
	Suresh Siddha <sbsiddha@gmail.com>,
	Paolo Bonzini <pbonzini@redhat.com>, <kvm@vger.kernel.org>
Cc: <stable@vger.kernel.org>, <huangzhichao@huawei.com>
Subject: Re: [request for stable inclusion][Patch 3.4.y] x86, kvm: use kernel_fpu_begin/end() in kvm_load/put_guest_fpu()
Date: Fri, 31 Jul 2015 11:03:48 +0800	[thread overview]
Message-ID: <55BAE594.9040201@huawei.com> (raw)
In-Reply-To: <1438167814-8284-1-git-send-email-rui.xiang@huawei.com>

ping....

On 2015/7/29 19:03, Rui Xiang wrote:
> Hi Zefan, Suresh or Peter,
> 
> 9c1c3fac53378c9782c18f80107965578d7b7167
> x86, kvm: use kernel_fpu_begin/end() in kvm_load/put_guest_fpu()
> 
> We never cause the "Device Not Available" exception in kernel mode,
> but without this patch, the orign unlazy_fpu() do stts(), the following
> fpu_restore_checking() will trigger a DNA(Device Not Available), this 
> may corrupt the user process fpu. And an crash happened through a fault
> injection in our scenario.
> 
> b1a74bf8212367be2b1d6685c11a84e056eaaaf1
> x86, kvm: fix kvm's usage of kernel_fpu_begin/end()
> 
> The commit b1a74bf82123 fix a bug introduced by comit 9c1c3fac5337
> (x86, kvm: use kernel_fpu_begin/end() in kvm_load/put_guest_fpu())
> 
> They look applicable to stable-3.4.y. The first one can be applied
> cleanly, the other need some adjustments to backport.
> The following patche is the backport for b1a74bf82123.
> 
> And what do you think?
> 
> Thanks.
> 
> 
> 
> .
> 



  parent reply	other threads:[~2015-07-31  3:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29 11:03 [request for stable inclusion][Patch 3.4.y] x86, kvm: use kernel_fpu_begin/end() in kvm_load/put_guest_fpu() Rui Xiang
2015-07-29 11:03 ` [PATCH 3.4.y] x86, kvm: fix kvm's usage of kernel_fpu_begin/end() Rui Xiang
2015-07-31  3:03   ` Rui Xiang
2015-07-31  3:03 ` Rui Xiang [this message]
2015-07-31  3:52   ` [request for stable inclusion][Patch 3.4.y] x86, kvm: use kernel_fpu_begin/end() in kvm_load/put_guest_fpu() Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2015-07-29 10:59 Rui Xiang

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=55BAE594.9040201@huawei.com \
    --to=rui.xiang@huawei.com \
    --cc=hpa@linux.intel.com \
    --cc=huangzhichao@huawei.com \
    --cc=kvm@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=pbonzini@redhat.com \
    --cc=sbsiddha@gmail.com \
    --cc=stable@vger.kernel.org \
    --cc=suresh.b.siddha@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;
as well as URLs for NNTP newsgroup(s).