From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 48711C43334 for ; Thu, 23 Jun 2022 09:36:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=z9Yr8IlKNKzzpUrBAomRX/bD+TAfiEDgZiNCvxfqzIs=; b=c4nm6EMdxubGig k8J6RYxAejn3nz/YNTOLsJUb2SgiUSQDIJKJzf6zUVH24l79Gg+LzauODshNWkqovtJIt1MVFwSfK LQ91Eo4Wx7cE6dWtO0lMAeRqidkgFmYSG8JMhu595wSdax6hEIN1K7DTYz7YcO0xrqa8mxZKsXo3V mDdvj1SEt3pePc/8uXXiENlz2S4knoIPcyemDkk/3PT339Wdseu9AxUyx+O592pOEz/CvD4CAea9T aoIrjOjSJcVnCQiT8ky9oDhUOBNQsYo1tqrm/bwCsEEvCtCXqDtl7gnkEkdjH9TaEtHTg+fZIrxP0 nbLA+Az7YH4YJzwmmhrw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4JFZ-00ELbV-4f; Thu, 23 Jun 2022 09:35:45 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4JFW-00ELaz-7P for linux-arm-kernel@lists.infradead.org; Thu, 23 Jun 2022 09:35:43 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CC2F812FC; Thu, 23 Jun 2022 02:35:40 -0700 (PDT) Received: from [10.57.84.86] (unknown [10.57.84.86]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 71A403F792; Thu, 23 Jun 2022 02:35:33 -0700 (PDT) Message-ID: <02dcc547-3825-a890-e028-64fc87319d90@arm.com> Date: Thu, 23 Jun 2022 10:35:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v4 0/2] Fix lockdep issues seen in CoreSight configfs interface To: Mike Leach , linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org Cc: mathieu.poirier@linaro.org, leo.yan@linaro.org References: <20220622101621.4312-1-mike.leach@linaro.org> From: Suzuki K Poulose In-Reply-To: <20220622101621.4312-1-mike.leach@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220623_023542_363286_CC6EE8B2 X-CRM114-Status: GOOD ( 11.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Mike Thanks for the rework. It looks good to me. On 22/06/2022 11:16, Mike Leach wrote: > Issues with lockdep possible deadlock scenarios have been reported when using the > coresight configfs interface handling complex configuration, when unloading modules. > > These are due to holding the main configuration mutex during configfs register, but > taking it later when accessing configfs files. > > The patches improve the clean up of configurations and update load and unload of > configurations and initialisation of configfs to fix the locking mechanisms. > > Applies to coresight/next (5.19-rc2) > Tested on DB410c (with patch [0] also applied to fix separate console boot issue). > > Fixes: eb2ec49606c2 ("coresight: syscfg: Update load API for config loadable modules") > Reported-by: Suzuki Poulose > Signed-off-by: Mike Leach Reviewed-and-Tested-by: Suzuki K Poulose _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel