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 D08E7C001DE for ; Wed, 19 Jul 2023 06:54:11 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=q42zOg8wRfSs0QynkcMn+cwca3+7OG4sHPQjflHQB7M=; b=qheGE3nVr2b7pD RwE9TsGulDSZTgFg3fvw7r/w4Hbjqbhhn0bK9CFQjSfZXUICk3ES02XqsOhXx1FXKTYDoJ3tHo9n4 nD/HvRPRGP0mYoN1r4TgNNkz/mKuwpFq3F2aWmmiai0mwU3zroI8TKSgnKovlQYLK7QuDBkWm9SKr rPPHttoTFEkZTWIOJX2iMH4Otbi8J3MKeMs/ft/bHWBuIMaAfREgjRZbsMUDtw9TThDZV4VWNfe6/ GySdTlVOfq8Sk3nwldVL9MkEmiG3H17aTI0LDbpY42iP0UHH0oTLqZoWGhZ/lzFrmrzHyNZPER5of 7aCD+MEvfKvc/ReOdZeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM14L-005xEr-0P; Wed, 19 Jul 2023 06:53:53 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qM14B-005x9J-0A for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Jul 2023 06:53:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=6PQZ9V95E4OAbf755vAvRHmGcnIKE9b9APhSo6eWwq0=; b=dijaH0fgNg7RpPzhLGIYpbuUN5 Orbg0Wg7iYwn8PXlZKySp8c12Ug7EZAQ/c1d8l+jDM4gTXRGAYGpYStpD/BKFwKyhp3psKqv7mbDs t7MpbNlewRNUWjJJ8A9/9N+sVYfcGsZwAQsl5dxJxG1G3LqrkEYrtweGPcCN6YU8POjMVyZcGIwci LplFWIfjpeK89H9EddPiBs10ibMkNfO4Pj1NdgNcovN+rcf4VHAIBBPWRmmYhGN83p1fJsxrCZaFc nBK0T9CMBWJqVLH6xUTkgdZ8NWMnvc/QjurlQvOKGAo4u9VWuoMtX9LEd2Wbg4V2Eat8xCigRKF1F m3xXuJ+g==; Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLeha-00BF66-0u for linux-arm-kernel@lists.infradead.org; Tue, 18 Jul 2023 07:00:56 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9C00F614A0; Tue, 18 Jul 2023 07:00:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AC00C433CD; Tue, 18 Jul 2023 07:00:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689663616; bh=gtpCGK3NdoDzd4L9r0EM3s0gnVBX2PCDZgd8CXsE4TE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vPY6znyQALP8bhhZoJVBGeWVSC2Zn8vZ4THlPXKOQC21cb8vldEsn9g6EAUCE30qb 5yNUzl3BxB0suk+wTMlYgYK3d2tGdvBxcpWo5lZZYpup5CAkJ58m/Ss5DmQkXlTdPI WbcRmWswgSZWVltaF1bcubFRfGAqQIRttxu2DLbRk9EFKoo0TWAX44ncBeuJkkNBQf PTx5/cfL9UMMZT/tok+GEvEiea18OgtpDbvOn56Uh86my+lvIrMivdOr5lVuoreaZS k5bEx1qPioPzD1SHuzT3M5lz+MS1AtvOwdwHlyQoWiIJ6hbLyRVjohgWpPcEpNusWO ffomiIXQNo9zg== Date: Tue, 18 Jul 2023 15:00:07 +0800 From: Shawn Guo To: Alexander Stein Cc: Sascha Hauer , Fabio Estevam , Peng Fan , Pengutronix Kernel Team , NXP Linux Team , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/1] soc: imx: imx93-blk-ctrl: Add dedicated lockdep class for nested genpd locks Message-ID: <20230718070007.GO9559@dragon> References: <20230706074629.3527654-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230706074629.3527654-1-alexander.stein@ew.tq-group.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230718_080054_566765_B4BCE62B X-CRM114-Status: GOOD ( 10.02 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jul 06, 2023 at 09:46:29AM +0200, Alexander Stein wrote: > This is the same approach as being used within imx8mp-blk-ctrl. This fixes > the lockdep warning about 'possible recursive locking detected' with the > following (reduced) backtrace: > genpd_lock_mtx+0x14/0x1c > genpd_runtime_resume+0x108/0x308 > __rpm_callback+0x44/0x19c > rpm_callback+0x64/0x70 > rpm_resume+0x438/0x6d8 > __pm_runtime_resume+0x54/0xb0 > imx93_blk_ctrl_power_on+0x100/0x294 > _genpd_power_on+0x8c/0x16c > genpd_power_on.part.0+0xa0/0x1a0 > __genpd_dev_pm_attach+0x14c/0x2e4 > genpd_dev_pm_attach+0x58/0x64 > dev_pm_domain_attach+0x1c/0x2c > > Signed-off-by: Alexander Stein Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel