Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3060245imj; Mon, 18 Feb 2019 18:48:52 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibk8RxFZfqPEp0IIchMa31gVk8IROpRx8eK/QJsA3cIQAUc+jfnC29BrUaYFJyYRFkBlIu7 X-Received: by 2002:a62:ca03:: with SMTP id n3mr27883293pfg.241.1550544532696; Mon, 18 Feb 2019 18:48:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550544532; cv=none; d=google.com; s=arc-20160816; b=hfYZN6uz0wrpRl+VyMZUMvy49q5ptK5N0XtDUvN9Xvi2cUHWQZ2wZgQro73mR3RSFM oLihrYqtI5oUaoBoEeVimGVkUnAVLXj0uAY17vB2Pm3j5eeEriWChJZOWtkQhvn2LCyg eL3EXSvg9cb7xWzhD1ZC0fcLTP2U5vEXH0CLttd9Y97rRz8v/VrH0fIpyeSNQ4DuS6cf 0daChF+99ZvXuxcj9/AGdRztCIB+1QE4oC/epp7900iYtbUe97DH64ubAH/dXUDLP9dn D0cb/w0qqQFcXp9j1AEclrtYHFy3lucozhZ2hF06k+LVjgar/3WCNIS3x2ssVedIqvpM N4KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id; bh=Wg3L3OxnPfXuxr7Fc1e5zJ4sVrOWMjeR0zESNcTaWEE=; b=ujggXgKljJQaCqBUHhu4ekg68fSsAunhpN0oG1AcJRu4ms6JQkEUIGhzImdKuYVqos nRA8jl5oljlS6bVBWP4IMAPBcQ872vayomADXS7ZYn47STJiFh/j557qzXnOy8+1QJVM 5H76/UD3aiugTudtD8RJQjCBgQc09OwpSaw1+/0vkah3iH+05SJOcYaPNTDrOl89Ppj8 PiQCbOlzMBORPg+84JUkOgM9U/7vOdcszlgUX72MwCmMBxI1dck2X9YoLHGRWv3YMmZK CT7/vcPIGIjiIiPqB+3brNmgSg0dpJ6caszUJK8PFkrERqhRFheJNkTpP42dW4cj5uWg US/w== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k64si14042340pgc.303.2019.02.18.18.48.36; Mon, 18 Feb 2019 18:48:52 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732872AbfBSBkj convert rfc822-to-8bit (ORCPT + 99 others); Mon, 18 Feb 2019 20:40:39 -0500 Received: from mga02.intel.com ([134.134.136.20]:43100 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732665AbfBSBki (ORCPT ); Mon, 18 Feb 2019 20:40:38 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Feb 2019 17:40:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,385,1544515200"; d="scan'208";a="134531155" Received: from lftan-mobl.gar.corp.intel.com (HELO ubuntu) ([10.226.248.88]) by FMSMGA003.fm.intel.com with SMTP; 18 Feb 2019 17:40:35 -0800 Received: by ubuntu (sSMTP sendmail emulation); Tue, 19 Feb 2019 09:40:33 +0800 Message-ID: <1550540432.2534.1.camel@intel.com> Subject: Re: [PATCH 05/11] tracing: consolidate the TRACE_IRQFLAGS_SUPPORT symbol From: Ley Foon Tan To: Masahiro Yamada , 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 Date: Tue, 19 Feb 2019 09:40:32 +0800 In-Reply-To: References: <20190213174005.28785-1-hch@lst.de> <20190213174005.28785-6-hch@lst.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.18.5.2-0ubuntu3.1 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2019-02-15 at 16:55 +0900, Masahiro Yamada wrote: > +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. > Yes, please drop this patch to keep original behavior. Thanks. Regards Ley Foon > > > > > > >         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 > > ________________________________ > > Confidentiality Notice. > This message may contain information that is confidential or > otherwise protected from disclosure. If you are not the intended > recipient, you are hereby notified that any use, disclosure, > dissemination, distribution, or copying of this message, or any > attachments, is strictly prohibited. If you have received this > message in error, please advise the sender by reply e-mail, and > delete the message and any attachments. Thank you.