[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211207121121.baoi23nxiitfshdk@skbuf>
Date: Tue, 7 Dec 2021 12:11:22 +0000
From: Vladimir Oltean <vladimir.oltean@....com>
To: "Russell King (Oracle)" <linux@...linux.org.uk>
CC: Jakub Kicinski <kuba@...nel.org>,
Colin Foster <colin.foster@...advantage.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Claudiu Manoil <claudiu.manoil@....com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
"UNGLinuxDriver@...rochip.com" <UNGLinuxDriver@...rochip.com>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH v4 net-next 5/5] net: mscc: ocelot: expose ocelot wm
functions
On Tue, Dec 07, 2021 at 11:48:52AM +0000, Russell King (Oracle) wrote:
> On Mon, Dec 06, 2021 at 06:09:22PM -0800, Jakub Kicinski wrote:
> > On Sat, 4 Dec 2021 10:28:58 -0800 Colin Foster wrote:
> > > Expose ocelot_wm functions so they can be shared with other drivers.
> > >
> > > Signed-off-by: Colin Foster <colin.foster@...advantage.com>
> > > Reviewed-by: Vladimir Oltean <vladimir.oltean@....com>
> >
> > Yeah.. but there are no in-tree users of these. What's the story?
> >
> > I see Vladimir reviewed this so presumably we trust that the users
> > will materialize rather quickly?
>
> Thank you for highlighting this.
>
> Vladimir told me recently over the phylink get_interfaces vs get_caps
> change for DSA, and I quote:
>
> David who applied your patch can correct me, but my understanding from
> the little time I've spent on netdev is that dead code isn't a candidate
> for getting accepted into the tree, even more so in the last few days
> before the merge window, from where it got into v5.16-rc1.
> ...
> So yes, I take issue with that as a matter of principle, I very much
> expect that a kernel developer of your experience does not set a
> precedent and a pretext for people who submit various shady stuff to the
> kernel just to make their downstream life easier.
>
> This sounds very much like double-standards, especially as Vladimir
> reviewed this.
>
> I'm not going to be spiteful NAK these patches, because we all need to
> get along with each other. I realise that it is sometimes useful to get
> code merged that facilitates or aids further development - provided
> that development is submitted in a timely manner.
I'm not taking this as a spiteful comment either, it is a very fair point.
Colin had previously submitted this as part of a 23-patch series and it
was me who suggested that this change could go in as part of preparation
work right away:
https://patchwork.kernel.org/project/netdevbpf/cover/20211116062328.1949151-1-colin.foster@in-advantage.com/#24596529
I didn't realize that in doing so with this particular change, we would
end up having some symbols exported by the ocelot switch lib that aren't
yet in use by other drivers. So yes, this would have to go in at the
same time as the driver submission itself.
Powered by blists - more mailing lists