From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e19.ny.us.ibm.com (e19.ny.us.ibm.com [129.33.205.209]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 8EA611A026C for ; Fri, 23 Oct 2015 04:34:21 +1100 (AEDT) Received: from localhost by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 22 Oct 2015 13:34:19 -0400 Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id A96A738C803B for ; Thu, 22 Oct 2015 13:34:15 -0400 (EDT) Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t9MHYFOC54591540 for ; Thu, 22 Oct 2015 17:34:15 GMT Received: from d01av02.pok.ibm.com (localhost [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t9MHYE69017365 for ; Thu, 22 Oct 2015 13:34:15 -0400 Reply-To: manoj@linux.vnet.ibm.com Subject: Re: [PATCH v6 36/37] cxlflash: Fix to avoid lock instrumentation rejection References: <1445458134-63197-1-git-send-email-mrochs@linux.vnet.ibm.com> <1445458584-63347-1-git-send-email-mrochs@linux.vnet.ibm.com> To: "Matthew R. Ochs" , linux-scsi@vger.kernel.org, James Bottomley , "Nicholas A. Bellinger" , Brian King , Ian Munsie , Daniel Axtens , Andrew Donnellan , Tomas Henzl , David Laight Cc: Michael Neuling , linuxppc-dev@lists.ozlabs.org From: Manoj Kumar Message-ID: <56291E23.6010406@linux.vnet.ibm.com> Date: Thu, 22 Oct 2015 12:34:27 -0500 MIME-Version: 1.0 In-Reply-To: <1445458584-63347-1-git-send-email-mrochs@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Acked-by: Manoj Kumar On 10/21/2015 3:16 PM, Matthew R. Ochs wrote: > When running with lock instrumentation (e.g. lockdep), some of the > instrumentation can become disabled at probe time for a cxlflash > adapter. This is due to a missing lock registration for the tmf_slock. > > The fix is to call spin_lock_init() for the tmf_slock during probe.