From: Marcelo Tosatti <mtosatti@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Avi Kivity <avi@redhat.com>, kvm <kvm@vger.kernel.org>,
"Roedel, Joerg" <Joerg.Roedel@amd.com>,
Gleb Natapov <gleb@redhat.com>
Subject: Re: [PATCH] KVM: SVM: Keep intercepting task switching with NPT enabled
Date: Thu, 27 Oct 2011 10:40:58 -0200 [thread overview]
Message-ID: <20111027124058.GE29646@amt.cnet> (raw)
In-Reply-To: <4E9DA7EF.30804@siemens.com>
On Tue, Oct 18, 2011 at 06:23:11PM +0200, Jan Kiszka wrote:
> AMD processors apparently have a bug in the hardware task switching
> support when NPT is enabled. If the task switch triggers a NPF, we can
> get wrong EXITINTINFO along with that fault. On resume, spurious
> exceptions may then be injected into the guest.
>
> We were able to reproduce this bug when our guest triggered #SS and the
> handler were supposed to run over a separate task with not yet touched
> stack pages.
>
> Work around the issue by continuing to emulate task switches even in
> NPT mode.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> arch/x86/kvm/svm.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
Applied, thanks.
prev parent reply other threads:[~2011-10-27 12:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 16:23 [PATCH] KVM: SVM: Keep intercepting task switching with NPT enabled Jan Kiszka
2011-10-18 16:35 ` Roedel, Joerg
2011-10-18 17:37 ` Avi Kivity
2011-10-19 14:12 ` Roedel, Joerg
2011-11-01 11:13 ` Roedel, Joerg
2011-11-01 13:39 ` Jan Kiszka
2011-11-01 15:30 ` Roedel, Joerg
2011-11-01 15:49 ` Jan Kiszka
2011-11-01 16:15 ` Roedel, Joerg
2011-11-01 18:22 ` Jan Kiszka
2011-11-02 9:55 ` Roedel, Joerg
2011-11-02 9:59 ` Jan Kiszka
2011-11-02 10:04 ` Avi Kivity
2011-10-27 12:40 ` Marcelo Tosatti [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=20111027124058.GE29646@amt.cnet \
--to=mtosatti@redhat.com \
--cc=Joerg.Roedel@amd.com \
--cc=avi@redhat.com \
--cc=gleb@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@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 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.