From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: kernel@pengutronix.de, "Uwe Kleine-König" <uwe@kleine-koenig.org>,
"Lee Jones" <lee.jones@linaro.org>,
linux-kernel@vger.kernel.org, "Wolfram Sang" <wsa@kernel.org>,
"Angel Iglesias" <ang.iglesiasg@gmail.com>,
linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org,
"Grant Likely" <grant.likely@linaro.org>,
"Jiri Slaby" <jirislaby@kernel.org>
Subject: Re: [PATCH 571/606] serial: sc16is7xx: Convert to i2c's .probe_new()
Date: Fri, 27 Jan 2023 15:13:52 +0100 [thread overview]
Message-ID: <Y9PcIKLIbmsLB8lQ@kroah.com> (raw)
In-Reply-To: <20230127131751.gupnp7l6wyrutpmw@pengutronix.de>
On Fri, Jan 27, 2023 at 02:17:51PM +0100, Uwe Kleine-König wrote:
> Hello Greg,
>
> On Fri, Jan 27, 2023 at 12:45:52PM +0100, Greg Kroah-Hartman wrote:
> > On Fri, Jan 27, 2023 at 11:10:25AM +0100, Uwe Kleine-König wrote:
> > > On Wed, Nov 23, 2022 at 09:09:12AM +0100, Uwe Kleine-König wrote:
> > > > On Wed, Nov 23, 2022 at 07:36:52AM +0100, Jiri Slaby wrote:
> > > > > BTW is this a performance issue? I.e. does it slow down the boot?
> > > >
> > > > I don't know the start motivation for Lee (who triggered the conversion
> > > > in b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() call-back
> > > > type")).
> > > > Looking at the git history, he created 1e98dcd77970 ("mfd: 88pm860x:
> > > > Move over to new I2C device .probe() call") converting a driver that
> > > > doesn't benefit immensely. The lookup is more expensive for drivers with
> > > > big .id_table, the converted driver has only one entry.
> > > >
> > > > I think in the end is a mixture between:
> > > >
> > > > - A big part of the drivers doesn't benefit from the lookup.
> > > > - For most other busses the probe function only gets a device parameter
> > > > and no id (spi, platform, i3c). There are counter examples though:
> > > > amba, usb. Didn't check further.
> > >
> > > The discussion somehow ended here without a real result.
> > >
> > > As of today's next master there are only 9 drivers left using .probe().
> > > So I'd like to stop this discussion and ask to apply the conversion for
> > > the sc16is7xx driver to be able to complete the conversion.
> > >
> > > My plan is to drop the .probe callback as it is today after the next
> > > merge window. So I ask the serial maintainers to either take the patch
> > > under discussion for the next merge window or accept that the conversion
> > > is done together with the patch that drops .probe() that probably will
> > > go in via the i2c tree.
> >
> > I don't see the patch anymore,
>
> If you want to take a look:
>
> b4 am 20221118224540.619276-572-uwe@kleine-koenig.org
>
> or
>
> https://lore.kernel.org/lkml/20221118224540.619276-572-uwe@kleine-koenig.org
>
> > so I have no objection for it going through the i2c tree.
>
> Can I interpret that as an Ack? :-)
Even better:
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
next prev parent reply other threads:[~2023-01-27 14:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-18 22:35 [PATCH 000/606] i2c: Complete conversion to i2c_probe_new Uwe Kleine-König
2022-11-18 22:45 ` [PATCH 571/606] serial: sc16is7xx: Convert to i2c's .probe_new() Uwe Kleine-König
2022-11-21 6:03 ` Jiri Slaby
2022-11-21 7:07 ` Uwe Kleine-König
2022-11-23 6:36 ` Jiri Slaby
2022-11-23 8:09 ` Uwe Kleine-König
2023-01-27 10:10 ` Uwe Kleine-König
2023-01-27 11:45 ` Greg Kroah-Hartman
2023-01-27 13:17 ` Uwe Kleine-König
2023-01-27 14:13 ` Greg Kroah-Hartman [this message]
2022-11-19 6:50 ` [PATCH 000/606] i2c: Complete conversion to i2c_probe_new patchwork-bot+chrome-platform
2022-11-19 6:50 ` patchwork-bot+chrome-platform
2022-11-19 11:10 ` Wolfram Sang
2022-11-20 19:43 ` Sebastian Reichel
2022-11-21 9:53 ` Lee Jones
2022-11-22 18:58 ` Jonathan Cameron
2022-11-22 20:16 ` Uwe Kleine-König
2022-11-26 15:43 ` Andy Shevchenko
2022-12-09 12:00 ` (subset) " Robert Foss
2022-12-12 16:36 ` Robert Foss
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y9PcIKLIbmsLB8lQ@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=ang.iglesiasg@gmail.com \
--cc=grant.likely@linaro.org \
--cc=jirislaby@kernel.org \
--cc=kernel@pengutronix.de \
--cc=lee.jones@linaro.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
--cc=uwe@kleine-koenig.org \
--cc=wsa@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).