Thread View: linux.kernel.netdev
7 messages
7 total messages
Started by Andrew Lunn
Wed, 07 Oct 2026 00:57
Re: [PATCH net v2] net: stmmac: unwind the WoL IRQ after a safety IRQ request failure
Author: Andrew Lunn
Date: Wed, 07 Oct 2026 00:57
Date: Wed, 07 Oct 2026 00:57
44 lines
7643 bytes
7643 bytes
On Tue, Oct 06, 2026 at 05:17:20PM -0600, James Hilliard wrote:
> On Tue, Oct 6, 2026 at 4:52 PM Jakub Kicinski <kuba@kernel.org> wrote:
> >
> > On Tue, 6 Oct 2026 01:14:52 -0600 James Hilliard wrote:
> > > > Please do not repost the series just to address the above. Instead,
> > > > reply to this email with the missing information, so that reviewers
> > > > can take it into account. If the series needs another revision for
> > > > other reasons, please include the information in the commit messages
> > > > then.
> >
> > Please make sure you read this paragraph, to the end.
>
> How much detail should I be including?
We want to decide should the patch go to net, because it is a real
problem which bothers somebody. Or is it a theoretical problem which
will never happen, so we might want net-next, or maybe /dev/null.
Sometimes it is really obvious, things like a:
Reported-by:
Tested-by:
from the same person, makes it clear it should go to net, and it
probably is correct.
If not, a statement like:
Tested on real hardware, regression solved, no other regressions
found.
or
amd64 Compile tested only, probably broken, RFT.
or
New feature tested on real hardware.
Put yourself in our position. You are the Maintainer, what would you
want to read to know it is going to the correct tree.
Andrew
Re: [PATCH net v2] net: stmmac: unwind the WoL IRQ after a safety IRQ request failure
Author: James Hilliard
Date: Wed, 07 Oct 2026 01:27
Date: Wed, 07 Oct 2026 01:27
70 lines
12169 bytes
12169 bytes
On Tue, Oct 6, 2026 at 6:57 PM Andrew Lunn <andrew@lunn.ch> wrote: > > On Tue, Oct 06, 2026 at 05:17:20PM -0600, James Hilliard wrote: > > On Tue, Oct 6, 2026 at 4:52 PM Jakub Kicinski <kuba@kernel.org> wrote: > > > > > > On Tue, 6 Oct 2026 01:14:52 -0600 James Hilliard wrote: > > > > > Please do not repost the series just to address the above. Instead, > > > > > reply to this email with the missing information, so that reviewers > > > > > can take it into account. If the series needs another revision for > > > > > other reasons, please include the information in the commit messages > > > > > then. > > > > > > Please make sure you read this paragraph, to the end. > > > > How much detail should I be including? > > We want to decide should the patch go to net, because it is a real > problem which bothers somebody. Or is it a theoretical problem which > will never happen, so we might want net-next, or maybe /dev/null. I mean, it's in an error handling pathway that could be hit if there's an -ENOMEM error on an IRQ-action allocation. So it's probably mostly a theoretical issue but I wouldn't go as far as to claim it could never happen either as there does appear to be a plausible way to hit it. > > Sometimes it is really obvious, things like a: > > Reported-by: > Tested-by: > > from the same person, makes it clear it should go to net, and it > probably is correct. > > If not, a statement like: > > Tested on real hardware, regression solved, no other regressions > found. > > or > > amd64 Compile tested only, probably broken, RFT. > > or > > New feature tested on real hardware. > > Put yourself in our position. You are the Maintainer, what would you > want to read to know it is going to the correct tree. Do theoretical but still potentially reachable bug fixes go in net or net-next generally when they haven't been reproduced on real hardware without an artificial test harness? I had assumed that since the commit message made it clear that this was a bug fix and not a new feature then that would be sufficient info to know which branch it would go in, but I guess it's not quite that simple? > > Andrew > >
Re: [PATCH net v2] net: stmmac: unwind the WoL IRQ after a safety IRQ request failure
Author: Andrew Lunn
Date: Wed, 07 Oct 2026 12:46
Date: Wed, 07 Oct 2026 12:46
33 lines
7860 bytes
7860 bytes
On Tue, Oct 06, 2026 at 07:27:05PM -0600, James Hilliard wrote: > On Tue, Oct 6, 2026 at 6:57 PM Andrew Lunn <andrew@lunn.ch> wrote: > > > > On Tue, Oct 06, 2026 at 05:17:20PM -0600, James Hilliard wrote: > > > On Tue, Oct 6, 2026 at 4:52 PM Jakub Kicinski <kuba@kernel.org> wrote: > > > > > > > > On Tue, 6 Oct 2026 01:14:52 -0600 James Hilliard wrote: > > > > > > Please do not repost the series just to address the above. Instead, > > > > > > reply to this email with the missing information, so that reviewers > > > > > > can take it into account. If the series needs another revision for > > > > > > other reasons, please include the information in the commit messages > > > > > > then. > > > > > > > > Please make sure you read this paragraph, to the end. > > > > > > How much detail should I be including? > > > > We want to decide should the patch go to net, because it is a real > > problem which bothers somebody. Or is it a theoretical problem which > > will never happen, so we might want net-next, or maybe /dev/null. > > I mean, it's in an error handling pathway that could be hit if there's > an -ENOMEM error on an IRQ-action allocation. ENOMEM does not happen for small allocations. https://lwn.net/Articles/627419/ So at first glance, this seems totally theoretical, it will never happen. So net-next, no need for a Fixes tag, etc. Andrew
Re: [PATCH net v2] net: stmmac: unwind the WoL IRQ after a safety IRQ request failure
Author: James Hilliard
Date: Wed, 07 Oct 2026 17:00
Date: Wed, 07 Oct 2026 17:00
51 lines
12054 bytes
12054 bytes
On Wed, Oct 7, 2026 at 6:46 AM Andrew Lunn <andrew@lunn.ch> wrote: > > On Tue, Oct 06, 2026 at 07:27:05PM -0600, James Hilliard wrote: > > On Tue, Oct 6, 2026 at 6:57 PM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > On Tue, Oct 06, 2026 at 05:17:20PM -0600, James Hilliard wrote: > > > > On Tue, Oct 6, 2026 at 4:52 PM Jakub Kicinski <kuba@kernel.org> wrote: > > > > > > > > > > On Tue, 6 Oct 2026 01:14:52 -0600 James Hilliard wrote: > > > > > > > Please do not repost the series just to address the above. Instead, > > > > > > > reply to this email with the missing information, so that reviewers > > > > > > > can take it into account. If the series needs another revision for > > > > > > > other reasons, please include the information in the commit messages > > > > > > > then. > > > > > > > > > > Please make sure you read this paragraph, to the end. > > > > > > > > How much detail should I be including? > > > > > > We want to decide should the patch go to net, because it is a real > > > problem which bothers somebody. Or is it a theoretical problem which > > > will never happen, so we might want net-next, or maybe /dev/null. > > > > I mean, it's in an error handling pathway that could be hit if there's > > an -ENOMEM error on an IRQ-action allocation. > > ENOMEM does not happen for small allocations. > > https://lwn.net/Articles/627419/ > > So at first glance, this seems totally theoretical, it will never > happen. So net-next, no need for a Fixes tag, etc. It looks like there might be a few other ways to hit this cleanup pathway, not sure how plausible this is in practice however. The unwind also handles other request_irq() failures. With forced IRQ threading, including PREEMPT_RT, creating the safety IRQ thread can return -EINTR if the task opening the interface receives a fatal signal while waiting in kthread_create(). That reaches the same incorrect cleanup without an allocation failure. > > Andrew
Re: [PATCH net v2] net: stmmac: unwind the WoL IRQ after a safety IRQ request failure
Author: Andrew Lunn
Date: Wed, 07 Oct 2026 18:32
Date: Wed, 07 Oct 2026 18:32
42 lines
8450 bytes
8450 bytes
On Wed, Oct 07, 2026 at 11:00:50AM -0600, James Hilliard wrote: > On Wed, Oct 7, 2026 at 6:46 AM Andrew Lunn <andrew@lunn.ch> wrote: > > > > On Tue, Oct 06, 2026 at 07:27:05PM -0600, James Hilliard wrote: > > > On Tue, Oct 6, 2026 at 6:57 PM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > > > On Tue, Oct 06, 2026 at 05:17:20PM -0600, James Hilliard wrote: > > > > > On Tue, Oct 6, 2026 at 4:52 PM Jakub Kicinski <kuba@kernel.org> wrote: > > > > > > > > > > > > On Tue, 6 Oct 2026 01:14:52 -0600 James Hilliard wrote: > > > > > > > > Please do not repost the series just to address the above. Instead, > > > > > > > > reply to this email with the missing information, so that reviewers > > > > > > > > can take it into account. If the series needs another revision for > > > > > > > > other reasons, please include the information in the commit messages > > > > > > > > then. > > > > > > > > > > > > Please make sure you read this paragraph, to the end. > > > > > > > > > > How much detail should I be including? > > > > > > > > We want to decide should the patch go to net, because it is a real > > > > problem which bothers somebody. Or is it a theoretical problem which > > > > will never happen, so we might want net-next, or maybe /dev/null. > > > > > > I mean, it's in an error handling pathway that could be hit if there's > > > an -ENOMEM error on an IRQ-action allocation. > > > > ENOMEM does not happen for small allocations. > > > > https://lwn.net/Articles/627419/ > > > > So at first glance, this seems totally theoretical, it will never > > happen. So net-next, no need for a Fixes tag, etc. > > It looks like there might be a few other ways to hit this cleanup pathway, > not sure how plausible this is in practice however. So lets go for net-next. If anybody hits this for real, we can backport the change to stable. Andrew
Re: [PATCH net v2] net: stmmac: unwind the WoL IRQ after a safety IRQ request failure
Author: James Hilliard
Date: Wed, 07 Oct 2026 19:31
Date: Wed, 07 Oct 2026 19:31
59 lines
12384 bytes
12384 bytes
On Wed, Oct 7, 2026 at 12:33 PM Andrew Lunn <andrew@lunn.ch> wrote: > > On Wed, Oct 07, 2026 at 11:00:50AM -0600, James Hilliard wrote: > > On Wed, Oct 7, 2026 at 6:46 AM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > On Tue, Oct 06, 2026 at 07:27:05PM -0600, James Hilliard wrote: > > > > On Tue, Oct 6, 2026 at 6:57 PM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > > > > > On Tue, Oct 06, 2026 at 05:17:20PM -0600, James Hilliard wrote: > > > > > > On Tue, Oct 6, 2026 at 4:52 PM Jakub Kicinski <kuba@kernel.org> wrote: > > > > > > > > > > > > > > On Tue, 6 Oct 2026 01:14:52 -0600 James Hilliard wrote: > > > > > > > > > Please do not repost the series just to address the above. Instead, > > > > > > > > > reply to this email with the missing information, so that reviewers > > > > > > > > > can take it into account. If the series needs another revision for > > > > > > > > > other reasons, please include the information in the commit messages > > > > > > > > > then. > > > > > > > > > > > > > > Please make sure you read this paragraph, to the end. > > > > > > > > > > > > How much detail should I be including? > > > > > > > > > > We want to decide should the patch go to net, because it is a real > > > > > problem which bothers somebody. Or is it a theoretical problem which > > > > > will never happen, so we might want net-next, or maybe /dev/null. > > > > > > > > I mean, it's in an error handling pathway that could be hit if there's > > > > an -ENOMEM error on an IRQ-action allocation. > > > > > > ENOMEM does not happen for small allocations. > > > > > > https://lwn.net/Articles/627419/ > > > > > > So at first glance, this seems totally theoretical, it will never > > > happen. So net-next, no need for a Fixes tag, etc. > > > > It looks like there might be a few other ways to hit this cleanup pathway, > > not sure how plausible this is in practice however. > > So lets go for net-next. If anybody hits this for real, we can > backport the change to stable. Should I re-spin this on net-next with the fixes tag dropped? Or does this apply as-is on net-next? > > Andrew
Re: [PATCH net v2] net: stmmac: unwind the WoL IRQ after a safety IRQ request failure
Author: Andrew Lunn
Date: Wed, 07 Oct 2026 19:34
Date: Wed, 07 Oct 2026 19:34
10 lines
6824 bytes
6824 bytes
> Should I re-spin this on net-next with the fixes tag dropped? Or does > this apply as-is on net-next? You should respin. We get hundreds of patches a day. Maintainers have no time to see if is applies cleanly, compiles and passes basic smoke tests on hardware. Andrew
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads