From: Divy Le Ray <divy@chelsio.com>
To: leitao@linux.vnet.ibm.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] cxgb3: Fixing EEH handlers
Date: Fri, 11 Dec 2009 15:05:23 -0800 [thread overview]
Message-ID: <4B22D033.40105@chelsio.com> (raw)
In-Reply-To: <1260471817-7184-1-git-send-email-leitao@linux.vnet.ibm.com>
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
>
next prev parent reply other threads:[~2009-12-11 23:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-10 19:03 [PATCH] cxgb3: Fixing EEH handlers leitao
2009-12-11 23:05 ` Divy Le Ray [this message]
2009-12-11 23:16 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B22D033.40105@chelsio.com \
--to=divy@chelsio.com \
--cc=leitao@linux.vnet.ibm.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).