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 C88EFC77B73 for ; Sun, 30 Apr 2023 07:07:29 +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: 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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Y6Mu6cM/yp11uGsglwQidEf6GfFC7mLn5DJYWNgnjqI=; b=CmFeDXy5UOKZgBLMe+9PZRHP2I YG6LBmArUPHW1w2BZ22Esep965nE5bJbeehc8MmZTt/1iyDO5Ies27ero49JfhJA3ao3acFh2SAE3 T87lDgDpyQyuyJ7V+erQF/g1Ga3Mwu/h1FUm/8pvaFCCZIWJTltg8A0dga3oWfOea4NVjylCWi+V9 aCRuZ0lkYEabPtA3VxfuZUfqwq6o9MCqXizp63StHDG1T3wi0xpAJmLHeG09FYyTyUg02sea7AsP+ RXiqyhaAmoWqQw4N3hEufaiVn6KxKI5X2ut66JTZDICG63ThGnACOgnL3QAumGcO1OU5jwks74o7W wURhS//A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pt18M-00DhDN-07; Sun, 30 Apr 2023 07:06:10 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pt18F-00DhCo-1J for linux-arm-kernel@lists.infradead.org; Sun, 30 Apr 2023 07:06:07 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 783EE61032; Sun, 30 Apr 2023 07:06:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44334C433EF; Sun, 30 Apr 2023 07:05:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682838360; bh=nG03ZamBT2oRAqwOft9tIDjMEkOdLhGVnWdGCxwgdRs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VZrMtNX9u1uJcw5MzqcGkTp/yaBXacMDOtLb/kZrs/OY4hA3Ip9PgnYkVc7R9WTZB b0rPz8SksH6ZH6MI9uUDJ+pqV+MkkawkubS2YHMwAsw/Nd/bH+W2Ou1oNdmIo21jM/ zdA6glIpK2ExayWcszoeHBtpck2Juz1T+2nIKUYF4C4dVkiQngyufoG4QJeaNmxHLO JHzVytPBD/kGVPBir8YTVS+kuILcRAT5QLQJmRyxXI+4aUOthRGo102qgDtE0HYiNn whWuSaf2v4EksGJzJgvYFTn8QNaFZkPM+zecpnBVWzqfRpW55oSU1FAyOZKefsYDmc tDL790jpryFtA== Date: Sun, 30 Apr 2023 09:05:55 +0200 From: Wolfram Sang To: Alexander Stein Cc: Marc Kleine-Budde , NXP Linux Team , "A. Sverdlin" , Dong Aisheng , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] i2c: lpi2c: cache peripheral clock rate Message-ID: Mail-Followup-To: Wolfram Sang , Alexander Stein , Marc Kleine-Budde , NXP Linux Team , "A. Sverdlin" , Dong Aisheng , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230310130815.562418-1-alexander.sverdlin@siemens.com> <9272339.EvYhyI6sBW@steina-w> <20230421-kinfolk-glancing-e185fd9c47b4-mkl@pengutronix.de> <4797405.GXAFRqVoOG@steina-w> MIME-Version: 1.0 In-Reply-To: <4797405.GXAFRqVoOG@steina-w> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230430_000603_545426_9FC63453 X-CRM114-Status: GOOD ( 11.97 ) 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: multipart/mixed; boundary="===============5080030150651156791==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5080030150651156791== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0V48hNfsy+qdyek6" Content-Disposition: inline --0V48hNfsy+qdyek6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > IIRC this is a general problem^w limitation of the clock framework, > > clock providers cannot use clocks themselves in certain callback, e.g. > > set_rate. >=20 > Well, that's essentially impossible when this clock provider is attached = via=20 > i2c. i2c transfers potentially need to change or prepare clocks. So, as I get it, this is not a specific lpi2c problem but affecting any I2C controller driver which uses get_rate() to setup a transfer to a remote I2C clock provider? And this lockdep warning is a false-positive? --0V48hNfsy+qdyek6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmROE1MACgkQFA3kzBSg KbY9IhAAgLo8PSbFxem7+yW32eqHDssVomd/c07FPtFDLUi2XW1n/roLDv0Q1BWa NXHyl6RkiW8k25kzh2Q9nMLKvF6NnZKn/yynAIZnAKPK2Yly0V6oPAjA5Wlbovr5 q18FajnSElq9MZBXgmQSUrI/YtuFpDTxSYUgv6yWKqYMt4Z4u05qbcncNe/CTPH9 7MsV+PXRozwQbA2AHZWSFRY6vVTFISFtflf8BSP6JI3WOynUquZCeEzbSDQ/1Q7d Uw0dolCi3oQTS/7z82fZsHHfeZlyg0q+kaBC7NyHtGUhNF0LdrriJtLkzog5AS8H 3QBa8UvborMCh1ytGb6nU+m1SmnUzYTXkKhz+gScGYuV6puq5BJBC3zj8rFQsyqP Iz7AoDPTsHtWffVsz1CsakqC0ioXxgD2T7SSMMXKugI7Gt99feVx1Ojgu+AT7fCE Q+Yi+XiXggjvlnTwg6YP0HtC07JN8v4z+4/WeOANcTT3ZausYyxoUmj6YUE3eJXv M4jVjGecVKfhdblXpplgG7W6zU3pEcJ6FMBWkwT3/vu7dUtAcZFbdIrMmC3HlrvP PPaGllJEqlgbFCJUU4BDjF7TQ1yY204FRmNIm+nfSOqMcrTkNMF/jo9/j6FGrz4O YSeQR7br6xCfGO+yxCEetsB1BWvQc6Ebw+xgX4N3uYSekN/HhyM= =YJB/ -----END PGP SIGNATURE----- --0V48hNfsy+qdyek6-- --===============5080030150651156791== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5080030150651156791==--