Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1176765ybl; Wed, 28 Aug 2019 10:44:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJIzqh1j8yRZGwOYN8ZTJ5nUHjsgb2ChBDDjTlHlrl+Yh84DL1P2EIN1+zhe/GLTY8zqJa X-Received: by 2002:a17:90a:36ad:: with SMTP id t42mr5359045pjb.21.1567014261892; Wed, 28 Aug 2019 10:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567014261; cv=none; d=google.com; s=arc-20160816; b=BWd4FG6RfVVW0/UQZTCkxvnLegVG8dPOX5IQJjUPUPlpjVttXZt/sWQSlZeA9K7tEn uOLwgGNtcK3sKE/GIc3+XT76ICXmtHFFKaeDg8QCpnDDYBGA54GEaFbPOpOy9qUYxer6 55jQIGiOeLlb+fq86DafiisGCpPBfP1XK+dzbiRm5ETr9PoYFr5/sbZm8pGRJmYijkQd hAjaWA++GGDtusL5WzDe+jKa7Mrpn/dERROu1HsMYB05YX3ZJt99VIYXcgbs9IVzaI70 sXPl73nkOsJyyJEb9nLjLFCi/rjWB0pma9mdHL2zeCSy2zA/ssTDbB3P0ADTadyCt1RY EjlQ== 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 :references:in-reply-to:date:cc:to:from:subject:message-id; bh=fGjffl8eru5UIOqJMeHGPmanVswVegTFym/YujabiPk=; b=G6Wc0Y7QSYT7W7mDgfni3pE8LcMEsfqsdY4nXL7MvQ5bFxKO/tyD6IKh0aCkb8EKTL kKaZccrLfvIBH2ll4kkh4XbZ/eUzARlN025y3obf/zZ1ea+K6zoy4tR3ZMs9jLba8vU/ eN8lKl9JgR1BKZCWRmWg9xeHXgfMjwoNPQDrPzJSuy7Kd7wbDNZHX2H3ZcfrP4dbUORY 0TmUKWcTr7G21/A2DYwwDIJLjvVemiWxKSu4vyEQN8WC/1KtZj4hEFoOxVYdMvIv/tuj nUoWFKZxZ21o78T928HupSTc7kYn0yVAq7P81AnftkBxPm+MRA38Q2ozvq+NKmMx7ano 6ciQ== ARC-Authentication-Results: i=1; mx.google.com; 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9si3102434pfn.176.2019.08.28.10.44.05; Wed, 28 Aug 2019 10:44:21 -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; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726663AbfH1RnR (ORCPT + 99 others); Wed, 28 Aug 2019 13:43:17 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:32314 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbfH1RnQ (ORCPT ); Wed, 28 Aug 2019 13:43:16 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7SHbmDR042508; Wed, 28 Aug 2019 13:43:04 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2unuxk5ap3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Aug 2019 13:43:03 -0400 Received: from m0098394.ppops.net (m0098394.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.27/8.16.0.27) with SMTP id x7SHdaVT058445; Wed, 28 Aug 2019 13:43:03 -0400 Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com with ESMTP id 2unuxk5anh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Aug 2019 13:43:03 -0400 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x7SHdUP2030957; Wed, 28 Aug 2019 17:43:02 GMT Received: from b01cxnp22034.gho.pok.ibm.com (b01cxnp22034.gho.pok.ibm.com [9.57.198.24]) by ppma05wdc.us.ibm.com with ESMTP id 2ujvv7799e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Aug 2019 17:43:02 +0000 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x7SHh1iW48103852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Aug 2019 17:43:01 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D9710112063; Wed, 28 Aug 2019 17:43:01 +0000 (GMT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B2DBF112062; Wed, 28 Aug 2019 17:42:56 +0000 (GMT) Received: from [9.85.111.211] (unknown [9.85.111.211]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 28 Aug 2019 17:42:56 +0000 (GMT) Message-ID: <1567014175.5082.6.camel@abdul> Subject: Re: [linux-next][BUG][driver/scsi/lpfc][c00f62e6] Kernel panics when booting next kernel on my Power 9 box From: Abdul Haleem To: James Smart Cc: linuxppc-dev , linux-next , linux-kernel , Stephen Rothwell , sachinp , manvanth , linux-scsi , dick.kennedy@broadcom.com, "Martin K. Petersen" , dougmill , Brian King Date: Wed, 28 Aug 2019 23:12:55 +0530 In-Reply-To: <601365f6-c753-96f6-5d61-481f54d95440@gmail.com> References: <1566968536.23670.9.camel@abdul> <601365f6-c753-96f6-5d61-481f54d95440@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-28_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908280172 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-08-28 at 08:22 -0700, James Smart wrote: > On 8/27/2019 10:02 PM, Abdul Haleem wrote: > > Greetings, > > > > linux-next kernel 5.3.0-rc1 failed to boot with kernel Oops on Power 9 > > box > > > > I see a recent changes to lpfc code was from commit > > 10541f03 scsi: lpfc: Update lpfc version to 12.4.0.0 > > > > Recent boot logs: > > > > [..snip..] > > see https://www.spinics.net/lists/linux-scsi/msg133343.html > > It hasn't been tested yet, but appears to be the issue. Ah, commit c00f62e6 (scsi: lpfc: Merge per-protocol...) is the bad one and Yes the patch fixes it, System booted fine with below code change --- 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); Tested-by: Abdul Haleem -- Regard's Abdul Haleem IBM Linux Technology Centre