Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1935625yba; Fri, 17 May 2019 07:48:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBH005qElfhtEotmakRkRJ3ktBl89TqpLXgCIn9PvXTNcmJWCmRoyWcIV9gPsoc6XLTuqQ X-Received: by 2002:a17:902:b108:: with SMTP id q8mr52163658plr.110.1558104513864; Fri, 17 May 2019 07:48:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558104513; cv=none; d=google.com; s=arc-20160816; b=xOJYqH37/ZAVdcM/QzN7t22G+cUPHrgPVNXVrFCfduGAm/WkNvZ7wWcDCtb5g5bwzI XBUdex/ONI5D4UOh5GIMzb5+HbwM3rCa06Cm2mnYpO8tkbS0Tth8+ayuYDt2iZZ5pWgD QkI5t3DlqEMMm5IkAZca9/EpCXDRIj9pPFx2It6OEVa/xC8AM6B3W2JL3uUpeawE01rJ GyEJTEFCtMOUy2A/bCNfIJjPMZ17xSx5x9ZVf2560eaDY/14fdlxOw6jSM3X0gk5OWHC HtGFRnTqUjpFUlGFZRBKLKfrku20rkv8qNzz3JIRIfDgC8w9w46ahDMcoYrteBHDQjnb 4Nqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :date:cc:to:from:subject:message-id:dkim-signature:dkim-signature; bh=XQIXg1cRLW6zMcnBNWfltDis75cFvV868TMkp1iFkJc=; b=uKn1AZjUYh7MckqSctBLRBL/eBESFcANjj9UZe9blhLFkAs6FXlE/ZM4jMJHsYEaAd LQ24uMkqxpA92ruQq0QKKKPy/BwPT6D+6QkJL+N5fvGMoZs1PVXHKVbvLhrk6DQj+gnZ PoBpTwkVnp65Bhh+8k4M2rBdqn4I21Q9JYxb6yxsQL3kxJNdFwT39n5bP0VYcaeKrB80 wiIa42XcPw2SQBm1/RZMU8t+U903zm93Q8fCwjJINdknBH9l2yxh1w6XWfurt9SQyeXZ ODNKySOwExDF6BagE/zRhNOetWLpLbXYyGLD0UEg+SJ1iLphEAyV6U1vH3fVogif/60x RrGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=Govk6wKP; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b="Ap7c/bGP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13si8331855pge.437.2019.05.17.07.48.18; Fri, 17 May 2019 07:48:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=Govk6wKP; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b="Ap7c/bGP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729001AbfEQOos (ORCPT + 99 others); Fri, 17 May 2019 10:44:48 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:51706 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728383AbfEQOor (ORCPT ); Fri, 17 May 2019 10:44:47 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 3F3348EE109; Fri, 17 May 2019 07:44:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1558104287; bh=mcGx8l0bpynSMpo+hvq3Qr/3Kc5R0q0JO60PNFBW7Ro=; h=Subject:From:To:Cc:Date:From; b=Govk6wKPd9UXKjmaYRzfEntHmEJSD6zqMedacsDS3ZvwtLj3JVZ9c3Ptzu4EFrRZ/ m4gCyTd0F+Eu2Ff+ZY1V4S1gtz1e7Orst/napXZrlL7gIvSnIZkoHwaYhLYLoSL9Xp SOEA8StC8v+A19RXxls9kGFCT5GzQ8z+5O0e7YWs= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5nHc9zmrHS6O; Fri, 17 May 2019 07:44:47 -0700 (PDT) Received: from [153.66.254.194] (unknown [50.35.68.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 53EF88EE0D5; Fri, 17 May 2019 07:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1558104286; bh=mcGx8l0bpynSMpo+hvq3Qr/3Kc5R0q0JO60PNFBW7Ro=; h=Subject:From:To:Cc:Date:From; b=Ap7c/bGPpqo8aQa19MOOsVoyTwFx1xEDW2Cj3SWMWTCkLd1m9Erqp5EC8fWBVs1t0 Y66bcHDDKqwxXYMBbSdf8kieTTeUFzAdTMQ2K3k4A0nyXd0SzZxrRgwcmzdvOMmsax M6hYYwJjjbR+LorNzDXqgh9wvmDRVd0cBBTP7x8I= Message-ID: <1558104285.3050.8.camel@HansenPartnership.com> Subject: [GIT PULL] final round of SCSI updates for the 5.1+ merge window From: James Bottomley To: Andrew Morton , Linus Torvalds Cc: linux-scsi , linux-kernel Date: Fri, 17 May 2019 07:44:45 -0700 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the final round of mostly small fixes in our initial submit. The fix for the read only regressions is the most extensive change and also intrudes outside of SCSI because the partition and read only handling is mostly in block. The specific problem is the inability to distinguish between devices marked read only by the administrator and devices that come up read only but switch to read/write once they are ready to receive data. Without the fix these devices are currently forced to stay read only causing regressions in the enterprise. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-misc The short changelog is: Colin Ian King (1): scsi: bnx2fc: fix incorrect cast to u64 on shift operation Erwan Velu (1): scsi: smartpqi: Reporting unhandled SCSI errors James Smart (4): scsi: lpfc: Update lpfc version to 12.2.0.2 scsi: lpfc: add check for loss of ndlp when sending RRQ scsi: lpfc: correct rcu unlock issue in lpfc_nvme_info_show scsi: lpfc: resolve lockdep warnings Martin K. Petersen (1): scsi: sd: block: Fix regressions in read-only block device handling Quinn Tran (1): scsi: qla2xxx: Add cleanup for PCI EEH recovery YueHaibing (3): scsi: myrs: Fix uninitialized variable scsi: qedi: remove set but not used variables 'cdev' and 'udev' scsi: qedi: remove memset/memcpy to nfunc and use func instead And the diffstat: block/blk-core.c | 2 +- block/genhd.c | 34 ++++-- block/ioctl.c | 4 + block/partition-generic.c | 7 +- drivers/scsi/bnx2fc/bnx2fc_hwi.c | 2 +- drivers/scsi/lpfc/lpfc_attr.c | 37 +++--- drivers/scsi/lpfc/lpfc_els.c | 5 +- drivers/scsi/lpfc/lpfc_sli.c | 84 ++++++++----- drivers/scsi/lpfc/lpfc_version.h | 2 +- drivers/scsi/myrs.c | 2 +- drivers/scsi/qedi/qedi_dbg.c | 32 ++--- drivers/scsi/qedi/qedi_iscsi.c | 4 - drivers/scsi/qla2xxx/qla_os.c | 221 +++++++++++++--------------------- drivers/scsi/sd.c | 4 +- drivers/scsi/smartpqi/smartpqi_init.c | 23 ++-- include/linux/genhd.h | 11 +- 16 files changed, 230 insertions(+), 244 deletions(-) James