From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: 4.14.18 -> 4.14.24 - almost all guests hanged Date: Thu, 8 Mar 2018 06:17:14 -0800 Message-ID: <20180308141714.GA8631@kroah.com> References: <20180305083606.GA3004@pcnci.linuxbox.cz> <20180307145623.GH28488@pcnci.linuxbox.cz> <20180307202910.GA1527@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: =?utf-8?B?546L6YeR5rWm?= , KVM list , nik@linuxbox.cz, stable@vger.kernel.org To: Nikola Ciprich Return-path: Content-Disposition: inline In-Reply-To: <20180307202910.GA1527@localhost.localdomain> Sender: stable-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, Mar 07, 2018 at 09:29:10PM +0100, Nikola Ciprich wrote: > Hi, > > > > > I'd like to report that when upgrading our cluster from 4.14.18 to > > > > 4.14.24-rc1 (with live guests migration), almost none of guests survived.. > > > What's your hardware setup, intel with IBPB enabled microcode? > > Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz > > > > therefore I suppose no IBPB (at least meltdown checker reports so) > > > > > > > Does guests hang right after live migration? > > yes, just tried it. > > > > > > > > > > Are you able to reproduce the problem, does it work with latest upstream? > > yup, so I'm able to reproduce quickly. I'll revert the cluster to 4.14.18 now, > > but setup test system just afterwards, so and test the patch you've proposed. > > > > > > > > Not sure it helps, but following patch is missing in 4.14.24 > > > > > > commit 37b95951c58fdf08dc10afa9d02066ed9f176fb5 upstream. > > > > > > kvm_valid_sregs() should use X86_CR0_PG and X86_CR4_PAE to check bit > > > status rather than X86_CR0_PG_BIT and X86_CR4_PAE_BIT. This patch is > > > to fix it. > > > > > > Fixes: f29810335965a(KVM/x86: Check input paging mode when cs.l is set) > > > Reported-by: Jeremi Piotrowski > > > Cc: Paolo Bonzini > > > Cc: Radim Krčmář > > > Signed-off-by: Tianyu Lan > > > Signed-off-by: Radim Krčmář > > > > I'll test and report. > > so indeed, this one on top of 4.14.24-rc1 fixes the migration for me. > Greg, could you queue this one up please? As was already pointed out, this is already queued up to be in the next release. thanks, greg k-h