From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Xiao Guangrong <xiaoguangrong.eric@gmail.com>
Cc: Gleb Natapov <gleb@redhat.com>,
kvm@vger.kernel.org,
Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang
Date: Wed, 17 Jul 2013 21:38:26 +0200 [thread overview]
Message-ID: <20130717193826.GA360@x4> (raw)
In-Reply-To: <A162C863-8D7A-4346-AECA-4509AC9BC7C0@gmail.com>
On 2013.07.18 at 03:27 +0800, Xiao Guangrong wrote:
>
> Could you please try this:
>
> index 460b9c6..16d1578 100644
> --- a/arch/x86/kvm/mmu.c
> +++ b/arch/x86/kvm/mmu.c
> @@ -2952,6 +2952,9 @@ static bool page_fault_can_be_fast(u32 error_code)
> !(error_code & PFERR_WRITE_MASK))
> return false;
>
> + if (error_code & PFERR_RSVD_MASK)
> + return false;
> +
> return true;
> }
This fixes the issue for me. Many thanks Xiao.
--
Markus
next prev parent reply other threads:[~2013-07-17 19:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-17 16:32 commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang Markus Trippelsdorf
2013-07-17 16:42 ` Gleb Natapov
2013-07-17 16:57 ` Markus Trippelsdorf
2013-07-17 17:25 ` Xiao Guangrong
2013-07-17 17:34 ` Markus Trippelsdorf
2013-07-17 18:42 ` Markus Trippelsdorf
2013-07-17 18:55 ` Gleb Natapov
2013-07-17 19:00 ` Markus Trippelsdorf
2013-07-17 19:27 ` Xiao Guangrong
2013-07-17 19:38 ` Markus Trippelsdorf [this message]
2013-07-17 19:28 ` Gleb Natapov
2013-07-17 19:22 ` Xiao Guangrong
2013-07-17 19:07 ` Xiao Guangrong
2013-07-17 19:31 ` Gleb Natapov
2013-07-17 19:52 ` Xiao Guangrong
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=20130717193826.GA360@x4 \
--to=markus@trippelsdorf.de \
--cc=gleb@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=xiaoguangrong.eric@gmail.com \
--cc=xiaoguangrong@linux.vnet.ibm.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