[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YmpONdU/zFhnYPgk@kroah.com>
Date: Thu, 28 Apr 2022 10:20:05 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Sai Prakash Ranjan <quic_saipraka@...cinc.com>
Cc: arnd@...db.de, catalin.marinas@....com, rostedt@...dmis.org,
linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
maz@...nel.org, quic_psodagud@...cinc.com, quic_tsoni@...cinc.com,
will@...nel.org
Subject: Re: [PATCHv11 6/6] asm-generic/io: Add logging support for MMIO
accessors
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
Powered by blists - more mailing lists