Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1291166pxy; Sun, 1 Aug 2021 19:58:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNKDYMxmF1A4H58+vOIVSxySgzPBAdPpAL3fZS8feptRgX2LD140aCufm99MZzcgA2hOsC X-Received: by 2002:a92:c083:: with SMTP id h3mr273901ile.73.1627873098919; Sun, 01 Aug 2021 19:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627873098; cv=none; d=google.com; s=arc-20160816; b=Bnu+I5rZp8wKFGFKutzfGk0UvYoZYHXpmKTThgqY8Sxr3rTeQYIOotw0Z6YFLb7ldM zlOvKvT1pq6pTykxHInVy1ur5OOYLBcQTMbKuqo/QX0TkX3/0oXrdUdYUIfGetUmU++1 4HpFZtjc/4wOiAMJXgu8aKHymB6PBdXTgN7/OUcwladdfMK3YrivRdrsgLU7pamXLnlS ESAC7WiypBV7v/KT5StRxj8ZUgGO4oF6G3FDgR+dsQQbLL3K+R5TXKtA9PnZ4/GCtu4f 1D278hV0LTyQeVeKQvTS2tMpwmXCZlCx5OBdJUNdRWwC6VH4MfssEdibXiKo8kixNg0K JNOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=lgFF44D+VvUgGNOcyjoWgD9ieIKlVa+1W38G93yYucc=; b=Y19aylxnPeRufhfEtbMBTuZolA8ENkultskn6ouhmWi2F72l3YRIK1sxL1cmzNclyD cN2sSyadIkLqsK3cx8WLHFW/sMatth1XqZYS6wo4asHtP5px/IzC7i9DhbN0DzUD+TMX Zg9Pa0CLjVB1ZKiYb6ro4s3dRaR83ztEqKNGz9e0m/G+JhhE54JNUmhwWG0ymAarafFX dUa6Yct7/yHGzrcKBkcPOV/3ypd3a1LitK6TK52TfHZt5HIC8Ju5mgARxLzhu1JC92X2 Ozw8reV9/P74jqv71Mcf2tlYKENLdnSfK89fQOOFIWqEBaL38v3rs7ZSLTJwxVavF9Ts 7e8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b="mk/OrQNA"; 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 q5si11191254ilt.55.2021.08.01.19.58.06; Sun, 01 Aug 2021 19:58:18 -0700 (PDT) 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; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b="mk/OrQNA"; 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 S231707AbhHBC4r (ORCPT + 99 others); Sun, 1 Aug 2021 22:56:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229908AbhHBC4q (ORCPT ); Sun, 1 Aug 2021 22:56:46 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7800CC06175F; Sun, 1 Aug 2021 19:56:37 -0700 (PDT) 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 4GdN1V04FQz9sW5; Mon, 2 Aug 2021 12:56:13 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1627872995; bh=lgFF44D+VvUgGNOcyjoWgD9ieIKlVa+1W38G93yYucc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mk/OrQNAgyUtJh9QVu/sq6e2cVKMZEuh5t1elkMY1Gr3oABbY0LNl7+izatEJSZYL zGYgU92C+VtRG3i2VpinkrgquF7osc3y3sT0rg1Dkyhhq3uC9pQ9Vyxzu9DIdALkJc uVe/31b8NqskHAYnC6qUpRqajmu4XqURQ3LIDSg6AKfjRRV0hOE1uY7cgZepVTdX9e 8HP4jyVzz75vtA5OgyyRq7pJjgDvTYCj/aQ+sFQ1koQ2SqpBgqVF2xnWntozO8y/pw uq0H9be0uwkFpXGGeabu1UoeiTG0mQrIQSbO5Gdvb2ehvStkNDQgftwpI5d9vMxe/C vq3iTIN0uJtjQ== From: Michael Ellerman To: Masahiro Yamada , Steven Rostedt , Ingo Molnar Cc: Masahiro Yamada , Arnd Bergmann , Ard Biesheuvel , Borislav Petkov , Linus Walleij , Ley Foon Tan , x86@kernel.org, linux-mips@vger.kernel.org, sparclinux@vger.kernel.org, Anshuman Khandual , Nick Hu , Thomas Gleixner , Mike Rapoport , Geert Uytterhoeven , Peter Zijlstra , Catalin Marinas , linux-riscv@lists.infradead.org, YiFei Zhu , Greentime Hu , Palmer Dabbelt , Michal Simek , Helge Deller , linux-sh@vger.kernel.org, Vineet Gupta , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Guo Ren , Sami Tolvanen , Richard Weinberger , Christian Borntraeger , Rich Felker , Albert Ou , Heiko Carstens , Jeff Dike , Max Filippov , linux-hexagon@vger.kernel.org, linux-xtensa@linux-xtensa.org, "H. Peter Anvin" , Will Deacon , Thomas Bogendoerfer , Stefan Kristiansson , linux-s390@vger.kernel.org, Yoshinori Sato , "James E.J. Bottomley" , linux-um@lists.infradead.org, Andrey Konovalov , Frederic Weisbecker , Nicholas Piggin , Benjamin Herrenschmidt , Brian Cain , linux-csky@vger.kernel.org, Stafford Horne , Russell King , linux-arm-kernel@lists.infradead.org, Paul Walmsley , Chris Zankel , Vasily Gorbik , linux-snps-arc@lists.infradead.org, Jonas Bonn , linux-parisc@vger.kernel.org, Kees Cook , Krzysztof Kozlowski , Colin Ian King , "David S. Miller" , linux-kernel@vger.kernel.org, Vincent Chen , Anton Ivanov , Andrew Morton , Paul Mackerras , Mark Rutland , Viresh Kumar , linuxppc-dev@lists.ozlabs.org, openrisc@lists.librecores.org Subject: Re: [PATCH 2/3] trace: refactor TRACE_IRQFLAGS_SUPPORT in Kconfig In-Reply-To: <20210731052233.4703-2-masahiroy@kernel.org> References: <20210731052233.4703-1-masahiroy@kernel.org> <20210731052233.4703-2-masahiroy@kernel.org> Date: Mon, 02 Aug 2021 12:56:13 +1000 Message-ID: <87lf5klfle.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Masahiro Yamada writes: > Make architectures select TRACE_IRQFLAGS_SUPPORT instead of > having many defines. > > Signed-off-by: Masahiro Yamada > --- > > arch/Kconfig | 3 +++ > arch/arc/Kconfig | 4 +--- > arch/arm/Kconfig | 5 +---- > arch/arm64/Kconfig | 4 +--- > arch/csky/Kconfig | 4 +--- > arch/hexagon/Kconfig | 4 +--- > arch/microblaze/Kconfig | 1 + > arch/microblaze/Kconfig.debug | 5 ----- > arch/mips/Kconfig | 1 + > arch/mips/Kconfig.debug | 4 ---- > arch/nds32/Kconfig | 4 +--- > arch/nios2/Kconfig | 3 --- > arch/openrisc/Kconfig | 4 +--- > arch/parisc/Kconfig | 1 + > arch/parisc/Kconfig.debug | 3 --- > arch/powerpc/Kconfig | 5 +---- > arch/riscv/Kconfig | 4 +--- > arch/s390/Kconfig | 1 + > arch/s390/Kconfig.debug | 3 --- > arch/sh/Kconfig | 1 + > arch/sh/Kconfig.debug | 3 --- > arch/sparc/Kconfig | 1 + > arch/sparc/Kconfig.debug | 4 ---- > arch/um/Kconfig | 5 +---- > arch/x86/Kconfig | 1 + > arch/x86/Kconfig.debug | 3 --- > arch/xtensa/Kconfig | 4 +--- > 27 files changed, 21 insertions(+), 64 deletions(-) > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig > index d01e3401581d..76a28452c042 100644 > --- a/arch/powerpc/Kconfig > +++ b/arch/powerpc/Kconfig > @@ -94,10 +94,6 @@ config STACKTRACE_SUPPORT > bool > default y > > -config TRACE_IRQFLAGS_SUPPORT > - bool > - default y > - > config LOCKDEP_SUPPORT > bool > default y > @@ -271,6 +267,7 @@ config PPC > select STRICT_KERNEL_RWX if STRICT_MODULE_RWX > select SYSCTL_EXCEPTION_TRACE > select THREAD_INFO_IN_TASK > + select TRACE_IRQFLAGS_SUPPORT > select VIRT_TO_BUS if !PPC64 > # > # Please keep this list sorted alphabetically. Acked-by: Michael Ellerman (powerpc) cheers