Revert "igb: Disable threaded IRQ for igb_msix_other"
Subsystems (4)
PATCH v2 1/4 Revert "igb: Disable threaded IRQ for igb_msix_other"
This reverts commit 338c4d3902feb5be49bfda530a72c7ab860e2c9f.
Sebastian noticed the ISR indirectly acquires spin_locks, which are sleeping locks under PREEMPT_RT, which leads to kernel splats.
---
Changelog:
v2: Add the Fixes tag
--- drivers/net/ethernet/intel/igb/igb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/igb/igb_main.c +1 -1
@@ -907,7 +907,7 @@ static int igb_request_msix(struct igb_adapter *adapter)int i, err =0 , vector =0 , free_vector =0 ; err =request_irq (adapter->msix_entries[vector].vector, - igb_msix_other,IRQF_NO_THREAD , netdev->name, adapter); + igb_msix_other,0 , netdev->name, adapter);if (err) goto err_out;
Signature · 1 line
2.47.0
Quoted 8 lines · Wander Lairson Costa
This reverts commit
338c4d3902feb5be49bfda530a72c7ab860e2c9f.Sebastian noticed the ISR indirectly acquires
spin_locks, which are sleeping locks underPREEMPT_RT, which leads to kernel splats.Fixes 338c4d3902feb ("igb: Disable threaded IRQ for igb_msix_other")Reported-by Sebastian Andrzej Siewior <[email protected]>Signed-off-by Wander Lairson Costa <[email protected]>
This is the only patch.
Sebastian
Quoted 7 lines · Sebastian Andrzej Siewior
Quoted 5 lines · Wander Lairson Costa
This reverts commit
338c4d3902feb5be49bfda530a72c7ab860e2c9f.Sebastian noticed the ISR indirectly acquires
spin_locks, which are sleeping locks underPREEMPT_RT, which leads to kernel splats.
Quoted 7 lines
Quoted 3 lines
Fixes 338c4d3902feb ("igb: Disable threaded IRQ for igb_msix_other")Reported-by Sebastian Andrzej Siewior <[email protected]>Signed-off-by Wander Lairson Costa <[email protected]>Reviewed-by Sebastian Andrzej Siewior <[email protected]>This is the only patch.
Hrm, I had other unrelated .patch files in my directory, git-send-email might have gotten confused because of that.
Quoted 3 lines
Sebastian
Przemek Kitszel
maintainerQuoted 4 lines · Wander Lairson Costa
This reverts commit
338c4d3902feb5be49bfda530a72c7ab860e2c9f.Sebastian noticed the ISR indirectly acquires
spin_locks, which are sleeping locks underPREEMPT_RT, which leads to kernel splats.
I don't like to slow things down, but it would be great to have a Link:
to the report, and the (minified) splat attached.
Quoted 28 lines
Fixes 338c4d3902feb ("igb: Disable threaded IRQ for igb_msix_other")Reported-by Sebastian Andrzej Siewior <[email protected]>Signed-off-by Wander Lairson Costa <[email protected]>---
Changelog:
v2: Add the Fixes tag
Signed-off-by Wander Lairson Costa <[email protected]>--- drivers/net/ethernet/intel/igb/igb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/intel/igb/igb_main.c +1
-1@@ -907,7 +907,7 @@ static int igb_request_msix(struct igb_adapter *adapter)int i, err =0 , vector =0 , free_vector =0 ; err =request_irq (adapter->msix_entries[vector].vector, - igb_msix_other,IRQF_NO_THREAD , netdev->name, adapter); + igb_msix_other,0 , netdev->name, adapter);if (err) goto err_out;
Sebastian Andrzej Siewior
maintainerQuoted 2 lines · Przemek Kitszel
I don't like to slow things down, but it would be great to have a Link:
to the report, and the (minified) splat attached.
I don't have a splat, I just reviewed the original patch. Please do delay this.
Sebastian
Przemek Kitszel
maintainerQuoted 8 lines · Sebastian Andrzej Siewior
Quoted 2 lines · Przemek Kitszel
I don't like to slow things down, but it would be great to have a Link:
to the report, and the (minified) splat attached.I don't have a splat, I just reviewed the original patch. Please do delay this.
Sebastian
Rafal,
you have provided your Tested-by tag for the original (not reverted) patch, could you please re-test it on RT kernel?
Przemek
Quoted 8 lines · Sebastian Andrzej Siewior
Quoted 2 lines · Przemek Kitszel
I don't like to slow things down, but it would be great to have a Link:
to the report, and the (minified) splat attached.I don't have a splat, I just reviewed the original patch. Please do delay this.
Sebastian
It will definitely splat on RT kernels at some point, if there is a spinlock.
Sebastian Andrzej Siewior
maintainerQuoted 9 lines · Jacob Keller
Quoted 6 lines · Sebastian Andrzej Siewior
Quoted 2 lines · Przemek Kitszel
I don't like to slow things down, but it would be great to have a Link:
to the report, and the (minified) splat attached.I don't have a splat, I just reviewed the original patch. Please do delay this.
this clearly lacks a `not'
Quoted 4 lines
Quoted 1 line
Sebastian
It will definitely splat on RT kernels at some point, if there is a spinlock.
exactly my point.
Sebastian
Quoted 4 lines · Sebastian Andrzej Siewior
Quoted 3 lines · Jacob Keller
On 11/8/2024 4:28 AM, Sebastian Andrzej Siewior wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines · Przemek Kitszel
Quoted 2 lines
I don't like to slow things down, but it would be great to have a Link:
to the report, and the (minified) splat attached.I don't have a splat, I just reviewed the original patch. Please do delay this.
this clearly lacks a `not'
sorry for the slowdown then,
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Sebastian
It will definitely splat on RT kernels at some point, if there is a spinlock.
exactly my point.
still would be great to add some basic RT tests in our VAL, but it's unrelated to this patch
Jakub Kicinski
maintainerQuoted 1 line · On Tue, 12 Nov 2024 15:52:34 +0100 Przemek Kitszel wrote:
Acked-by Przemek Kitszel <[email protected]>
Do you want us to take this directly?
To be clear - we only treat an ack from the maintainer who usually sends us patches as implicit "please take this directly".
Przemek Kitszel
maintainerQuoted 6 lines · Jakub Kicinski
Quoted 1 line · On Tue, 12 Nov 2024 15:52:34 +0100 Przemek Kitszel wrote:
Acked-by Przemek Kitszel <[email protected]>Do you want us to take this directly?
To be clear - we only treat an ack from the maintainer who usually sends us patches as implicit "please take this directly".
Please take this one directly, Tony is OOO today, same for Jake that could've provided also his RB otherwise.
I usually don't Ack intel-only series to avoid such ambiguities.
for this particular patch I wanted to say "fine for me, on behalf of Intel", especially that this time I didn't provided meaningful feedback on the code (put in that way to be nice for myself); we have a track record of discussions preventing application to the iwl*/dev-queue (as for this patch).
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Wed, 6 Nov 2024 08:14:26 -0300 you wrote:
This reverts commit
338c4d3902feb5be49bfda530a72c7ab860e2c9f.Sebastian noticed the ISR indirectly acquires
spin_locks, which are sleeping locks underPREEMPT_RT, which leads to kernel splats.Fixes 338c4d3902feb ("igb: Disable threaded IRQ for igb_msix_other")Reported-by Sebastian Andrzej Siewior <[email protected]>Signed-off-by Wander Lairson Costa <[email protected]>[...]
Here is the summary with links:
- [v2,1/4] Revert "igb: Disable threaded IRQ for igb_msix_other"
https://git.kernel.org/netdev/net/c/50d325bb05ce
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html