From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Linus Walleij <linusw@kernel.org>, Danilo Krummrich <dakr@kernel.org>
Cc: Kim Phillips <kim.phillips@freescale.com>,
jiale yao <19888972804@163.com>, Mark Brown <broonie@kernel.org>,
linux-spi@vger.kernel.org, Biju Das <biju.das.jz@bp.renesas.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: RE: Re:RE: [PATCH] pinctrl: mcp23s08: reject devices without match data
Date: Sun, 4 Oct 2026 11:15:24 +0300 [thread overview]
Message-ID: <asILHNE0iDP2jVVR@ashevche-desk.local> (raw)
In-Reply-To: <CAD++jLnia-GyvS57-q2NOTWrqXWC12-HDbU6qsUiWEqOgTPX_Q@mail.gmail.com>
+Cc: Danilo
(as you were involved in cleaning this up in the past and being co-maintainer
of driver core)
On Sun, Oct 04, 2026 at 01:06:07AM +0200, Linus Walleij wrote:
> On Fri, Oct 2, 2026 at 12:19 PM Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
> > On Fri, Oct 02, 2026 at 11:52:41AM +0200, Linus Walleij wrote:
> > > On Fri, Oct 2, 2026 at 8:59 AM Andy Shevchenko
...
> > > The entire name of the thing feels like debugfs-footgun
> > > territory for example.
> >
> > Yeah, I can't find neither a thing on LWN.net nor in the in-tree documentation.
> > The only useful piece of information is (in kernel-doc of struct bus_type):
> >
> > driver_override
> > Set to true if this bus supports the driver_override mechanism, which
> > allows userspace to force a specific driver to bind to a device via a sysfs
> > attribute.
>
> This whole thing is weird, but OK.
>
> Since we have a ton of drivers depending on match data we either
> have to patch them all to bail out if match data is NULL (like this
> patch does) or, which is equivalent, opt out of driver_override
> that much is certain.
>
> What I don't get is what this is intended for. What is the use case?
> The commit says this is for VFIO. Shouldn't it be opt-in and turned
> on only for VFIO then?
>
> Kim Phillips is listed as contract for the platform bus driver_override
> so let's ask! Kim: what is this for?
>
> All of the device tree drivers use the platform bus, what's yhe
> Unique Selling Point of this for our devices?
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-10-04 8:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260925133804.2231004-1-yaojiale02@163.com>
[not found] ` <TY3PR01MB11346E0C01A9337A3AF4D97DC868F2@TY3PR01MB11346.jpnprd01.prod.outlook.com>
[not found] ` <34472b57.1961.1a0dd3dff12.Coremail.19888972804@163.com>
[not found] ` <TY3PR01MB113461CE3C9EB4A175879F5BD868D2@TY3PR01MB11346.jpnprd01.prod.outlook.com>
[not found] ` <1186ef64.63b1.1a0e6e70a59.Coremail.19888972804@163.com>
2026-10-01 20:07 ` RE: Re:RE: [PATCH] pinctrl: mcp23s08: reject devices without match data Linus Walleij
2026-10-02 6:58 ` Andy Shevchenko
2026-10-02 9:52 ` Linus Walleij
2026-10-02 10:18 ` Andy Shevchenko
2026-10-03 23:06 ` Linus Walleij
2026-10-04 8:15 ` Andy Shevchenko [this message]
2026-10-07 11:07 ` Danilo Krummrich
2026-10-08 13:14 ` Linus Walleij
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=asILHNE0iDP2jVVR@ashevche-desk.local \
--to=andriy.shevchenko@linux.intel.com \
--cc=19888972804@163.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=broonie@kernel.org \
--cc=dakr@kernel.org \
--cc=kim.phillips@freescale.com \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.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