Skip to contentSkip to conversation

SCSI fixes for 5.12-rc2

GIT PULL Merged James Bottomley 2 participants 2 messages Mar 12, 2021

Subsystems (4)
lore
Share & tools
lore

James Bottomley

author maintainer
#0 lore raw

10 updates, a non code maintainer update for vmw_pvscsi, five code updates for ibmvfc and four for UFS. All updates are either trivial patches or bug fixes.

The patch is available here:

git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

The short changelog is:

Can Guo (2):
scsi: ufs: Remove redundant checks of !hba in suspend/resume callbacks
scsi: ufs: Minor adjustments to error handling

Jiapeng Chong (1):
scsi: ufs: Convert sysfs sprintf/snprintf family to sysfs_emit

Nitin Rawat (1):
scsi: ufs: ufs-qcom: Disable interrupt in reset path

Tyrel Datwyler (5):
scsi: ibmvfc: Reinitialize sub-CRQs and perform channel enquiry after LPM
scsi: ibmvfc: Store return code of H_FREE_SUB_CRQ during cleanup
scsi: ibmvfc: Treat H_CLOSED as success during sub-CRQ registration
scsi: ibmvfc: Fix invalid sub-CRQ handles after hard reset
scsi: ibmvfc: Simplify handling of sub-CRQ initialization

Vishal Bhakta (1):
scsi: vmw_pvscsi: MAINTAINERS: Update maintainer

And the diffstat:

 MAINTAINERS                    |  2 +-
 drivers/scsi/ibmvscsi/ibmvfc.c | 62 ++++++++++++++++++++++++------------------
 drivers/scsi/ufs/ufs-qcom.c    | 10 +++++++
 drivers/scsi/ufs/ufshcd.c      | 41 +++++++++-------------------
 drivers/scsi/vmw_pvscsi.c      |  2 --
 drivers/scsi/vmw_pvscsi.h      |  2 --
 6 files changed, 60 insertions(+), 59 deletions(-)

With full diff below.

James

---

MAINTAINERS +1 -1
index d92f85ca831d..dede3b947834 100644
@@ -19165,7 +19165,7 @@ S:	Maintained
 F:	drivers/infiniband/hw/vmw_pvrdma/
 
 VMware PVSCSI driver
-M:	Jim Gill <[email protected]>
+M:	Vishal Bhakta <[email protected]>
 M:	VMware PV-Drivers <[email protected]>
 L:	[email protected]
 S:	Maintained
drivers/scsi/ibmvscsi/ibmvfc.c +36 -26

155 lines not on this page · raw message

drivers/scsi/ufs/ufs-qcom.c +10 -0
index f97d7b0ae3b6..a9dc8d7c9f78 100644
@@ -253,12 +253,17 @@ static int ufs_qcom_host_reset(struct ufs_hba *hba)
 {
 	int ret = 0;
 	struct ufs_qcom_host *host = ufshcd_get_variant(hba);
+	bool reenable_intr = false;
 
 	if (!host->core_reset) {
 		dev_warn(hba->dev, "%s: reset control not set\n", __func__);
 		goto out;
 	}
 
+	reenable_intr = hba->is_irq_enabled;
+	disable_irq(hba->irq);
+	hba->is_irq_enabled = false;
+
 	ret = reset_control_assert(host->core_reset);
 	if (ret) {
 		dev_err(hba->dev, "%s: core_reset assert failed, err = %d\n",
@@ -280,6 +285,11 @@ static int ufs_qcom_host_reset(struct ufs_hba *hba)
 
 	usleep_range(1000, 1100);
 
+	if (reenable_intr) {
+		enable_irq(hba->irq);
+		hba->is_irq_enabled = true;
+	}
+
 out:
 	return ret;
 }
drivers/scsi/ufs/ufshcd.c +13 -28

116 lines not on this page · raw message

drivers/scsi/vmw_pvscsi.c +0 -2
index 081f54ab7d86..8a79605d9652 100644
@@ -17,8 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  *
- * Maintained by: Jim Gill <[email protected]>
- *
  */
 
 #include <linux/kernel.h>
drivers/scsi/vmw_pvscsi.h +0 -2
index 75966d3f326e..51a82f7803d3 100644
@@ -17,8 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  *
- * Maintained by: Jim Gill <[email protected]>
- *
  */
 
 #ifndef _VMW_PVSCSI_H_