[RFC PATCH] tty: atmel_serial: Use devm_platform_ioremap_resource()

Greg KH gregkh at linuxfoundation.org
Mon Oct 21 00:24:57 PDT 2024


On Mon, Oct 21, 2024 at 07:16:31AM +0000, Mihai.Sain at microchip.com wrote:
> > From: Greg KH <gregkh at linuxfoundation.org>
> > Sent: Monday, October 21, 2024 10:00 AM
> > To: Mihai Sain - M19926 <Mihai.Sain at microchip.com>
> > Cc: richard.genoud at bootlin.com; jirislaby at kernel.org; Nicolas Ferre - M43238
> > <Nicolas.Ferre at microchip.com>; alexandre.belloni at bootlin.com;
> > claudiu.beznea at tuxon.dev; linux-kernel at vger.kernel.org; linux-
> > serial at vger.kernel.org; linux-arm-kernel at lists.infradead.org
> > Subject: Re: [RFC PATCH] tty: atmel_serial: Use
> > devm_platform_ioremap_resource()
> > 
> > On Mon, Oct 21, 2024 at 09:43:21AM +0300, Mihai Sain wrote:
> > > Simplify the request port function by using a single call to
> > > devm_platform_ioremap_resource().
> > >
> > > This will also enhance the printing from /proc/iomem:
> > >
> > > cat /proc/iomem | grep flexcom ; cat /proc/iomem | grep serial
> > >
> > > f0004000-f00041ff : f0004000.flexcom flexcom at f0004000
> > > f8020000-f80201ff : f8020000.flexcom flexcom at f8020000
> > > f0004200-f00043ff : f0004200.serial serial at 200 f8020200-f80203ff :
> > > f8020200.serial serial at 200 fffff200-fffff3ff : fffff200.serial
> > > serial at fffff200
> > >
> > > Signed-off-by: Mihai Sain <mihai.sain at microchip.com>
> > > ---
> > >  drivers/tty/serial/atmel_serial.c | 12 +++---------
> > >  1 file changed, 3 insertions(+), 9 deletions(-)
> > 
> > Why is this a rfc?  What needs to be done before you want it merged?
> 
> I used the rfc tag in order to get the feedback from you and all stakeholders.

You need to ask for the feedback you are looking for, we don't know what
you feel is wrong here.

> If the modifications are OK for you I will send a new patch without rfc tag.

As we are drowning in real patches to review, I almost always just
ignore RFC patches as I know that means that the submitter feels there
is still more work to be done.  So please always take that in mind.
Please ask for reviews from other developers in your company if you feel
it is not ready for our review.

thanks,

greg k-h



More information about the linux-arm-kernel mailing list