Skip to content

Commit 38b6ec5

Browse files
Ganesh Goudardavem330
authored andcommitted
cxgb4: handle serial flash interrupt
If SF bit is not cleared in PL_INT_CAUSE, subsequent non-data interrupts are not raised. Enable SF bit in Global Interrupt Mask and handle it as non-fatal and hence eventually clear it. Signed-off-by: Rahul Lakkireddy <[email protected]> Signed-off-by: Ganesh Goudar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4798a71 commit 38b6ec5

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/chelsio/cxgb4

1 file changed

+1
-1
lines changed

drivers/net/ethernet/chelsio/cxgb4/t4_hw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4462,7 +4462,7 @@ static void pl_intr_handler(struct adapter *adap)
44624462
#define PF_INTR_MASK (PFSW_F)
44634463
#define GLBL_INTR_MASK (CIM_F | MPS_F | PL_F | PCIE_F | MC_F | EDC0_F | \
44644464
EDC1_F | LE_F | TP_F | MA_F | PM_TX_F | PM_RX_F | ULP_RX_F | \
4465-
CPL_SWITCH_F | SGE_F | ULP_TX_F)
4465+
CPL_SWITCH_F | SGE_F | ULP_TX_F | SF_F)
44664466

44674467
/**
44684468
* t4_slow_intr_handler - control path interrupt handler

0 commit comments

Comments
 (0)