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=ham 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 A5108C4320A for ; Mon, 2 Aug 2021 02:56:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 80547610A5 for ; Mon, 2 Aug 2021 02:56:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230341AbhHBC4r (ORCPT ); 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-csky@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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Subject: Re: [PATCH 2/3] trace: refactor TRACE_IRQFLAGS_SUPPORT in Kconfig Date: Mon, 02 Aug 2021 12:56:13 +1000 Message-ID: <87lf5klfle.fsf@mpe.ellerman.id.au> References: <20210731052233.4703-1-masahiroy@kernel.org> <20210731052233.4703-2-masahiroy@kernel.org> Mime-Version: 1.0 Return-path: 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== In-Reply-To: <20210731052233.4703-2-masahiroy@kernel.org> List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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 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=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 CD8F6C4338F for ; Mon, 2 Aug 2021 02:57:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 8024B610A0 for ; Mon, 2 Aug 2021 02:57:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8024B610A0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jMEHZiBUdzw5aWBlaiA/IA1PpsEYhwv22AGTP8VorZ8=; b=vYUL+V+wo0f5Y1 uJbLoQUtCdiGJxtd5GCOX2nrkcv4S0iIPEI7n2d1O8edjT0fcqJSru18s5hDoSIGCkQ8QeD/4803u 0ksjZNmCdPtKLASP9AMnWxT0ZTupjXt7i1F4TSUWypb4HPwQpBUrdz7qAIiHw32dsUve+tBiBmRRF FDljpnibJ63KoVj4E9nK+sceb4tLvgRbtI2pt9bW/kNfk0uxR45v8TiG6GTVj18V/MXnQyKwWRpcu Rwq2S6V1C3ktT3K4U603mfqj25sKyHUwjspvmlpvzent65X0yDRDrIkDWYmk0m9YbriQvr8j9kEcf y0ljz+zSfYJgdNaqooqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAO8A-00Ek0H-MF; Mon, 02 Aug 2021 02:56:42 +0000 Received: from bilbo.ozlabs.org ([2401:3900:2:1::2] helo=ozlabs.org) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAO86-00EjzU-P5; Mon, 02 Aug 2021 02:56:40 +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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_195639_082441_FF0083DD X-CRM114-Status: GOOD ( 15.15 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 D5031C4338F for ; Mon, 2 Aug 2021 02:56:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 8E1FF61050 for ; Mon, 2 Aug 2021 02:56:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8E1FF61050 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=h6biEZw3S89rtcHyVhlnKoo2sVjT8nLmNgKeK1bwqgM=; b=UGrUVwo0/JrNjP PG49DRPppP9ucOAKuzIMibnIOk9q9OCh03KBRjlfuNT3XTuSCf+87BZqUUFEEuNXLt+HuTt7TnUAV awoxlDcIKHZLLGWDAGM5MDIkyibKrUx1448QIK61GV51vz3vb7lHo1it20RTJJ5PQnughaQdJ/moi 0DnsmN4R0SUqktpntXU09ASNer8L8MXEhuqO3MBIVo1o5zrTkZx0X9t4LdBKYydRcDihldI9Np8mz Col/i5ntXDKRsm5sIB1EGNRuXm4sueLUzFamN2va/qffhzCwpXAdAOfqat3sOieVCpHtvwono+Qht YownVqoq7M/Fl88gp7xQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAO8C-00Ek0f-3k; Mon, 02 Aug 2021 02:56:44 +0000 Received: from bilbo.ozlabs.org ([2401:3900:2:1::2] helo=ozlabs.org) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAO86-00EjzU-P5; Mon, 02 Aug 2021 02:56:40 +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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210801_195639_082441_FF0083DD X-CRM114-Status: GOOD ( 15.15 ) X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Date: Mon, 02 Aug 2021 12:56:13 +1000 Subject: [OpenRISC] [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> Message-ID: <87lf5klfle.fsf@mpe.ellerman.id.au> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: openrisc@lists.librecores.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 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=-13.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 4C40FC4338F for ; Mon, 2 Aug 2021 23:38:30 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 568BA60EE3 for ; Mon, 2 Aug 2021 23:38:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 568BA60EE3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GdvZq4D5vz3bPN for ; Tue, 3 Aug 2021 09:38:27 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=mk/OrQNA; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ellerman.id.au (client-ip=2401:3900:2:1::2; helo=ozlabs.org; envelope-from=mpe@ellerman.id.au; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=mk/OrQNA; 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) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4GdN214dCtz2yP0 for ; Mon, 2 Aug 2021 12:56:41 +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 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 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 X-Mailman-Approved-At: Tue, 03 Aug 2021 09:38:00 +1000 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: Mark Rutland , Rich Felker , linux-sh@vger.kernel.org, Peter Zijlstra , Catalin Marinas , Linus Walleij , Viresh Kumar , linux-kernel@vger.kernel.org, "James E.J. Bottomley" , Max Filippov , Guo Ren , linux-csky@vger.kernel.org, "H. Peter Anvin" , sparclinux@vger.kernel.org, linux-riscv@lists.infradead.org, Vincent Chen , Will Deacon , Ard Biesheuvel , Paul Mackerras , Anton Ivanov , Jonas Bonn , linux-s390@vger.kernel.org, Vasily Gorbik , Yoshinori Sato , Krzysztof Kozlowski , YiFei Zhu , Richard Weinberger , Masahiro Yamada , x86@kernel.org, Russell King , Ley Foon Tan , Christian Borntraeger , Geert Uytterhoeven , linux-parisc@vger.kernel.org, Sami Tolvanen , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Stafford Horne , linux-snps-arc@lists.infradead.org, Jeff Dike , linux-xtensa@linux-xtensa.org, Albert Ou , Kees Cook , Arnd Bergmann , Anshuman Khandual , Heiko Carstens , linux-um@lists.infradead.org, Nicholas Piggin , Stefan Kristiansson , openrisc@lists.librecores.org, Borislav Petkov , Greentime Hu , Paul Walmsley , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Andrey Konovalov , Chris Zankel , Michal Simek , Thomas Bogendoerfer , Brian Cain , Nick Hu , Vineet Gupta , linux-mips@vger.kernel.org, "David S. Miller" , Frederic Weisbecker , Palmer Dabbelt , linux-hexagon@vger.kernel.org, Colin Ian King , Andrew Morton , linuxppc-dev@lists.ozlabs.org, Helge Deller , Mike Rapoport Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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