On 8/27/2019 6:31 AM, Hannes Reinecke wrote:
On 8/20/19 5:06 AM, Martin K. Petersen wrote:
James,
Update lpfc to revision 12.4.0.0
Applied to 5.4/scsi-queue, thanks!
This update is crashing on my server:
[ 33.178690] general protection fault: 0000 [#1] SMP PTI
[ 33.226638] CPU: 0 PID: 297 Comm: kworker/0:5 Tainted: G E
5.3.0-rc1-default+ #311
[ 33.303342] Hardware name: HP ProLiant DL80 Gen9/ProLiant DL80 Gen9,
BIOS U15 05/21/2018
[ 33.373381] Workqueue: events work_for_cpu_fn
[ 33.410073] RIP: 0010:lpfc_sli4_if6_write_cq_db+0x17/0x40 [lpfc]
Hannes,
try this patch. It appears there was an issue in patch 41:
scsi: lpfc: Merge per-protocol WQ/CQ pairs into single per-cpu pair
commit c00f62e6c5468ed0673c583f1ff284274e817410
-- james
--- a/drivers/scsi/lpfc/lpfc_sli.c 2019-08-23 13:55:18.253546775 -0700
+++ b/drivers/scsi/lpfc_sli.c 2019-08-27 17:04:51.095330056 -0700
@@ -5553,7 +5553,7 @@ lpfc_sli4_arm_cqeq_intr(struct lpfc_hba
for (qidx = 0; qidx < phba->cfg_hdw_queue; qidx++) {
qp = &sli4_hba->hdwq[qidx];
/* ARM the corresponding CQ */
- sli4_hba->sli4_write_cq_db(phba, qp[qidx].io_cq, 0,
+ sli4_hba->sli4_write_cq_db(phba, qp->io_cq, 0,
LPFC_QUEUE_REARM);
}