Skip to contentSkip to conversation

Revert "igb: Disable threaded IRQ for igb_msix_other"

PATCH Superseded Wander Lairson Costa 2 participants 2 messages Nov 4, 2024 – Nov 6, 2024

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 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
index b83df5f94b1f..f1d088168723 100644
@@ -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
maintainer
#1 lore raw
Quoted 7 lines · On Mon, 4 Nov 2024 09:40:50 -0300 Wander Lairson Costa wrote:

This reverts commit 338c4d3902feb5be49bfda530a72c7ab860e2c9f.

Sebastian noticed the ISR indirectly acquires spin_locks, which are sleeping locks under PREEMPT_RT, which leads to kernel splats.

Please resend with the reverted commit added as a Fixes tag. Also - your sign off should be the last tag.

Signature · 1 line
pw-bot: au