From patchwork Mon Apr 19 09:14:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Rothwell X-Patchwork-Id: 1467841 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.a=rsa-sha256 header.s=201702 header.b=FgU4M1Vb; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FP1Nm3sZLz9vDw for ; Mon, 19 Apr 2021 19:14:48 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FP1Nm3670z3c7t for ; Mon, 19 Apr 2021 19:14:48 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.a=rsa-sha256 header.s=201702 header.b=FgU4M1Vb; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=canb.auug.org.au (client-ip=2401:3900:2:1::2; helo=ozlabs.org; envelope-from=sfr@canb.auug.org.au; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.a=rsa-sha256 header.s=201702 header.b=FgU4M1Vb; dkim-atps=neutral Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4FP1NN2QGHz2ydH for ; Mon, 19 Apr 2021 19:14:26 +1000 (AEST) 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 4FP1NL1sDFz9vDw; Mon, 19 Apr 2021 19:14:26 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1618823666; bh=U0cJZcwN5kd0CZDhnPI3sGatSBR5W6x83YHl7PmoKss=; h=Date:From:To:Cc:Subject:From; b=FgU4M1VbkYuuTSBRonfWtFS+tXhH0Kn5Skg9rSxe9eybR7oQcSW/EHjyO5C/hflwm wDGxqCKOwtVS8z9ORZqWnkQX6YIEiLp3iUeTU7JrNgoVHZwW2a+bPS9zzG9QyWlWOc ISw07N9Km1bhboUCjLc90MfZ7o5mcLMAqd8mP+pS6OJRHyQGHqzDVXk9/tmAM5Y9Gq lvGUD094wjxwEHJsd/H6kE/GtGfexZ6u6jX97d3KB9qT8W4DWNfeRLOPZdMSJwG47T I1VBnnHxA7c6qtfkaiE9AHP6FgF7etFWemJOXe5fpSB7QWmVWv0ajTvcNmCKg5B4rs J6gIwVeWuW74A== Date: Mon, 19 Apr 2021 19:14:25 +1000 From: Stephen Rothwell To: Michael Ellerman , PowerPC Subject: linux-next: build failure after merge of the powerpc tree Message-ID: <20210419191425.281dc58a@canb.auug.org.au> MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Xiongwei Song , Linux Next Mailing List , Linux Kernel Mailing List Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi all, After merging the powerpc tree, today's linux-next build (powerpc allyesconfig) failed like this: arch/powerpc/kernel/fadump.c: In function 'crash_fadump': arch/powerpc/kernel/fadump.c:731:28: error: 'INTERRUPT_SYSTEM_RESET' undeclared (first use in this function) 731 | if (TRAP(&(fdh->regs)) == INTERRUPT_SYSTEM_RESET) { | ^~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/kernel/fadump.c:731:28: note: each undeclared identifier is reported only once for each function it appears in Caused by commit 7153d4bf0b37 ("powerpc/traps: Enhance readability for trap types") I have applied the following patch for today. From: Stephen Rothwell Date: Mon, 19 Apr 2021 19:05:05 +1000 Subject: [PATCH] fix up for "powerpc/traps: Enhance readability for trap types" Signed-off-by: Stephen Rothwell --- arch/powerpc/kernel/fadump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c index b55b4c23f3b6..000e3b7f3fca 100644 --- a/arch/powerpc/kernel/fadump.c +++ b/arch/powerpc/kernel/fadump.c @@ -31,6 +31,7 @@ #include #include #include +#include /* * The CPU who acquired the lock to trigger the fadump crash should