From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f195.google.com ([209.85.215.195]:43766 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726675AbeHXXmO (ORCPT ); Fri, 24 Aug 2018 19:42:14 -0400 Date: Fri, 24 Aug 2018 13:06:07 -0700 From: Guenter Roeck To: Greg Kroah-Hartman Cc: Roland Dreier , Ben Hutchings , LKML , stable@vger.kernel.org, matt@codeblueprint.co.uk, bp@suse.de, Andrew Morton , Andy Lutomirski , luto@kernel.org, Ard Biesheuvel , bp@alien8.de, brgerst@gmail.com, davej@codemonkey.org.uk, dvlasenk@redhat.com, "H. Peter Anvin" , Linus Torvalds , Peter Zijlstra , sai.praneeth.prakhya@intel.com, sds@tycho.nsa.gov, Thomas Gleixner , toshi.kani@hp.com, linux-efi@vger.kernel.org, Ingo Molnar , Yazen.Ghannam@amd.com Subject: Re: [PATCH 4.4 103/105] Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers" Message-ID: <20180824200607.GA18715@roeck-us.net> References: <20171215092305.994559179@linuxfoundation.org> <20171215092311.347628971@linuxfoundation.org> <1535129126.2902.36.camel@codethink.co.uk> <20180824191749.GA15489@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180824191749.GA15489@kroah.com> Sender: stable-owner@vger.kernel.org List-ID: On Fri, Aug 24, 2018 at 09:17:49PM +0200, Greg Kroah-Hartman wrote: > On Fri, Aug 24, 2018 at 10:08:28AM -0700, Roland Dreier wrote: > > > See > > > . > > > > Thanks! I'm not using SGI UV and I'm not using kexec, so I guess I > > sidestepped most of those issues. Greg, I think we need to unrevert > > the cpa->pfn change (otherwise the L1TF fix probably gets pretty > > messy) and I guess pull in the other patches that Ben mentions. > > Ok, so what patch should be reverted? I'm seeing other reports of > problems all around this same area, but I can't figure out exactly what > to do. > > Guenter, any ideas? > I think we'll need to reapply 87e2bd898d3a ("x86/mm/pat: Ensure cpa->pfn only contains page frame numbers"), and possibly apply d367cef0a7f0 ("x86/mm/pat: Fix boot crash when 1GB pages are not supported by the CPU"). Both require conflict resolutions, but they are quite straightforward. I am not sure about the other EFI patches. I am going to send the backports as RFT in a minute. Problem is that I don't have an EFI system at hand and can not test if this fixes the problem (or maybe introduces a new one), so someone will need to step in and do those tests. Guenter