From patchwork Thu Jul 30 22:58:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Rothwell X-Patchwork-Id: 11693751 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1B7BA722 for ; Thu, 30 Jul 2020 23:00:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E80B720829 for ; Thu, 30 Jul 2020 23:00:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vk37mENH"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="uqgSVAUX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E80B720829 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=oxslJlaM9kROAbphYUXNVo0GVWmQ7h1AO8abxhJ9H14=; b=vk3 7mENHh3H4Ovei9tyk5WzJEflHUeGnEDxkBg1obwVDDQLIA1HI7WQJWhPDBdrGrzGTa6XbXDe59yUs 0HhontRWnbrdy5TbuIZmcX43vATmF5RP3zYcEgae4ErIpoLJ5vVtcF2FLOrSFgsAX6QJfxLgv5Xzf YwE4nKc4s0TCsir6zaaVHkBNMDUYEhyY5NOU/kmbVG+qm7W9xaHeYawn3xsf25qfHIkTEtEqUEyQ7 uiH/1WwmKMRGxXUeDHKUSh0P9VmeCfJUGTApvmiPK6ultOWQCf6efnRrn8u87MbbX5UsVEM1VKVAB FPd19taLG33azvlJudzWXJTw/WD7t4w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k1HVd-0008Pe-35; Thu, 30 Jul 2020 22:58:45 +0000 Received: from ozlabs.org ([203.11.71.1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k1HVa-0008Ot-RR for linux-arm-kernel@lists.infradead.org; Thu, 30 Jul 2020 22:58:43 +0000 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4BHm6j0qlZz9s1x; Fri, 31 Jul 2020 08:58:36 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1596149919; bh=cQKDie17qvmvYjIkLIKm8tiDdWuuEE1d5PnVie3sReA=; h=Date:From:To:Cc:Subject:From; b=uqgSVAUXRM1j7UsJM3Huy3Nmmhi2LQbia2x4IULa04j46eQSsBH5isS4ZyfZ1kgsQ JYU0bUyCaaSOuywkgrSTtvepXq0JpkLPkgmt+UHMbdEbs0WnIwxrKlleWsSZZfpWPm c5osxEdsVz7nqsf3p5hMRUt1bj7t47Sq4RtUEbTDh7WmtJEm6hk49ZU+/sJUHfpdkv CvN4EFnYFdTLSSDZFCoC6v4eSGWxseZXuGguod9ks5OTLJTdiIKTPiOgnZQcOZf+Al 9FrNtVFKUgL67gKm2s63ruvJZHeXtSeFiSjLmsduZDSs1TOuPyG5TNzY5KAsqAXXXe aHcQT6KH4Rtjg== Date: Fri, 31 Jul 2020 08:58:36 +1000 From: Stephen Rothwell To: Linus Torvalds Subject: linux-next: build failure after merge of the origin tree Message-ID: <20200731085836.139d3180@canb.auug.org.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200730_185843_148914_4DC74DDD X-CRM114-Status: GOOD ( 17.91 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Russell King , Linux Next Mailing List , Linux Kernel Mailing List , Linux Arm Kernel List , Willy Tarreau Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi all, After merging the origin tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In file included from include/linux/random.h:14, from arch/arm/kernel/signal.c:8: arch/arm/include/asm/percpu.h: In function '__my_cpu_offset': arch/arm/include/asm/percpu.h:29:34: error: 'current_stack_pointer' undeclared (first use in this function); did you mean 'user_stack_pointer'? 29 | : "Q" (*(const unsigned long *)current_stack_pointer)); | ^~~~~~~~~~~~~~~~~~~~~ | user_stack_pointer Presumably aused by commit 1c9df907da83 ("random: fix circular include dependency on arm64 after addition of percpu.h") I have added this fix patch for today: From: Stephen Rothwell Date: Fri, 31 Jul 2020 08:50:31 +1000 Subject: [PATCH] arm: include asm/thread_info.h in asm/percpu.h This need was uncovered by commit 1c9df907da83 ("random: fix circular include dependency on arm64 after addition of percpu.h") Signed-off-by: Stephen Rothwell --- arch/arm/include/asm/percpu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/percpu.h b/arch/arm/include/asm/percpu.h index f44f448537f2..ebfa06bebea5 100644 --- a/arch/arm/include/asm/percpu.h +++ b/arch/arm/include/asm/percpu.h @@ -10,6 +10,9 @@ * in the TPIDRPRW. TPIDRPRW only exists on V6K and V7 */ #if defined(CONFIG_SMP) && !defined(CONFIG_CPU_V6) + +#include /* for current_stack_pointer */ + static inline void set_my_cpu_offset(unsigned long off) { /* Set TPIDRPRW */