* [PATCH net-next] cxgb4: handle serial flash interrupt
@ 2017-06-13 19:15 Ganesh Goudar
2017-06-13 19:57 ` David Miller
2017-06-13 20:11 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Ganesh Goudar @ 2017-06-13 19:15 UTC (permalink / raw)
To: netdev, davem
Cc: nirranjan, indranil, venkatesh, Ganesh Goudar, Rahul Lakkireddy
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 <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
index 16af646..d5e316d 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
@@ -4462,7 +4462,7 @@ static void pl_intr_handler(struct adapter *adap)
#define PF_INTR_MASK (PFSW_F)
#define GLBL_INTR_MASK (CIM_F | MPS_F | PL_F | PCIE_F | MC_F | EDC0_F | \
EDC1_F | LE_F | TP_F | MA_F | PM_TX_F | PM_RX_F | ULP_RX_F | \
- CPL_SWITCH_F | SGE_F | ULP_TX_F)
+ CPL_SWITCH_F | SGE_F | ULP_TX_F | SF_F)
/**
* t4_slow_intr_handler - control path interrupt handler
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] cxgb4: handle serial flash interrupt
2017-06-13 19:15 [PATCH net-next] cxgb4: handle serial flash interrupt Ganesh Goudar
@ 2017-06-13 19:57 ` David Miller
2017-06-13 20:11 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2017-06-13 19:57 UTC (permalink / raw)
To: ganeshgr; +Cc: netdev, nirranjan, indranil, venkatesh, rahul.lakkireddy
From: Ganesh Goudar <ganeshgr@chelsio.com>
Date: Wed, 14 Jun 2017 00:45:43 +0530
> 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 <rahul.lakkireddy@chelsio.com>
> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Applied, thank you.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] cxgb4: handle serial flash interrupt
2017-06-13 19:15 [PATCH net-next] cxgb4: handle serial flash interrupt Ganesh Goudar
2017-06-13 19:57 ` David Miller
@ 2017-06-13 20:11 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2017-06-13 20:11 UTC (permalink / raw)
To: ganeshgr; +Cc: netdev, nirranjan, indranil, venkatesh, rahul.lakkireddy
From: Ganesh Goudar <ganeshgr@chelsio.com>
Date: Wed, 14 Jun 2017 00:45:43 +0530
> 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 <rahul.lakkireddy@chelsio.com>
> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-13 20:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13 19:15 [PATCH net-next] cxgb4: handle serial flash interrupt Ganesh Goudar
2017-06-13 19:57 ` David Miller
2017-06-13 20:11 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).