Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp826494iob; Thu, 28 Apr 2022 11:52:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxL3QApk7RIdgPKIk2ZZylT0WSRJ+6sGpYyiOP95bbatQ1Eu6mndsiDJAu6uBklMlDtfAYA X-Received: by 2002:a05:6512:3228:b0:471:fa5f:d4d4 with SMTP id f8-20020a056512322800b00471fa5fd4d4mr19725434lfe.530.1651171968645; Thu, 28 Apr 2022 11:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651171968; cv=none; d=google.com; s=arc-20160816; b=Le7fCzD9kAOupyYgT2NQaPT0sXw7YViD0oQ8mCsGKHO+EDFfGsqZtO8+Z0vlmf7Bom hakGOXHcFKNA1R4KGUfVntbvUx9axPaFYszximtMUI4Qjlw+7x2mTE1QNbSeEg17j7Z6 ec6IOxulVBqX+cFGPlPaiaFVPJWvc3ksBciGZK2ogBmjyRh3anz4eXuSo3cii5i0llxO im4ghGYUbYdXWq8kxWYGkDyy1HV2geej6HkxwZNOfB4xdZhjwTj1AtyYLmh3/mqbZipS yEoJEXcLktxgVWaL0xoCkK6TLe9SaCNtyOZPp/lVrnm+Za+ITbE1c1HNsdmruIXEHJWM 6Wkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MYFrON3TMgV/ZKLIDL7+XE2BSKbpPQeSSpAStsILCJw=; b=iAKnm3T70ZDUZz3e9EyqZTV14QhKVGWBvAbgZMgG4yN4EaNEvv+lUFlY+PFv0pF6Ye e/Hp1FlGUeGcsrZHVejzRuI9diINm8RYmch3ja196ELPAMk6SOWRLPSR9lYmc0qU0rtk JU45akK+DEDhtv0K2UtwmJ1y80e8Qf/KiC0pVwFqPtltiHt34UIVxeJtHJDtWwwnvoO0 KrqRT7umdP5EPtfSX4883ETHHQdmDpoRKH2AtNiOjGkKb4tJI8R65x1Rob+W2fv+iAz3 uu241BLwfHA9vtvu+Z6VcDRyMkune9DofIqdt42iEniDc9tjcotRcsjnqHafF+nb+R+z yCeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tW21Ekx9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h8-20020a2e3a08000000b0024c7dee40b6si5175991lja.525.2022.04.28.11.52.20; Thu, 28 Apr 2022 11:52:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tW21Ekx9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242651AbiD1IYH (ORCPT + 99 others); Thu, 28 Apr 2022 04:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242354AbiD1IXf (ORCPT ); Thu, 28 Apr 2022 04:23:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BA372A70F; Thu, 28 Apr 2022 01:20:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BE04B61F92; Thu, 28 Apr 2022 08:20:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD006C385A0; Thu, 28 Apr 2022 08:20:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651134009; bh=hUg3NqrYzpqfbxvI31DgQCZm8Qlzr2+9eyH+hO38XPI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tW21Ekx9h5h3RBhClupWydbxsdWCg43N6gEc3LEyky0bS/gXDJr9kTAlqvd4UKKdm AovcAX9t7ccizQNKWYH4nM+pfKfcLytjEeX8sv4A6b1RBAYD6e0cmjLu17VSAZda4z F2ekZ7/lZoOEvUV06mNdhydUrjwyI9qF1cvW6VYk= Date: Thu, 28 Apr 2022 10:20:05 +0200 From: Greg KH To: Sai Prakash Ranjan Cc: arnd@arndb.de, catalin.marinas@arm.com, rostedt@goodmis.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org, quic_psodagud@quicinc.com, quic_tsoni@quicinc.com, will@kernel.org Subject: Re: [PATCHv11 6/6] asm-generic/io: Add logging support for MMIO accessors Message-ID: References: <3de35c9f4a3a070d197bab499acefc709a6f5336.1645772606.git.quic_saipraka@quicinc.com> <96dc5e2e-5d88-52ce-c295-779603e668f2@quicinc.com> <8b0ad0da-55ab-7b8b-e4a6-cd134567fb44@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8b0ad0da-55ab-7b8b-e4a6-cd134567fb44@quicinc.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 28, 2022 at 01:14:59PM +0530, Sai Prakash Ranjan wrote: > > > > Also, I see that this "disable the trace" feature has already been asked > > > > for for 2 other drivers in the Android kernel tree, why not include > > > > those changes here as well? That kind of shows that this new feature is > > > > limited in that driver authors are already wanting it disabled, even > > > > before it is accepted. > > > That can be done later on top of this series right? This series mainly deals with adding > > > initial support for such tracing, there could be numerous drivers who might or might > > > not want the feature which can be added onto later. We can't actually identify all > > > the driver requirements upfront. As an example, we have already used the flag to > > > disable tracing for nVHE KVM, so we know how to use the flag. > > Again, make it explicit in the driver file itself that it is doing this, > > not in the Makefile, and I will not have any objections. > > Ok, for kernel drivers I will make the define at the top of the .c driver file and include > those 2 driver changes in the series. Thank you, that is a much better way forward. greg k-h