Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1273943pxu; Mon, 23 Nov 2020 16:43:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlpMm9uksP6TaSjVBOEGcjZiRA51bPeecyOfzCji8EtZKL7bCWF4ebBU59Yxz7h2nSiTmt X-Received: by 2002:a17:906:f881:: with SMTP id lg1mr2076150ejb.133.1606178619147; Mon, 23 Nov 2020 16:43:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606178619; cv=none; d=google.com; s=arc-20160816; b=dAOG0ZQUszA7sFuC1TqCc0F/90OA6uU0UCEAB5HGgyLWR4elF0WEJfCDLjyXwKi7b+ 8agugoF0cWS6UvHH1Ac4co4oY4KgCADwFqExehQKt1gV7wC4jHFkCarvYPnaugDs7/IU gCn2/xTTKSWRRQZRSpaTjAVe6mulMtCYyyY6il3ZZ3t7iYF3LVexmvOKF3bHFPDz3SQb VhBIOgx6L/3xeCEM5yIaunuA5PSHzktFTeA9izCu1TZfTcB/mdIFGDVSaDiGVKuQhftR TFKji2p1dwuqaO28msuUS0/mLMY+cAYuTXExaabJx8HBpkkLbhKygR5tOojjJmeUhHFW 8Nkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=qAqWQ7lF8fwT6Z6RNkvl6HGHAviLKSn+EPZNXG/MtJ0=; b=kcSA3MPmIoFwadXi2e61fCllPAWgdzF38FGWJiMr4xgk/MYJ2AYOVNrkDbw/i4alOF hqSOK0ZiMTDFJ0u2AxRlsxrr0Xt5FVTiwO79aJ2q8I6xwj72aPZ4JDHEt3ZtQmLKzoxj srSmonmAenRxxNtlW6kZIoBH+jIZslSwSQNMPlFHCKADS/Hv7teIGAEUEXdWcJ7nYCyb OF3jYWYVCP2pnp/DK9Knk/NDSzLIpy1QrSXZYW7QtuFTCV5kepsAFN9LhcBr4HA+krvB MXb6JOfp90b/b/15fF6p9rk8KRqyg4MKxLj65DtglBQhwSkGP8U4+YSI5iA9WYvsbaT/ /phg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qu18si7338691ejb.438.2020.11.23.16.43.16; Mon, 23 Nov 2020 16:43:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727662AbgKWXjR (ORCPT + 99 others); Mon, 23 Nov 2020 18:39:17 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:57557 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727637AbgKWXjR (ORCPT ); Mon, 23 Nov 2020 18:39:17 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 4Cg3X33gPhz9sSs; Tue, 24 Nov 2020 10:39:15 +1100 (AEDT) From: Michael Ellerman To: Michael Ellerman , Stephen Rothwell , PowerPC Cc: Linux Next Mailing List , Linux Kernel Mailing List , Daniel Axtens , Nicholas Piggin In-Reply-To: <20201123184016.693fe464@canb.auug.org.au> References: <20201123184016.693fe464@canb.auug.org.au> Subject: Re: linux-next: build failure in Linus' tree Message-Id: <160617472873.1817800.16473753588453276266.b4-ty@ellerman.id.au> Date: Tue, 24 Nov 2020 10:39:15 +1100 (AEDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Nov 2020 18:40:16 +1100, Stephen Rothwell wrote: > After merging most of the trees, today's linux-next build (powerpc64 > allnoconfig) failed like this: > > In file included from arch/powerpc/include/asm/kup.h:18, > from arch/powerpc/include/asm/uaccess.h:9, > from include/linux/uaccess.h:11, > from include/linux/sched/task.h:11, > from include/linux/sched/signal.h:9, > from include/linux/rcuwait.h:6, > from include/linux/percpu-rwsem.h:7, > from include/linux/fs.h:33, > from include/linux/compat.h:17, > from arch/powerpc/kernel/asm-offsets.c:14: > arch/powerpc/include/asm/book3s/64/kup-radix.h:66:1: warning: data definition has no type or storage class > 66 | DECLARE_STATIC_KEY_FALSE(uaccess_flush_key); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > arch/powerpc/include/asm/book3s/64/kup-radix.h:66:1: error: type defaults to 'int' in declaration of 'DECLARE_STATIC_KEY_FALSE' [-Werror=implicit-int] > arch/powerpc/include/asm/book3s/64/kup-radix.h:66:1: warning: parameter names (without types) in function declaration > arch/powerpc/include/asm/book3s/64/kup-radix.h: In function 'prevent_user_access': > arch/powerpc/include/asm/book3s/64/kup-radix.h:180:6: error: implicit declaration of function 'static_branch_unlikely' [-Werror=implicit-function-declaration] > 180 | if (static_branch_unlikely(&uaccess_flush_key)) > | ^~~~~~~~~~~~~~~~~~~~~~ > arch/powerpc/include/asm/book3s/64/kup-radix.h:180:30: error: 'uaccess_flush_key' undeclared (first use in this function) > 180 | if (static_branch_unlikely(&uaccess_flush_key)) > | ^~~~~~~~~~~~~~~~~ > arch/powerpc/include/asm/book3s/64/kup-radix.h:180:30: note: each undeclared identifier is reported only once for each function it appears in > arch/powerpc/include/asm/book3s/64/kup-radix.h: In function 'prevent_user_access_return': > arch/powerpc/include/asm/book3s/64/kup-radix.h:189:30: error: 'uaccess_flush_key' undeclared (first use in this function) > 189 | if (static_branch_unlikely(&uaccess_flush_key)) > | ^~~~~~~~~~~~~~~~~ > arch/powerpc/include/asm/book3s/64/kup-radix.h: In function 'restore_user_access': > arch/powerpc/include/asm/book3s/64/kup-radix.h:198:30: error: 'uaccess_flush_key' undeclared (first use in this function) > 198 | if (static_branch_unlikely(&uaccess_flush_key) && flags == AMR_KUAP_BLOCKED) > | ^~~~~~~~~~~~~~~~~ > > [...] Applied to powerpc/fixes. [1/1] powerpc/64s: Fix allnoconfig build since uaccess flush https://git.kernel.org/powerpc/c/b6b79dd53082db11070b4368d85dd6699ff0b063 cheers