Re: [PATCH RFC 0/3] genirq: Allow drivers to respect userspace IRQ affinities

From
Andrew Lunn <andrew@lunn.ch>
Date
2026-08-20 00:10:42
Also in
linux-arm-kernel, linux-rt-devel, lkml
Reply to
Andrew Lunn, 2026-08-19
The problem with using stmmac as an example is that it is very old. It
was added to Linux in 2009. I guess most of the SoCs at that time were
single or dual core. CPU affinity was not something developers thought
about for that class of SoC.

Over time the number of cores has gone up and stmmac has got faster
link speeds. But is the architecture correct? Is the driver following
best practices?

I would suggest you look at more modern MAC drivers and see how they
do CPU affinity, etc. Is there anything which can be learned from them
and implemented in stmmac?

    Andrew
Thread (21 messages) 21 messages, 6 authors, last reply 2026-08-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help