From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: "Guilherme G. Piccoli" <gpiccoli@linux.vnet.ibm.com>
Cc: aacraid@microsemi.com, linux-scsi@vger.kernel.org,
RaghavaAditya.Renukunta@microsemi.com
Subject: Re: [PATCH] scsi: aacraid: fix PCI error recovery path
Date: Tue, 11 Apr 2017 20:46:54 -0400 [thread overview]
Message-ID: <yq1y3v6v4e9.fsf@oracle.com> (raw)
In-Reply-To: <20170406211209.27129-1-gpiccoli@linux.vnet.ibm.com> (Guilherme G. Piccoli's message of "Thu, 6 Apr 2017 18:12:09 -0300")
"Guilherme G. Piccoli" <gpiccoli@linux.vnet.ibm.com> writes:
> During a PCI error recovery, if aac_check_health() is not aware that
> a PCI error happened and we have an offline PCI channel, it might
> trigger some errors (like NULL pointer dereference) and inhibit the
> error recovery process to complete.
>
> This patch makes the health check procedure aware of PCI channel
> issues, and in case of error recovery process, the function
> aac_adapter_check_health() returns -1 and let the recovery process
> to complete successfully. This patch was tested on upstream kernel
> v4.11-rc5 in PowerPC ppc64le architecture with adapter 9005:028d
> (VID:DID) - the error recovery procedure was able to recover fine.
Applied to 4.11/scsi-fixes, thanks!
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2017-04-12 0:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-06 21:12 [PATCH] scsi: aacraid: fix PCI error recovery path Guilherme G. Piccoli
2017-04-06 21:46 ` Dave Carroll
2017-04-12 0:46 ` Martin K. Petersen [this message]
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=yq1y3v6v4e9.fsf@oracle.com \
--to=martin.petersen@oracle.com \
--cc=RaghavaAditya.Renukunta@microsemi.com \
--cc=aacraid@microsemi.com \
--cc=gpiccoli@linux.vnet.ibm.com \
--cc=linux-scsi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.