From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Date: Sat, 01 Jul 2017 21:09:45 +0000 Subject: Re: [PATCH 1/2] scsi: lpfc: spin_lock_irq() is not nestable Message-Id: List-Id: References: <20170630080250.mjbosf64qlytrsii@mwanda> In-Reply-To: <20170630080250.mjbosf64qlytrsii@mwanda> (Dan Carpenter's message of "Fri, 30 Jun 2017 11:02:51 +0300") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Dan, > We're calling spin_lock_irq() multiple times, the problem is that on > the first spin_unlock_irq() then we will re-enable IRQs and we don't > want that. Applied to 4.13/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH 1/2] scsi: lpfc: spin_lock_irq() is not nestable Date: Sat, 01 Jul 2017 17:09:45 -0400 Message-ID: References: <20170630080250.mjbosf64qlytrsii@mwanda> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20170630080250.mjbosf64qlytrsii@mwanda> (Dan Carpenter's message of "Fri, 30 Jun 2017 11:02:51 +0300") Sender: linux-kernel-owner@vger.kernel.org To: Dan Carpenter Cc: James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org List-Id: linux-scsi@vger.kernel.org Dan, > We're calling spin_lock_irq() multiple times, the problem is that on > the first spin_unlock_irq() then we will re-enable IRQs and we don't > want that. Applied to 4.13/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering