From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:51208 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751028AbeBIRVP (ORCPT ); Fri, 9 Feb 2018 12:21:15 -0500 Subject: Re: [PATCH] KVM MMU: check pending exception before injecting APF To: Greg KH Cc: stable@vger.kernel.org, nikola.ciprich@linuxbox.cz, Haozhong Zhang References: <1518195642-14761-1-git-send-email-pbonzini@redhat.com> <20180209171729.GA20345@kroah.com> From: Paolo Bonzini Message-ID: <577e399b-7ca8-3df0-e473-cbac9dbe122d@redhat.com> Date: Fri, 9 Feb 2018 18:21:13 +0100 MIME-Version: 1.0 In-Reply-To: <20180209171729.GA20345@kroah.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 09/02/2018 18:17, Greg KH wrote: > On Fri, Feb 09, 2018 at 06:00:42PM +0100, Paolo Bonzini wrote: >> From: Haozhong Zhang >> >> [ upstream commit 2a266f23550be997d783f27e704b9b40c4010292 Mon Sep 17 00:00:00 2001 ] > > Odd date :) Oops... git's fake mbox "From" line. >> >> For example, when two APF's for page ready happen after one exit and >> the first one becomes pending, the second one will result in #DF. >> Instead, just handle the second page fault synchronously. >> >> Reported-by: Ross Zwisler >> Message-ID: >> Reported-by: Alec Blayne >> Signed-off-by: Haozhong Zhang >> Fixes: 664f8e26b00c7673a8303b0d40853a0c24ca93e1 > > So this is only needed for 4.14.y? Yes. 4.13 and 4.15 both work. Paolo