* [PATCH] cxgb3: Fixing EEH handlers
@ 2009-12-10 19:03 leitao
2009-12-11 23:05 ` Divy Le Ray
2009-12-11 23:16 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: leitao @ 2009-12-10 19:03 UTC (permalink / raw)
To: divy; +Cc: netdev, Breno Leitao
After commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff, the EEH
is not working proplery on cxgb3.
This patch fixes it, always saving the PCI state after a recovery,
in order to allow further reoveries.
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
---
drivers/net/cxgb3/cxgb3_main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index cef3f88..89bec9c 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -2860,6 +2860,7 @@ static int t3_reenable_adapter(struct adapter *adapter)
}
pci_set_master(adapter->pdev);
pci_restore_state(adapter->pdev);
+ pci_save_state(adapter->pdev);
/* Free sge resources */
t3_free_sge_resources(adapter);
--
1.6.0.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] cxgb3: Fixing EEH handlers
2009-12-10 19:03 [PATCH] cxgb3: Fixing EEH handlers leitao
@ 2009-12-11 23:05 ` Divy Le Ray
2009-12-11 23:16 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Divy Le Ray @ 2009-12-11 23:05 UTC (permalink / raw)
To: leitao; +Cc: netdev
leitao@linux.vnet.ibm.com wrote:
>
> After commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff, the EEH
> is not working proplery on cxgb3.
>
> This patch fixes it, always saving the PCI state after a recovery,
> in order to allow further reoveries.
>
> Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
>
Acked-by: Divy Le Ray <divy@chelsio.com>
> ---
> drivers/net/cxgb3/cxgb3_main.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/cxgb3/cxgb3_main.c
> b/drivers/net/cxgb3/cxgb3_main.c
> index cef3f88..89bec9c 100644
> --- a/drivers/net/cxgb3/cxgb3_main.c
> +++ b/drivers/net/cxgb3/cxgb3_main.c
> @@ -2860,6 +2860,7 @@ static int t3_reenable_adapter(struct adapter
> *adapter)
> }
> pci_set_master(adapter->pdev);
> pci_restore_state(adapter->pdev);
> + pci_save_state(adapter->pdev);
>
> /* Free sge resources */
> t3_free_sge_resources(adapter);
> --
> 1.6.0.2
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] cxgb3: Fixing EEH handlers
2009-12-10 19:03 [PATCH] cxgb3: Fixing EEH handlers leitao
2009-12-11 23:05 ` Divy Le Ray
@ 2009-12-11 23:16 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2009-12-11 23:16 UTC (permalink / raw)
To: leitao; +Cc: divy, netdev
From: leitao@linux.vnet.ibm.com
Date: Thu, 10 Dec 2009 13:03:37 -0600
> After commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff, the EEH
> is not working proplery on cxgb3.
>
> This patch fixes it, always saving the PCI state after a recovery,
> in order to allow further reoveries.
>
> Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-11 23:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-10 19:03 [PATCH] cxgb3: Fixing EEH handlers leitao
2009-12-11 23:05 ` Divy Le Ray
2009-12-11 23:16 ` 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).