From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Trippelsdorf Subject: Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang Date: Wed, 17 Jul 2013 21:38:26 +0200 Message-ID: <20130717193826.GA360@x4> References: <20130717163215.GA359@x4> <20130717164232.GI13732@redhat.com> <20130717165743.GA357@x4> <20130717184226.GA358@x4> <20130717185539.GK13732@redhat.com> <20130717190029.GA362@x4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Gleb Natapov , kvm@vger.kernel.org, Xiao Guangrong , Marcelo Tosatti , Paolo Bonzini , linux-kernel@vger.kernel.org To: Xiao Guangrong Return-path: Received: from ud10.udmedia.de ([194.117.254.50]:53414 "EHLO mail.ud10.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757111Ab3GQTi2 (ORCPT ); Wed, 17 Jul 2013 15:38:28 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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