Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI updates from James Bottomley: "This is mostly update of the usual drivers: arcmsr, qla2xxx, lpfc, hisi_sas, target/iscsi and target/core. Additionally Christoph refactored gdth as part of the dma changes. The major mid-layer change this time is the removal of bidi commands and with them the whole of the osd/exofs driver and filesystem. This is a major simplification for block and mq in particular" * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (240 commits) scsi: cxgb4i: validate tcp sequence number only if chip version <= T5 scsi: cxgb4i: get pf number from lldi->pf scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c scsi: mpt3sas: Add missing breaks in switch statements scsi: aacraid: Fix missing break in switch statement scsi: kill command serial number scsi: csiostor: drop serial_number usage scsi: mvumi: use request tag instead of serial_number scsi: dpt_i2o: remove serial number usage scsi: st: osst: Remove negative constant left-shifts scsi: ufs-bsg: Allow reading descriptors scsi: ufs: Allow reading descriptor via raw upiu scsi: ufs-bsg: Change the calling convention for write descriptor scsi: ufs: Remove unused device quirks Revert "scsi: ufs: disable vccq if it's not needed by UFS device" scsi: megaraid_sas: Remove a bunch of set but not used variables scsi: clean obsolete return values of eh_timed_out scsi: sd: Optimal I/O size should be a multiple of physical block size scsi: MAINTAINERS: SCSI initiator and target tweaks scsi: fcoe: make use of fip_mode enum complete ...
This commit is contained in:
@@ -834,7 +834,8 @@ skip_rio:
|
||||
* Restore for Physical Port only
|
||||
*/
|
||||
if (!vha->vp_idx) {
|
||||
if (ha->flags.fawwpn_enabled) {
|
||||
if (ha->flags.fawwpn_enabled &&
|
||||
(ha->current_topology == ISP_CFG_F)) {
|
||||
void *wwpn = ha->init_cb->port_name;
|
||||
memcpy(vha->port_name, wwpn, WWN_SIZE);
|
||||
fc_host_port_name(vha->host) =
|
||||
@@ -1714,6 +1715,15 @@ qla24xx_logio_entry(scsi_qla_host_t *vha, struct req_que *req,
|
||||
|
||||
vha->hw->exch_starvation = 0;
|
||||
data[0] = MBS_COMMAND_COMPLETE;
|
||||
|
||||
if (sp->type == SRB_PRLI_CMD) {
|
||||
lio->u.logio.iop[0] =
|
||||
le32_to_cpu(logio->io_parameter[0]);
|
||||
lio->u.logio.iop[1] =
|
||||
le32_to_cpu(logio->io_parameter[1]);
|
||||
goto logio_done;
|
||||
}
|
||||
|
||||
if (sp->type != SRB_LOGIN_CMD)
|
||||
goto logio_done;
|
||||
|
||||
@@ -2725,6 +2735,17 @@ check_scsi_status:
|
||||
cp->device->vendor);
|
||||
break;
|
||||
|
||||
case CS_DMA:
|
||||
ql_log(ql_log_info, fcport->vha, 0x3022,
|
||||
"CS_DMA error: 0x%x-0x%x (0x%x) nexus=%ld:%d:%llu portid=%06x oxid=0x%x cdb=%10phN len=0x%x rsp_info=0x%x resid=0x%x fw_resid=0x%x sp=%p cp=%p.\n",
|
||||
comp_status, scsi_status, res, vha->host_no,
|
||||
cp->device->id, cp->device->lun, fcport->d_id.b24,
|
||||
ox_id, cp->cmnd, scsi_bufflen(cp), rsp_info_len,
|
||||
resid_len, fw_resid_len, sp, cp);
|
||||
ql_dump_buffer(ql_dbg_tgt + ql_dbg_verbose, vha, 0xe0ee,
|
||||
pkt, sizeof(*sts24));
|
||||
res = DID_ERROR << 16;
|
||||
break;
|
||||
default:
|
||||
res = DID_ERROR << 16;
|
||||
break;
|
||||
@@ -3410,7 +3431,7 @@ qla24xx_enable_msix(struct qla_hw_data *ha, struct rsp_que *rsp)
|
||||
min_vecs++;
|
||||
}
|
||||
|
||||
if (USER_CTRL_IRQ(ha)) {
|
||||
if (USER_CTRL_IRQ(ha) || !ha->mqiobase) {
|
||||
/* user wants to control IRQ setting for target mode */
|
||||
ret = pci_alloc_irq_vectors(ha->pdev, min_vecs,
|
||||
ha->msix_count, PCI_IRQ_MSIX);
|
||||
|
||||
Reference in New Issue
Block a user