[PATCH net 0/3] Fix Unbalanced IRQ Enable for CPSW and ICSSG

From: Siddharth Vadapalli

Date: Thu Feb 19 2026 - 23:18:19 EST


Hello,

This series fixes the warning:
Unbalanced enable for IRQ ...
for the CPSW and ICSSG drivers.

Under heavy traffic and in an SMP environment the warning shows up after
a relatively long time. The issue occurs due to the order in which the
variable 'irq_disabled' is set and the function disable_irq_nosync() is
invoked.

I have examined other drivers and they follow the right order which is
to invoke disable_irq_nosync() before setting 'irq_disabled' (or its
equivalent variable).

The first patch is for the CPSW driver and it has two Fixes tags since
the code change associated with the fix is for a recent commit while
the incorrect order was first introduced by a much older commit.

The second and third patches are for the ICSSG driver. Although they
are both for the same driver and could be squashed, I chose to split
them since they fix different commits and need to be backported as
Fixes for the respective commits.

Regards,
Siddharth.

Siddharth Vadapalli (3):
net: ethernet: ti: am65-cpsw-nuss: set irq_disabled after disabling RX
IRQ
net: ethernet: ti: icssg_common: set irq_disabled after disabling TX
IRQ
net: ethernet: ti: icssg_common: set irq_disabled after disabling RX
IRQ

drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 +-
drivers/net/ethernet/ti/icssg/icssg_common.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

--
2.51.1