Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3236620imm; Fri, 24 Aug 2018 13:07:31 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda++wO2aFHRk5sHGMbwUXIauNxYLhFxDxEG0k6qBl1QY683UpT0FzS2QnZcGbDG8z4KXliB X-Received: by 2002:a63:e116:: with SMTP id z22-v6mr2934700pgh.89.1535141251247; Fri, 24 Aug 2018 13:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535141251; cv=none; d=google.com; s=arc-20160816; b=NCRMJrul8GlXlBpOeMq+pL1JeQgrXxWF4d1WQ0JbgVHoKHNYO59xNs46wapQcLfya8 /z3UNyuGVtsIL+OtPy5cAgxqKlGFcdL8N/jh20+7NsylJXhHS3V8IMnAZNVQFb4tvDjE sGkckqLuxS/MeIOsD5d0qrrURRl45L0x0DyGol83LciPqREABleUjM1c1y1KnXZMZ99a 6eyv6qb7t0DFib3Fe04MTcuhb+Gs6SlIOr1srgxFi9HX8GAIYGsl6TiyWyUvf1OvFLdx MANBKbSwzY8TJdkiDzdRIi7t7ArqtgJrm0Y61c2dg/djHJAadC2ZbxXyRDZG9cQUJXKz w4Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=vd6ddKIiDn7Wxc81DAU/CU1ZzdkNr6/YfvtOpLX6/Cg=; b=JFCaIizbpMZ/NQCHGJwF8LsUZjH1HCCHSAfKvV0i/z/f8w35Od+6VVrF0qm4q/0OrU bD7IdABCNL5Ud9ZfrKIn96/nPm+4SQnQzB5R2KYjZKq/RnMDeD1yJkPQAioPKldeBqkC AfwVUU3SifyxYPLDb/ygtrMWYKjnLto/7KdeoP4bM9RKepxRt//FRvPjNTFejlUtaOcs qh1Z/yzin5BvY4G+5FcMWuPe94SmAy9Zr1UZxSghrjWIhp2qjSjGyiD4MPkWV1zCt49O nsRG1TJAgr9AGbfDjKMaGihdR0dOEoXysa+seSNHlxgyZIsaizDH4uE6wdhy8nMt/v3t 6YKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=qIcfjktT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y7-v6si6977440pgp.551.2018.08.24.13.07.15; Fri, 24 Aug 2018 13:07:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=qIcfjktT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727540AbeHXXmP (ORCPT + 99 others); Fri, 24 Aug 2018 19:42:15 -0400 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 Received: by mail-pg1-f195.google.com with SMTP id v66-v6so4749792pgb.10; Fri, 24 Aug 2018 13:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vd6ddKIiDn7Wxc81DAU/CU1ZzdkNr6/YfvtOpLX6/Cg=; b=qIcfjktTnB1TQzksJXK/ZxYzK0EEsNY3cXawAWGr6L8oeyR+v/H0t4OID3VyG89o/F yZrWyTatnFgTq/Sy0t+mGPlT36sJpFD8o38qL/Cas3l7on6UrQEPsfViifGZOgFuRNFb xw25WryNFYrSDmZsgxFZkNzcvRl4ZvvhiYtO1UtqZqPf4rdK+OYSH/csWdBv38Zl+wjS YoeOQl7i8BALEvEdjdvatyBXCgeWiBANpSBxUT631XeR30pcxxU51mUfJaOMU5z0CfAH 7lYVcQWuVD6HnFaI/qIEXFbgi0z1w1LmZcdW06mxmFbyATkFqmtpxWszKxwQjyHrxu8H +5rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=vd6ddKIiDn7Wxc81DAU/CU1ZzdkNr6/YfvtOpLX6/Cg=; b=E8jIXwkvwB/52ThaDjZrFB0B8qZxA+WEtK7H9WMuN3pEl1lMSbGTZ1Pne+gTpUy0oI A8k5zYa50KpqmgHtMVaeFUzm0VqqCk4S3vm+0kJVT6mWb2om1YQXfLfE07V5cQOjuPi9 RUksrzXYovHlegeExIKO0+VjkC2OH6uiLVMqsFIxEaMZbs1FRYVYnQ8C/o14lf1ADrKB Q1gDtWUid1nGMwNLgXcGDihUj35cQkLECOeMQeDsUhE7/gTJmTlopLYsZb+auZfjlL8J grcLWCphW6nPWBBZ08M86hg2jJNh+/iYK81U3/TI6bHYYE22ijanSHS/RWFH8rcgnN3O Lbrw== X-Gm-Message-State: APzg51AHf9tvuYcg6O831sZMZl9AK4DuhBnwarM/O4Sjo6DLAx9y6tD/ q4DAy+NsKTa098Ggp9bqR98= X-Received: by 2002:a63:fa17:: with SMTP id y23-v6mr3006541pgh.177.1535141169483; Fri, 24 Aug 2018 13:06:09 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id o3-v6sm8835446pgv.53.2018.08.24.13.06.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Aug 2018 13:06:08 -0700 (PDT) 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> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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