* [PATCH] bnx2: EEH is failing with timeout
@ 2009-11-26 17:31 leitao
2009-11-30 9:40 ` Michael Chan
0 siblings, 1 reply; 3+ messages in thread
From: leitao @ 2009-11-26 17:31 UTC (permalink / raw)
To: mchan; +Cc: netdev, Breno Leitao
bnx2 is failing when a PCI error is detected. The error is the
following:
bnx2: Chip not in correct endian mode
bnx2: fw sync timeout, reset code = 404001d
This error was caused because the way pci_restore_state() is working
after commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff.
Signed-off-by: Breno Leitao<leitao@linux.vnet.ibm.com>
---
drivers/net/bnx2.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 08cddb6..7fa4048 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -8264,6 +8264,7 @@ static pci_ers_result_t bnx2_io_slot_reset(struct pci_dev *pdev)
}
pci_set_master(pdev);
pci_restore_state(pdev);
+ pci_save_state(pdev);
if (netif_running(dev)) {
bnx2_set_power_state(bp, PCI_D0);
--
1.6.0.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] bnx2: EEH is failing with timeout
2009-11-26 17:31 [PATCH] bnx2: EEH is failing with timeout leitao
@ 2009-11-30 9:40 ` Michael Chan
2009-12-02 23:37 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Michael Chan @ 2009-11-30 9:40 UTC (permalink / raw)
To: 'leitao@linux.vnet.ibm.com'; +Cc: netdev@vger.kernel.org
leitao@linux.vnet.ibm.com wrote:
> bnx2 is failing when a PCI error is detected. The error is the
> following:
>
> bnx2: Chip not in correct endian mode
> bnx2: fw sync timeout, reset code = 404001d
>
> This error was caused because the way pci_restore_state() is working
> after commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff.
>
> Signed-off-by: Breno Leitao<leitao@linux.vnet.ibm.com>
Thanks Breno.
Acked by: Michael Chan <mchan@broadcom.com>
> ---
> drivers/net/bnx2.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
> index 08cddb6..7fa4048 100644
> --- a/drivers/net/bnx2.c
> +++ b/drivers/net/bnx2.c
> @@ -8264,6 +8264,7 @@ static pci_ers_result_t
> bnx2_io_slot_reset(struct pci_dev *pdev)
> }
> pci_set_master(pdev);
> pci_restore_state(pdev);
> + pci_save_state(pdev);
>
> if (netif_running(dev)) {
> bnx2_set_power_state(bp, PCI_D0);
> --
> 1.6.0.2
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] bnx2: EEH is failing with timeout
2009-11-30 9:40 ` Michael Chan
@ 2009-12-02 23:37 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2009-12-02 23:37 UTC (permalink / raw)
To: mchan; +Cc: leitao, netdev
From: "Michael Chan" <mchan@broadcom.com>
Date: Mon, 30 Nov 2009 01:40:58 -0800
> leitao@linux.vnet.ibm.com wrote:
>
>> bnx2 is failing when a PCI error is detected. The error is the
>> following:
>>
>> bnx2: Chip not in correct endian mode
>> bnx2: fw sync timeout, reset code = 404001d
>>
>> This error was caused because the way pci_restore_state() is working
>> after commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff.
>>
>> Signed-off-by: Breno Leitao<leitao@linux.vnet.ibm.com>
>
> Thanks Breno.
>
> Acked by: Michael Chan <mchan@broadcom.com>
Applied, thanks everyone.
(Michael: Need to have a "-" there in the "Acked-by" otherwise
automated tools won't pick up your ACK. I know the
tools should be more robust, and I fixed it up for
you when applying Breno's patch. It's just FYI...)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-02 23:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-26 17:31 [PATCH] bnx2: EEH is failing with timeout leitao
2009-11-30 9:40 ` Michael Chan
2009-12-02 23:37 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox