Received: by 10.223.185.116 with SMTP id b49csp2422891wrg; Thu, 15 Feb 2018 11:20:42 -0800 (PST) X-Google-Smtp-Source: AH8x227pOoWYXQa4eSmJ3J0JsmFv6phlJ+gSXqZReXO7N91oSZABLOHJoH9One4kJ9Sq2UVykvhe X-Received: by 10.99.103.129 with SMTP id b123mr2967178pgc.177.1518722442775; Thu, 15 Feb 2018 11:20:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518722442; cv=none; d=google.com; s=arc-20160816; b=0nVuiFtKSPILEz/bjekM88v/o8T/It1ZNvx65GNhEUitq9nY9LYzhd/xFsc7aRqJzS 2fUcsuid4t4VkZScXJHLqefQr7AymIQwf/GFNFJD5A3USvN+Z6/3zOex/eD5DxR5DhCT pt6KppFEokRWdnJEY3ktM5gFjfwdnaH0eGrWgBu5sZ0dtOrrYf/BvVkcB7Y6SruKeKi+ dG4Tls+rYl3ehUSX9Rn29On2xfyCvK+7XkrbSA1l5jQuFD173nc0QW9OJ0xYzNzCejKI qMvyVX93+cGv1tB9yqQMLN4gq+UmxsbF7qDCCMbf2dlA9lGV13hQmccc9Be9NWtGXzD2 pTDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=CZE14iiVEm6liRiWKGFiNZ7dhGSrxmbHJ0/St0bAWkE=; b=p27a29m6OvhSBxoKFnL0tzfZcx0Oo1dl79beV9i7YdIwPEHZPcszCKEfYNKzzCX4AG 331sbB7mxFmoF42frfuSOFHmgejcoq00oAg/SSt4Pw6lPHcpAh9TAaniRtMcRFme6s1J Qq7VB3RqB3daq82RcFN7y6ZL6JEifCcAfUlz80R3Vgyew3S8qaCVDx5ewPxfggQz7fNY WSbDfM5UG4UsPqqYozhz0VmZWsflHhgtWghiH0HZTFCHEHXmZPNMC0ELmLtOryzZwSLH BsB3c59V048V1fMw8vx6JK7Ixqxi52NfZstQqTHVdv/4K9awU42owLJ9Xwxk+VgV5UkA ZNAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=kP+4p2bg; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s15si129807pgf.99.2018.02.15.11.20.25; Thu, 15 Feb 2018 11:20:42 -0800 (PST) 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=pass header.i=@google.com header.s=20161025 header.b=kP+4p2bg; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1163560AbeBOTSg (ORCPT + 99 others); Thu, 15 Feb 2018 14:18:36 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:46188 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161188AbeBOTSd (ORCPT ); Thu, 15 Feb 2018 14:18:33 -0500 Received: by mail-pg0-f68.google.com with SMTP id a11so512941pgu.13 for ; Thu, 15 Feb 2018 11:18:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=CZE14iiVEm6liRiWKGFiNZ7dhGSrxmbHJ0/St0bAWkE=; b=kP+4p2bgGwSE4LHE0WmzwIlrWy0D9AGuWsWrEhNDfODQCP9Vj/dO04x/nywK5P+YA1 RmnbVRsfeblQBkpbpxvxBYjQfCxQ9FMfVcXl6GT6SmsXUH6xyE3hBNLNhxoegdnbY3nP MsSGExMtYDrFc1KspXBtowdCxgFSEnRpmYS4CW7qBU+ALOPykaYrF898TV8Yrt41u90L YuVU0e/9XzdU6QJpoVdmfGRYctIh20TjG9Ru7ybJnmIxulsg7Cafs02hsNR3diPS/tJ+ TyRVLsD+vbYb5vNNPLJrzqClZm+FWsVn9grq02y7DcqMudeueupI34wuwhqWZpOus8gN T8xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=CZE14iiVEm6liRiWKGFiNZ7dhGSrxmbHJ0/St0bAWkE=; b=XW7q4ba8Wj4Gg8F9VikiKjVXBNhroRtJd5RAgb7fyAQaBiKFOzD3JrTBTJyJR+0WvY qIVbyiM6+kvvAqM2O9Bq0HGw0X3c8BZn9eyUY9r2+6ubSAgmYJGvcIkWsHxsAD9VNYUs poftwBBFvMt00jNoZU5Fc5JSK6ADnsm3kugjPFlhDaobbM9st0jLO2kJlH1m1uNoRs2f emUE4nEdKZfCxKHCEEVOfZhnYqLhYcglyNTQht3kqfOMxklSP/yyYrjWrZTH1t0oDlvs L1LLbpNWKFV6RcM7V0N2rlbZLa1h366A3hVjdZqWdD9z4S2ozOvzDs208+oSTdtn7Ky9 w1yw== X-Gm-Message-State: APf1xPBTDPxb/4X5wnAxKsD8XxLkukj/E1tBK7YQaMuoHFS1RBfft/7H AbL5zSW1eLqe+4CSEPshkAhmrg== X-Received: by 10.98.58.204 with SMTP id v73mr3684019pfj.0.1518722312685; Thu, 15 Feb 2018 11:18:32 -0800 (PST) Received: from [100.112.91.183] ([104.133.9.103]) by smtp.gmail.com with ESMTPSA id c185sm45769475pfb.146.2018.02.15.11.18.31 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Feb 2018 11:18:32 -0800 (PST) Date: Thu, 15 Feb 2018 11:18:21 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Greg Kroah-Hartman cc: Arnd Bergmann , stable@vger.kernel.org, x86@kernel.org, Dave Hansen , Ben Hutchings , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , Hugh Dickins , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] [stable-4.9] x86: fix build without CONFIG_X86_VSYSCALL_EMULATION In-Reply-To: <20180215164922.GB6699@kroah.com> Message-ID: References: <20180215151710.1473117-1-arnd@arndb.de> <20180215164922.GB6699@kroah.com> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 15 Feb 2018, Greg Kroah-Hartman wrote: > On Thu, Feb 15, 2018 at 04:16:56PM +0100, Arnd Bergmann wrote: > > I ran into a 4.9 build regression in randconfig testing, starting with the > > KAISER patches: > > > > arch/x86/mm/kaiser.c: In function 'kaiser_init': > > arch/x86/mm/kaiser.c:347:8: error: 'vsyscall_pgprot' undeclared (first use in this function); did you mean 'massage_pgprot'? > > > > This is easy enough to fix, we just need to make the declaration visible > > outside of the #ifdef. This works because the code using it is optimized > > away when vsyscall_enabled() returns false at compile time. > > > > Fixes: 9a0be5afbfbb ("vsyscall: Fix permissions for emulate mode with KAISER/PTI") > > Signed-off-by: Arnd Bergmann > > --- > > arch/x86/include/asm/vsyscall.h | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > Thanks for these, I'll queue them up in the next round after these > kernels get released in a few days. Thanks to Arnd, but please drop this vsyscall one Greg: it duplicates my/Tobias's "kaiser: fix compile error without vsyscall" that you just sent out for 4.4 and 4.9 review. Arnd's PAE one looks good for 4.4 and 4.9 (well, in another context I'd object to using a different prototype in the stub, but I'm pretty sure Arnd feels the same way, but has made the appropriate choice for our Kaiser backports context): so please do take his 2/2 "x86: fix build warnign with 32-bit PAE" for both 4.4 and 4.9. Thanks, Hugh