From: Gavin Shan <gwshan@linux.vnet.ibm.com>
To: Amir Vadai <amirv@mellanox.com>
Cc: Gavin Shan <gwshan@linux.vnet.ibm.com>,
netdev@vger.kernel.org, Or Gerlitz <ogerlitz@mellanox.com>,
davem@davemloft.net, yishaih@mellanox.com
Subject: Re: [PATCH] net/mlx4: Fix EEH recovery failure
Date: Tue, 25 Nov 2014 08:42:42 +1100 [thread overview]
Message-ID: <20141124214242.GA5352@shangw> (raw)
In-Reply-To: <5472099B.5070105@mellanox.com>
On Sun, Nov 23, 2014 at 06:21:47PM +0200, Amir Vadai wrote:
>On 11/22/2014 12:56 PM, Gavin Shan wrote:
>> The patch fixes couple of EEH recovery failures on PPC PowerNV
>> platform:
>>
>> * Release reserved memory regions in mlx4_pci_err_detected().
>> Otherwise, __mlx4_init_one() fails because of reserving
>> same memory regions recursively.
>> * Disable PCI device in mlx4_pci_err_detected(). Otherwise,
>> pci_enable_device() in __mlx4_init_one() doesn't enable
>> the PCI device because it's already in enabled state indicated
>> by struct pci_dev::enable_cnt.
>> * Don't clear struct mlx4_priv instance in mlx4_pci_err_detected().
>> Otherwise, __mlx4_init_one() runs into kernel crash because
>> of dereferencing to NULL pointer.
>>
>> With the patch applied, EEH recovery for mlx4 adapter succeeds on PPC
>> PowerNV platform.
>>
>> # lspci
>> 0003:0f:00.0 Network controller: Mellanox Technologies \
>> MT27500 Family [ConnectX-3]
>>
>> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
>
>Hi Gavin,
>
>Yishai (added to the CC) is few days before sending a patchset to fix
>the reset flow and inside it there is a fix to EEH recovery.
>I would be happy if you could wait for the whole reset flow fix by Yishai.
>
Yes, It's not urgent and I can wait. Thanks for the info.
>If you'd like, I can send you the patchset to try. Currently it is under
>review inside Mellanox before being sent to the mailing list.
>
It would be nice to send me the patchset for me to have a try.
Thanks,
Gavin
>Thanks,
>Amir
>
>
>
>
next prev parent reply other threads:[~2014-11-24 21:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-22 10:56 [PATCH] net/mlx4: Fix EEH recovery failure Gavin Shan
2014-11-23 16:21 ` Amir Vadai
2014-11-24 21:42 ` Gavin Shan [this message]
2014-12-05 4:28 ` Gavin Shan
-- strict thread matches above, loose matches on Subject: below --
2014-11-24 21:17 Or Gerlitz
2014-11-24 21:55 ` Gavin Shan
2014-11-25 22:00 ` Or Gerlitz
2014-11-25 22:21 ` Gavin Shan
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=20141124214242.GA5352@shangw \
--to=gwshan@linux.vnet.ibm.com \
--cc=amirv@mellanox.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=ogerlitz@mellanox.com \
--cc=yishaih@mellanox.com \
/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