qla2xxx misc. bug fixes
Subsystems (2)
Nilesh Javali
maintainercover qla2xxx misc. bug fixes
Martin,
Please apply the qla2xxx driver miscellaneous bug fixes to the scsi tree at your earliest convenience.
Thanks,
Nilesh
Anil Gurumurthy (1):
qla2xxx: Supported speed displayed incorrectly for VPorts
Nilesh Javali (1):
qla2xxx: Update version to 10.02.09.400-k
Quinn Tran (4):
qla2xxx: fix abort in bsg timeout
qla2xxx: Fix use after free on unload
qla2xxx: Move FCE Trace buffer allocation to user control
qla2xxx: Fix NVME and NPIV connect issue
Saurav Kashyap (1):
qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt.
drivers/scsi/qla2xxx/qla_attr.c | 1 + drivers/scsi/qla2xxx/qla_bsg.c | 124 +++++++++++++++++++++-------- drivers/scsi/qla2xxx/qla_def.h | 2 + drivers/scsi/qla2xxx/qla_dfs.c | 124 ++++++++++++++++++++++++----- drivers/scsi/qla2xxx/qla_gbl.h | 3 + drivers/scsi/qla2xxx/qla_init.c | 28 ++++--- drivers/scsi/qla2xxx/qla_mid.c | 1 + drivers/scsi/qla2xxx/qla_os.c | 15 ++-- drivers/scsi/qla2xxx/qla_version.h | 4 +- 9 files changed, 230 insertions(+), 72 deletions(-)
base-commit: 359aeb86480da0cba043a79c87a65806f158e931
Signature · 1 line
2.23.1
Nilesh Javali
maintainerPATCH 1/7 qla2xxx: fix abort in bsg timeout
From: Quinn Tran <[email protected]>
Current abort of bsg on timeout, prematurely clears the outstanding_cmds[]. Abort does not allow FW to return the IOCB/SRB. In addition, bsg_job_done is not called to return the BSG (ie leak).
The change will abort the outstanding bsg/srb, wait for the completion of the BSG. The completion iocb will wake up the bsg_timeout thread. If abort is not successful, then driver will forcibly bsg_job_done and free the srb.
Err Inject:
- qaucli -z
- assign CT Passthru IOCB's NportHandle with another initiator nport handle to trigger timeout. Remote port will drop CT request.
- bsg_job_done is properly called as part of cleanup
kernel: qla2xxx [0000:21:00.1]-7012:7: qla2x00_process_ct : 286 : Error Inject.
kernel: qla2xxx [0000:21:00.1]-7016:7: bsg rqst type: FC_BSG_HST_CT else type: 101 - loop-id=1 portid=fffffa.
kernel: qla2xxx [0000:21:00.1]-70bb:7: qla24xx_bsg_timeout CMD timeout. bsg ptr ffff9971a42f0838 msgcode 80000004 vendor cmd fa010000
kernel: qla2xxx [0000:21:00.1]-507c:7: Abort command issued - hdl=4b, type=5
kernel: qla2xxx [0000:21:00.1]-5040:7: ELS-CT pass-through-ct pass-through error hdl=4b comp_status-status=0x5 error subcode 1=0x0 error subcode 2=0xaf882e80.
kernel: qla2xxx [0000:21:00.1]-7009:7: qla2x00_bsg_job_done: sp hdl 4b, result=70000 bsg ptr ffff9971a42f0838
kernel: qla2xxx [0000:21:00.1]-802c:7: Aborting bsg ffff9971a42f0838 sp=ffff99760b87ba80 handle=4b rval=0
kernel: qla2xxx [0000:21:00.1]-708a:7: bsg abort success. bsg ffff9971a42f0838 sp=ffff99760b87ba80 handle=0x4b
--
kernel: qla2xxx [0000:21:00.1]-7012:7: qla2x00_process_ct : 286 : Error Inject.
kernel: qla2xxx [0000:21:00.1]-7016:7: bsg rqst type: FC_BSG_HST_CT else type: 101 - loop-id=1 portid=fffffa.
kernel: qla2xxx [0000:21:00.1]-70bb:7: qla24xx_bsg_timeout CMD timeout. bsg ptr ffff9971a42f43b8 msgcode 80000004 vendor cmd fa010000
kernel: qla2xxx [0000:21:00.1]-7012:7: qla_bsg_found : 2206 : Error Inject 2.
kernel: qla2xxx [0000:21:00.1]-802c:7: Aborting bsg ffff9971a42f43b8 sp=ffff99762c304440 handle=5e rval=5
kernel: qla2xxx [0000:21:00.1]-704f:7: bsg abort fail. bsg=ffff9971a42f43b8 sp=ffff99762c304440 rval=5.
kernel: qla2xxx [0000:21:00.1]-7051:7: qla_bsg_found bsg_job_done : bsg ffff9971a42f43b8 result 0xfffffffa sp ffff99762c304440.
--- drivers/scsi/qla2xxx/qla_bsg.c | 114 ++++++++++++++++++++++++++------- 1 file changed, 92 insertions(+), 22 deletions(-)
drivers/scsi/qla2xxx/qla_bsg.c +92 -22
@@ -24,6 +24,7 @@ void qla2x00_bsg_job_done(srb_t *sp, int res) {struct bsg_job *bsg_job = sp->u.bsg_job;struct fc_bsg_reply *bsg_reply = bsg_job->reply; +struct completion *comp = sp->comp; ql_dbg(ql_dbg_user, sp->vha, 0x7009, "%s: sp hdl %x, result=%x bsg ptr %p\n",
@@ -35,6 +36,9 @@ void qla2x00_bsg_job_done(srb_t *sp, int res) bsg_reply->result = res;bsg_job_done (bsg_job, bsg_reply->result, bsg_reply->reply_payload_rcv_len); + +if (comp) +complete (comp); }void qla2x00_bsg_sp_free (srb_t *sp)
@@ -3061,7 +3065,7 @@ qla24xx_bsg_request(struct bsg_job *bsg_job)static bool qla_bsg_found (struct qla_qpair *qpair,struct bsg_job *bsg_job) { -bool found = false; +bool found, do_bsg_done;struct fc_bsg_reply *bsg_reply = bsg_job->reply;scsi_qla_host_t *vha =shost_priv (fc_bsg_to_shost (bsg_job));struct qla_hw_data *ha = vha->hw;
@@ -3069,6 +3073,11 @@ static bool qla_bsg_found(struct qla_qpair *qpair, struct bsg_job *bsg_job)int cnt;unsigned long flags;struct req_que *req; +int rval; +DECLARE_COMPLETION_ONSTACK (comp); +uint32_t ratov_j; + + found = do_bsg_done = false;spin_lock_irqsave (qpair->qp_lock_ptr, flags); req = qpair->req;
@@ -3080,42 +3089,104 @@ static bool qla_bsg_found(struct qla_qpair *qpair, struct bsg_job *bsg_job) sp->type == SRB_ELS_CMD_HST || sp->type == SRB_ELS_CMD_HST_NOLOGIN) && sp->u.bsg_job == bsg_job) { - req->outstanding_cmds[cnt] = NULL; -spin_unlock_irqrestore (qpair->qp_lock_ptr, flags); - -if (!ha->flags.eeh_busy && ha->isp_ops->abort_command (sp)) { -ql_log (ql_log_warn, vha,0x7089 , -"mbx abort_command failed.\n" ); - bsg_reply->result = -EIO ; - }else { -ql_dbg (ql_dbg_user, vha,0x708a , -"mbx abort_command success.\n" ); - bsg_reply->result =0 ; - } -/* ref: INIT */ -kref_put (&sp->cmd_kref, qla2x00_sp_release); found = true; - goto done; + sp->comp = ∁ +break ; } }spin_unlock_irqrestore (qpair->qp_lock_ptr, flags); -done: -return found; +if (!found) +return false; + +if (ha->flags.eeh_busy) { +/* skip over abort. EEH handling will return the bsg. Wait for it */ + rval =QLA_SUCCESS ; +ql_dbg (ql_dbg_user, vha,0x802c , +"eeh encounter. bsg %p sp=%p handle=%x \n" , + bsg_job, sp, sp->handle); + }else { + rval = ha->isp_ops->abort_command (sp); +ql_dbg (ql_dbg_user, vha,0x802c , +"Aborting bsg %p sp=%p handle=%x rval=%x\n" , + bsg_job, sp, sp->handle, rval); + } + +switch (rval) { +case QLA_SUCCESS : +/* Wait for the command completion. */ + ratov_j = ha->r_a_tov /10 *4 *1000 ; + ratov_j =msecs_to_jiffies (ratov_j); + +if (!wait_for_completion_timeout (&comp, ratov_j)) { +ql_log (ql_log_info, vha,0x7089 , +"bsg abort timeout. bsg=%p sp=%p handle %#x .\n" , + bsg_job, sp, sp->handle); + + do_bsg_done = true; + }else { +/* fw had returned the bsg */ +ql_dbg (ql_dbg_user, vha,0x708a , +"bsg abort success. bsg %p sp=%p handle=%#x\n" , + bsg_job, sp, sp->handle); + do_bsg_done = false; + } +break ; +default : +ql_log (ql_log_info, vha,0x704f , +"bsg abort fail. bsg=%p sp=%p rval=%x.\n" , + bsg_job, sp, rval); + + do_bsg_done = true; +break ; + } + +if (!do_bsg_done) +return true; + +spin_lock_irqsave (qpair->qp_lock_ptr, flags); +/* +* recheck to make sure it's still the same bsg_job due to +* qp_lock_ptr was released earlier. +*/ +if (req->outstanding_cmds[cnt] && + req->outstanding_cmds[cnt]->u.bsg_job != bsg_job) { +/* fw had returned the bsg */ +spin_unlock_irqrestore (qpair->qp_lock_ptr, flags); +return true; + } + req->outstanding_cmds[cnt] =NULL ; +spin_unlock_irqrestore (qpair->qp_lock_ptr, flags); + +/* ref: INIT */ + sp->comp =NULL ; +kref_put (&sp->cmd_kref, qla2x00_sp_release); + bsg_reply->result = -ENXIO ; + bsg_reply->reply_payload_rcv_len =0 ; + +ql_dbg (ql_dbg_user, vha,0x7051 , +"%s bsg_job_done : bsg %p result %#x sp %p.\n" , + __func__, bsg_job, bsg_reply->result, sp); + +bsg_job_done (bsg_job, bsg_reply->result, bsg_reply->reply_payload_rcv_len); + +return true; }int qla24xx_bsg_timeout (struct bsg_job *bsg_job) { -struct fc_bsg_reply *bsg_reply = bsg_job->reply; +struct fc_bsg_request *bsg_request = bsg_job->request;scsi_qla_host_t *vha =shost_priv (fc_bsg_to_shost (bsg_job));struct qla_hw_data *ha = vha->hw;int i;struct qla_qpair *qpair; -ql_log (ql_log_info, vha,0x708b ,"%s CMD timeout. bsg ptr %p.\n" , - __func__, bsg_job); +ql_log (ql_log_info, vha,0x708b , +"%s CMD timeout. bsg ptr %p msgcode %x vendor cmd %x\n" , + __func__, bsg_job, bsg_request->msgcode, + bsg_request->rqst_data.h_vendor.vendor_cmd[0 ]);if (qla2x00_isp_reg_stat (ha)) { ql_log(ql_log_info, vha, 0x9007,
@@ -3136,7 +3207,6 @@ qla24xx_bsg_timeout(struct bsg_job *bsg_job) }ql_log (ql_log_info, vha,0x708b ,"SRB not found to abort.\n" ); - bsg_reply->result = -ENXIO ; done:return 0 ;
Signature · 1 line
2.23.1
Nilesh Javali
maintainerPATCH 2/7 qla2xxx: Fix use after free on unload
In reply to Nilesh JavaliFrom: Quinn Tran <[email protected]>
System crash is observed with stack trace warning of use after free. There are 2 signals to tell dpc_thread to terminate (UNLOADING flag and kthread_stop).
On setting the UNLOADING flag when dpc_thread happens to run at the time and sees the flag, this cause dpc_thread to exit and cleanup itself. When kthread_stop is called for final cleanup, it cause use after free.
Remove UNLOADING signal to terminate dpc_thread. Use the kthread_stop as the main signal to exit dpc_thread.
[596663.812935] kernel BUG at mm/slub.c:294! [596663.812950] invalid opcode: 0000 [#1] SMP PTI [596663.812957] CPU: 13 PID: 1475935 Comm: rmmod Kdump: loaded Tainted: G IOE --------- - - 4.18.0-240.el8.x86_64 #1 [596663.812960] Hardware name: HP ProLiant DL380p Gen8, BIOS P70 08/20/2012 [596663.812974] RIP: 0010:__slab_free+0x17d/0x360
...
[596663.813008] Call Trace: [596663.813022] ? __dentry_kill+0x121/0x170 [596663.813030] ? _cond_resched+0x15/0x30 [596663.813034] ? _cond_resched+0x15/0x30 [596663.813039] ? wait_for_completion+0x35/0x190 [596663.813048] ? try_to_wake_up+0x63/0x540 [596663.813055] free_task+0x5a/0x60 [596663.813061] kthread_stop+0xf3/0x100 [596663.813103] qla2x00_remove_one+0x284/0x440 [qla2xxx]
--- drivers/scsi/qla2xxx/qla_os.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
drivers/scsi/qla2xxx/qla_os.c +8 -7
@@ -6902,12 +6902,15 @@ qla2x00_do_dpc(void *data)set_user_nice (current,MIN_NICE );set_current_state (TASK_INTERRUPTIBLE ); -while (!kthread_should_stop ()) { +while (1 ) {ql_dbg (ql_dbg_dpc, base_vha,0x4000 ,"DPC handler sleeping.\n" );schedule (); +if (kthread_should_stop ()) +break ; +if (test_and_clear_bit (DO_EEH_RECOVERY , &base_vha->dpc_flags))qla_pci_set_eeh_busy (base_vha);
@@ -6920,15 +6923,16 @@ qla2x00_do_dpc(void *data) goto end_loop; } +if (test_bit (UNLOADING , &base_vha->dpc_flags)) +/* don't do any work. Wait to be terminated by kthread_stop */ + goto end_loop; + ha->dpc_active =1 ;ql_dbg (ql_dbg_dpc + ql_dbg_verbose, base_vha,0x4001 ,"DPC handler waking up, dpc_flags=0x%lx.\n" , base_vha->dpc_flags); -if (test_bit (UNLOADING , &base_vha->dpc_flags)) -break ; -if (IS_P3P_TYPE (ha)) {if (IS_QLA8044 (ha)) { if (test_and_clear_bit(ISP_UNRECOVERABLE,
@@ -7241,9 +7245,6 @@ qla2x00_do_dpc(void *data)*/ ha->dpc_active =0 ; -/* Cleanup any residual CTX SRBs. */ -qla2x00_abort_all_cmds (base_vha,DID_NO_CONNECT <<16 ); -return 0 ; }
Signature · 1 line
2.23.1
Nilesh Javali
maintainerPATCH 3/7 qla2xxx: Move FCE Trace buffer allocation to user control
In reply to Nilesh JavaliFrom: Quinn Tran <[email protected]>
Currently FCE Tracing is enabled to
log additional ELS events. Instead, user will
enable or disable this feature through debug FS.
Modify existing DFS knob to allow user to
enable or disable this feature.
echo [1 | 0] > /sys/kernel/debug/qla2xxx/qla2xxx_??/fce cat /sys/kernel/debug/qla2xxx/qla2xxx_??/fce
--- drivers/scsi/qla2xxx/qla_def.h | 2 + drivers/scsi/qla2xxx/qla_dfs.c | 124 ++++++++++++++++++++++++++------ drivers/scsi/qla2xxx/qla_gbl.h | 3 + drivers/scsi/qla2xxx/qla_init.c | 28 +++++--- 4 files changed, 126 insertions(+), 31 deletions(-)
drivers/scsi/qla2xxx/qla_def.h +2 -0
@@ -4098,6 +4098,8 @@ struct qla_hw_data { uint32_t npiv_supported :1; uint32_t pci_channel_io_perm_failure :1; uint32_t fce_enabled :1; + uint32_t user_enabled_fce :1; + uint32_t fce_dump_buf_alloced :1; uint32_t fac_supported :1; uint32_t chip_reset_done :1;
drivers/scsi/qla2xxx/qla_dfs.c +102 -22
154 lines not on this page · raw message
drivers/scsi/qla2xxx/qla_gbl.h +3 -0
@@ -11,6 +11,9 @@/* * Global Function Prototypes in qla_init.c source file. */ +int qla2x00_alloc_fce_trace (scsi_qla_host_t *); +void qla2x00_free_fce_trace (struct qla_hw_data *ha); +void qla_enable_fce_trace (scsi_qla_host_t *);extern int qla2x00_initialize_adapter (scsi_qla_host_t *);extern int qla24xx_post_prli_work (struct scsi_qla_host *vha,fc_port_t *fcport);
drivers/scsi/qla2xxx/qla_init.c +19 -9
@@ -2681,7 +2681,7 @@ qla83xx_nic_core_fw_load(scsi_qla_host_t *vha)return rval; } -static void qla_enable_fce_trace (scsi_qla_host_t *vha) +void qla_enable_fce_trace (scsi_qla_host_t *vha) {int rval;struct qla_hw_data *ha = vha->hw;
@@ -3717,25 +3717,24 @@ qla24xx_chip_diag(scsi_qla_host_t *vha)return rval; } -static void -qla2x00_alloc_fce_trace (scsi_qla_host_t *vha) +int qla2x00_alloc_fce_trace (scsi_qla_host_t *vha) {dma_addr_t tc_dma;void *tc;struct qla_hw_data *ha = vha->hw;if (!IS_FWI2_CAPABLE (ha)) -return ; +return -EINVAL ;if (!IS_QLA25XX (ha) && !IS_QLA81XX (ha) && !IS_QLA83XX (ha) && !IS_QLA27XX (ha) && !IS_QLA28XX (ha)) -return ; +return -EINVAL ;if (ha->fce) {ql_dbg (ql_dbg_init, vha,0x00bd ,"%s: FCE Mem is already allocated.\n" , __func__); -return ; +return -EIO ; }/* Allocate memory for Fibre Channel Event Buffer. */
@@ -3745,7 +3744,7 @@ qla2x00_alloc_fce_trace(scsi_qla_host_t *vha)ql_log (ql_log_warn, vha,0x00be ,"Unable to allocate (%d KB) for FCE.\n" ,FCE_SIZE /1024 ); -return ; +return -ENOMEM ; } ql_dbg(ql_dbg_init, vha, 0x00c0,
@@ -3754,6 +3753,16 @@ qla2x00_alloc_fce_trace(scsi_qla_host_t *vha) ha->fce_dma = tc_dma; ha->fce = tc; ha->fce_bufs =FCE_NUM_BUFFERS ; +return 0 ; +} + +void qla2x00_free_fce_trace (struct qla_hw_data *ha) +{ +if (!ha->fce) +return ; +dma_free_coherent (&ha->pdev->dev,FCE_SIZE , ha->fce, ha->fce_dma); + ha->fce =NULL ; + ha->fce_dma =0 ; } static void
@@ -3844,9 +3853,10 @@ qla2x00_alloc_fw_dump(scsi_qla_host_t *vha)if (ha->tgt.atio_ring) mq_size += ha->tgt.atio_q_length *sizeof (request_t); -qla2x00_alloc_fce_trace (vha); -if (ha->fce) +if (ha->fce) { fce_size =sizeof (struct qla2xxx_fce_chain ) +FCE_SIZE ; + ha->flags.fce_dump_buf_alloced =1 ; + }qla2x00_alloc_eft_trace (vha);if (ha->eft) eft_size =EFT_SIZE ;
Signature · 1 line
2.23.1
Nilesh Javali
maintainerPATCH 4/7 qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt.
In reply to Nilesh JavaliFrom: Saurav Kashyap <[email protected]>
Firmware supports multiple sg_cnt for request and response for CT commands, so remove the redundant check. A check is there where sg_cnt for request and response should be same. This is not required as driver and FW have code to handle multiple and different sg_cnt on request and response.
--- drivers/scsi/qla2xxx/qla_bsg.c | 10 ---------- 1 file changed, 10 deletions(-)
drivers/scsi/qla2xxx/qla_bsg.c +0 -10
@@ -494,16 +494,6 @@ qla2x00_process_ct(struct bsg_job *bsg_job) goto done; } -if ((req_sg_cnt != bsg_job->request_payload.sg_cnt) || - (rsp_sg_cnt != bsg_job->reply_payload.sg_cnt)) { -ql_log (ql_log_warn, vha,0x7011 , -"request_sg_cnt: %x dma_request_sg_cnt: %x reply_sg_cnt:%x " -"dma_reply_sg_cnt: %x\n" , bsg_job->request_payload.sg_cnt, - req_sg_cnt, bsg_job->reply_payload.sg_cnt, rsp_sg_cnt); - rval = -EAGAIN ; - goto done_unmap_sg; - } -if (!vha->flags.online) {ql_log (ql_log_warn, vha,0x7012 ,"Host is not online.\n" );
Signature · 1 line
2.23.1
Nilesh Javali
maintainerPATCH 5/7 qla2xxx: Fix NVME and NPIV connect issue
In reply to Nilesh JavaliFrom: Quinn Tran <[email protected]>
NVME controller fails to send connect command due to failure to locate hw context buffer for NVME queue 0 (blk_mq_hw_ctx, hctx_idx=0). The cause of the issue is NPIV host did not initialize the vha->irq_offset field. This field is given to blk-mq (blk_mq_pci_map_queues) to help locate the beginning of IO Queues which in turn help locate NVME queue 0.
Initialize this field to allow NVME to work properly with NPIV host.
kernel: nvme nvme5: Connect command failed, errno: -18
kernel: nvme nvme5: qid 0: secure concatenation is not supported
kernel: nvme nvme5: NVME-FC{5}: create_assoc failed, assoc_id 2e9100 ret 401
kernel: nvme nvme5: NVME-FC{5}: reset: Reconnect attempt failed (401)
kernel: nvme nvme5: NVME-FC{5}: Reconnect attempt in 2 seconds
--- drivers/scsi/qla2xxx/qla_mid.c | 1 + 1 file changed, 1 insertion(+)
drivers/scsi/qla2xxx/qla_mid.c +1 -0
@@ -506,6 +506,7 @@ qla24xx_create_vhost(struct fc_vport *fc_vport)return (NULL ); } + vha->irq_offset =QLA_BASE_VECTORS ; host = vha->host; fc_vport->dd_data = vha;/* New host info */
Signature · 1 line
2.23.1
Nilesh Javali
maintainerPATCH 6/7 qla2xxx: Supported speed displayed incorrectly for VPorts
In reply to Nilesh JavaliFrom: Anil Gurumurthy <[email protected]>
The fc_function_template for vports was missing the .show_host_supported_speeds. The base port had the same.
Add .show_host_supported_speeds to the vport template as well.
--- drivers/scsi/qla2xxx/qla_attr.c | 1 + 1 file changed, 1 insertion(+)
drivers/scsi/qla2xxx/qla_attr.c +1 -0
@@ -3304,6 +3304,7 @@ struct fc_function_template qla2xxx_transport_vport_functions = { .show_host_node_name = 1, .show_host_port_name = 1, .show_host_supported_classes = 1, + .show_host_supported_speeds = 1, .get_host_port_id = qla2x00_get_host_port_id, .show_host_port_id = 1,
Signature · 1 line
2.23.1
Nilesh Javali
maintainerPATCH 7/7 qla2xxx: Update version to 10.02.09.400-k
In reply to Nilesh Javali--- drivers/scsi/qla2xxx/qla_version.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/qla2xxx/qla_version.h +2 -2
@@ -6,9 +6,9 @@/* * Driver version */ -#define QLA2XXX_VERSION "10.02.09.300-k" +#define QLA2XXX_VERSION "10.02.09.400-k"#define QLA_DRIVER_MAJOR_VER 10#define QLA_DRIVER_MINOR_VER 2#define QLA_DRIVER_PATCH_VER 9 -#define QLA_DRIVER_BETA_VER 300 +#define QLA_DRIVER_BETA_VER 400
Signature · 1 line
2.23.1
Quoted 35 lines · Nilesh Javali
Martin,
Please apply the qla2xxx driver miscellaneous bug fixes to the scsi tree at your earliest convenience.
Thanks,
NileshAnil Gurumurthy (1):
qla2xxx: Supported speed displayed incorrectly for VPortsNilesh Javali (1):
qla2xxx: Update version to 10.02.09.400-kQuinn Tran (4):
qla2xxx: fix abort in bsg timeout
qla2xxx: Fix use after free on unload
qla2xxx: Move FCE Trace buffer allocation to user control
qla2xxx: Fix NVME and NPIV connect issueSaurav Kashyap (1):
qla2xxx: Remove checkreq_sg_cntshould be equal torsp_sg_cnt.drivers/scsi/qla2xxx/qla_attr.c | 1 + drivers/scsi/qla2xxx/qla_bsg.c | 124 +++++++++++++++++++++-------- drivers/scsi/qla2xxx/qla_def.h | 2 + drivers/scsi/qla2xxx/qla_dfs.c | 124 ++++++++++++++++++++++++----- drivers/scsi/qla2xxx/qla_gbl.h | 3 + drivers/scsi/qla2xxx/qla_init.c | 28 ++++--- drivers/scsi/qla2xxx/qla_mid.c | 1 + drivers/scsi/qla2xxx/qla_os.c | 15 ++-- drivers/scsi/qla2xxx/qla_version.h | 4 +- 9 files changed, 230 insertions(+), 72 deletions(-)
Quoted 1 line
base-commit:
359aeb86480da0cba043a79c87a65806f158e931
For the series,
Signature · 1 line
Himanshu Madhani Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 9 lines · Nilesh Javali
Martin,
Please apply the qla2xxx driver miscellaneous bug fixes to the scsi tree at your earliest convenience.
Thanks,
Nilesh[...]
Applied to 6.13/scsi-fixes, thanks!
[1/7] qla2xxx: fix abort in bsg timeout
https://git.kernel.org/mkp/scsi/c/c423263082ee [2/7] qla2xxx: Fix use after free on unload https://git.kernel.org/mkp/scsi/c/07c903db0a2f [3/7] qla2xxx: Move FCE Trace buffer allocation to user control Feature, queued for 6.14. [4/7] qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt. https://git.kernel.org/mkp/scsi/c/833c70e212fc [5/7] qla2xxx: Fix NVME and NPIV connect issue https://git.kernel.org/mkp/scsi/c/4812b7796c14 [6/7] qla2xxx: Supported speed displayed incorrectly for VPorts https://git.kernel.org/mkp/scsi/c/e4e268f898c8 [7/7] qla2xxx: Update version to 10.02.09.400-k https://git.kernel.org/mkp/scsi/c/35002a8ec557
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering