Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp835374imj; Fri, 15 Feb 2019 07:35:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IZuUVNkMnAH1uaaqaZmjq82at6ntqDZ9D+FVZMR+vgyhdzAa4z9LRKEw+HAGKEJR6mORtzx X-Received: by 2002:a62:48c1:: with SMTP id q62mr6947105pfi.113.1550244946659; Fri, 15 Feb 2019 07:35:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550244946; cv=none; d=google.com; s=arc-20160816; b=LBWscZpKOFYe0YMtSY1e+46fFcc1s0k9GXCqAHYUoBRb/7826W4F9tsLSBVEuWxEYu bjWlyeG2ZTkYt7tECras3RQX7IVkXU3QbWUf35JU2MqYI3qVt5IygJc4z4bd6Zsb5RV5 KC2ZKN+BGCh+3/5QwHbZPKEOTzAiqDOzeaPmHX5ubqEW1kagrv2S9oM/zLaLFjsizk3G pXr3v8IodoGDLxnA7erCdsBwB5dGH0TFr52vkNJAbyvSwD/KkVi+mmRGn/9UMveGOJml dgWysSpgk9t7hy+cdn1ECpiwCBTAG6wUq0NpdnsqTzD1qGxv8wi2ugVVu7IhaxnrvRLP bd4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=+CMccOOQs2SIMZf8GEgGda1f8v4r4nxXcnL40kDZkWo=; b=kL/MiQOH3/+jeluJt21J/7aEHRiB7GrnekxYrwIxyJBlZMz7QFisC/lP5Abh4cchap h3H6gIFiKrHNhtULlmJwT2ZfHmMUrOS7VeewRSwYl8pbtu39UBFYdcXtylOO4ED9QVxm g1BwOlHfl/piXUi1a7IHsPBzM/dJ8sxc8d3KW4aEuQ76RlzIBVCWkuXBFQmAy29AFY7C WjELkN6eyUIoQwww0QKrkvxLJfytYnVePfOI0sF14FRThp9JV6PNuNzZ15Tnxkr1IpBZ +StdWLexs1xw3O0Uw/J/eHQOIv10jpaKHHNH3OIpF1jqGjztmNVmeCBPW3MnfBt2SlUt vwcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=r36eIZwV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y20si5394102pgk.498.2019.02.15.07.35.29; Fri, 15 Feb 2019 07:35:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=r36eIZwV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390834AbfBOH4t (ORCPT + 99 others); Fri, 15 Feb 2019 02:56:49 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:30454 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726335AbfBOH4s (ORCPT ); Fri, 15 Feb 2019 02:56:48 -0500 Received: from mail-vk1-f181.google.com (mail-vk1-f181.google.com [209.85.221.181]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x1F7uO1t009874; Fri, 15 Feb 2019 16:56:24 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x1F7uO1t009874 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1550217385; bh=+CMccOOQs2SIMZf8GEgGda1f8v4r4nxXcnL40kDZkWo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=r36eIZwVVVerHTYGeE8H+hEk+dhffubWfEDTlx9AG4RL30kTqsQTAzSh77Yzior4A rb6X+C8vBMNhI+YwVXTTjM9LnDfR3daR1tXWjaNmJyxsOuOMEwgjbx3rQc03c8GLxz yZZCqQIgSfqA8WYMLrpMBjDw4BX9lLoRV22TX4ikyjYGbQusLu59bvMGD5V59B/8Wo 3uV/JlnVvKPwj25pwn015lWVfcZBo3cqXxUcljGmy7rPvZImAO+SSvn6svQVUDYcLq 8E/lRD4NxqqWOXTgghHWu+Skw3KftagWt7hj8AEiV8rh1x0En6J0KRiWoXBxDfffXA cK/rnETWff5bw== X-Nifty-SrcIP: [209.85.221.181] Received: by mail-vk1-f181.google.com with SMTP id y14so2029353vky.9; Thu, 14 Feb 2019 23:56:24 -0800 (PST) X-Gm-Message-State: AHQUAubGK+DMiwXTbIjzytREifCvrgKFI6G2RNiG+p4EOBuG+WHEAi+5 xNmj7YH/gUvmwvSnFN1aVTLIU0nA1gjvcp0g0Yo= X-Received: by 2002:a1f:4406:: with SMTP id r6mr4284655vka.84.1550217383704; Thu, 14 Feb 2019 23:56:23 -0800 (PST) MIME-Version: 1.0 References: <20190213174005.28785-1-hch@lst.de> <20190213174005.28785-6-hch@lst.de> In-Reply-To: <20190213174005.28785-6-hch@lst.de> From: Masahiro Yamada Date: Fri, 15 Feb 2019 16:55:47 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 05/11] tracing: consolidate the TRACE_IRQFLAGS_SUPPORT symbol To: Christoph Hellwig Cc: linux-xtensa@linux-xtensa.org, linux-s390 , Linux Kbuild mailing list , Linux Kernel Mailing List , linux-riscv@lists.infradead.org, linuxppc-dev , Ley Foon Tan , nios2-dev@lists.rocketboards.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +CC: Ley Foon Tan +CC: nios2-dev@lists.rocketboards.org On Thu, Feb 14, 2019 at 2:40 AM Christoph Hellwig wrote: > diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig > index 715e6c09b4a5..3b50689007f5 100644 > --- a/arch/nios2/Kconfig > +++ b/arch/nios2/Kconfig > @@ -20,6 +20,7 @@ config NIOS2 > select OF_EARLY_FLATTREE > select SOC_BUS > select SPARSE_IRQ > + select TRACE_IRQFLAGS_SUPPORT This is a behavior change of nios2. TRACE_IRQFLAGS_SUPPORT was previously 'n', and this commit is changing it to 'y'. Strangely, nios2 defines TRACE_IRQFLAGS_SUPPORT twice with different default values. In Kconfig, the first one becomes effective. In this case, 'def_bool n' in arch/nios2/Kconfig is used. 'def_bool y' in arch/nios2/Kconfig.debug is dead code. I think this select should be dropped to keep the current behavior, but I hope the NIOS2 maintainer will give us some comments just in case. > select USB_ARCH_HAS_HCD if USB_SUPPORT > select CPU_NO_EFFICIENT_FFS > select ARCH_DISCARD_MEMBLOCK > @@ -39,9 +40,6 @@ config NO_IOPORT_MAP > config FPU > def_bool n > > -config TRACE_IRQFLAGS_SUPPORT > - def_bool n > - > menu "Kernel features" > > source "kernel/Kconfig.hz" > diff --git a/arch/nios2/Kconfig.debug b/arch/nios2/Kconfig.debug > index f1da8a7b17ff..a8bc06e96ef5 100644 > --- a/arch/nios2/Kconfig.debug > +++ b/arch/nios2/Kconfig.debug > @@ -1,8 +1,5 @@ > # SPDX-License-Identifier: GPL-2.0 > > -config TRACE_IRQFLAGS_SUPPORT > - def_bool y > - > config EARLY_PRINTK > bool "Activate early kernel debugging" > default y -- Best Regards Masahiro Yamada