From: John Garry <john.garry@huawei.com>
To: <jejb@linux.ibm.com>, <martin.petersen@oracle.com>
Cc: <linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linuxarm@huawei.com>, John Garry <john.garry@huawei.com>
Subject: [PATCH 0/3] hisi_sas: A device rescan and IT nexus reset fix
Date: Thu, 12 May 2022 19:15:31 +0800 [thread overview]
Message-ID: <1652354134-171343-1-git-send-email-john.garry@huawei.com> (raw)
Hi,
This series includes 2x fixes for the hisi_sas driver:
- In issuing an ATA softreset in the IT nexus handler the disk may become
lost as we may issue the softreset before the phy is back up.
So export functionality from sas_ata_hard_reset() to wait for phy up to
synchronize.
- For host rescan we issue a nexus reset to the disk which is unnecessary,
so drop it. In addition, usage of the device status flag needs to be
fixed.
Please consider for 5.19, thanks!
John Garry (3):
scsi: libsas: Refactor sas_ata_hard_reset()
scsi: hisi_sas: Use sas_ata_wait_after_reset() in IT nexus reset
scsi: hisi_sas: Fix rescan after deleting a disk
drivers/scsi/hisi_sas/hisi_sas_main.c | 66 ++++++++++++---------------
drivers/scsi/libsas/sas_ata.c | 41 +++++++++++------
include/scsi/sas_ata.h | 7 +++
3 files changed, 64 insertions(+), 50 deletions(-)
--
2.26.2
next reply other threads:[~2022-05-12 11:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 11:15 John Garry [this message]
2022-05-12 11:15 ` [PATCH 1/3] scsi: libsas: Refactor sas_ata_hard_reset() John Garry
2022-05-12 11:15 ` [PATCH 2/3] scsi: hisi_sas: Use sas_ata_wait_after_reset() in IT nexus reset John Garry
2022-05-12 11:15 ` [PATCH 3/3] scsi: hisi_sas: Fix rescan after deleting a disk John Garry
2022-05-17 1:51 ` [PATCH 0/3] hisi_sas: A device rescan and IT nexus reset fix Martin K. Petersen
2022-05-20 1:09 ` Martin K. Petersen
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=1652354134-171343-1-git-send-email-john.garry@huawei.com \
--to=john.garry@huawei.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=martin.petersen@oracle.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
all inboxes | Powered by JetHome®