From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10EE5C43214 for ; Mon, 2 Aug 2021 02:56:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EEAA160F48 for ; Mon, 2 Aug 2021 02:56:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231935AbhHBC4s (ORCPT ); Sun, 1 Aug 2021 22:56:48 -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