Thread (36 messages) flat view 36 messages, 6 authors, 2021-11-26

Re: [PATCH 7/7] net: dsa: b53: Expose PTP timestamping ioctls to userspace

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2021-11-26 17:40:51
Also in: lkml

On Fri, Nov 26, 2021 at 09:03:48AM -0800, Richard Cochran wrote:
On Fri, Nov 26, 2021 at 06:42:57PM +0200, Vladimir Oltean wrote:
quoted
I'm still missing something obvious, aren't I?
You said there are "many more" drivers with this bug, but I'm saying
that most drivers correctly upgrade the ioctl request.

So far we have b53 and ocelot doing the buggy downgrade.  I guess it
will require a tree wide audit to discover the "many more"...
Ah, yes, I assure you that there are many more drivers doing wacky
stuff, for example sja1105 will take any RX filter that isn't NONE, and
then reports it back as PTP_V2_L2_EVENT.
https://elixir.bootlin.com/linux/latest/source/drivers/net/dsa/sja1105/sja1105_ptp.c#L89

Somehow at this stage I don't even want to know about any other drivers,
since I might feel the urge to patch them and I don't really have the
necessary free time for that right now :D
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help