Return-Path: Received: from e23smtp03.au.ibm.com (e23smtp03.au.ibm.com [202.81.31.145]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 23D0F1A0A7C for ; Fri, 23 Oct 2015 14:22:51 +1100 (AEDT) Received: from /spool/local by e23smtp03.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 23 Oct 2015 13:22:48 +1000 Received: from d23relay08.au.ibm.com (d23relay08.au.ibm.com [9.185.71.33]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id 8AA112CE8055 for ; Fri, 23 Oct 2015 14:22:45 +1100 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay08.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t9N3MORx12058762 for ; Fri, 23 Oct 2015 14:22:32 +1100 Received: from d23av04.au.ibm.com (localhost [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t9N3MCXr001275 for ; Fri, 23 Oct 2015 14:22:13 +1100 Message-ID: <5629A7EB.5060207@au1.ibm.com> Date: Fri, 23 Oct 2015 14:22:19 +1100 From: Andrew Donnellan MIME-Version: 1.0 To: "Matthew R. Ochs" , linux-scsi@vger.kernel.org, James Bottomley , "Nicholas A. Bellinger" , Brian King , Ian Munsie , Daniel Axtens , Tomas Henzl , David Laight CC: Michael Neuling , "Manoj N. Kumar" , linuxppc-dev@lists.ozlabs.org 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> In-Reply-To: <1445458584-63347-1-git-send-email-mrochs@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 22/10/15 07:16, 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. > > Signed-off-by: Matthew R. Ochs Reviewed-by: Andrew Donnellan -- Andrew Donnellan Software Engineer, OzLabs andrew.donnellan@au1.ibm.com Australia Development Lab, Canberra +61 2 6201 8874 (work) IBM Australia Limited