From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752316AbdGAVJ5 (ORCPT ); Sat, 1 Jul 2017 17:09:57 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:47327 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752033AbdGAVJz (ORCPT ); Sat, 1 Jul 2017 17:09:55 -0400 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 Subject: Re: [PATCH 1/2] scsi: lpfc: spin_lock_irq() is not nestable From: "Martin K. Petersen" Organization: Oracle Corporation References: <20170630080250.mjbosf64qlytrsii@mwanda> Date: Sat, 01 Jul 2017 17:09:45 -0400 In-Reply-To: <20170630080250.mjbosf64qlytrsii@mwanda> (Dan Carpenter's message of "Fri, 30 Jun 2017 11:02:51 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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