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 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81F7EC282CC for ; Sun, 10 Feb 2019 21:32:44 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 436202146F for ; Sun, 10 Feb 2019 21:32:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QdisWwVR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 436202146F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject: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=wyDQf3TyiccpWEuYHdN25glESPPiZ5J/3GqaR1aW4R4=; b=QdisWwVRaS7mZaRmLpK9uXknI um7vExV0jmJwDhJCbj594PPdTlqfTHrGTY4m6d8UKl5FaiJDCgdCtqxG5+94RQnSvVePGc5St6ZAe ESSJMphevgLyXBNuZ+B6erf5rJXeGqM+MqjRCAxPvPpx8y9wEpDwpFRrtdORj7qVw9m3nnqpUv+Gm D5tXgn3yfHJH/R9N8skyXs3QJy+c2S6/1oPuggKSNYIVK/f0z7TeZxa8RJ1idECAQFhGTItLxxLcB taHQSwhJeRcXY10fRjVT7gy9U8PY22Zcumo542ff5uKQDShEs9Rt7Ur+VxJ/UBukzbx3h0hD6u2zj L9/HzyZ+Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gswiM-0000Lu-LN; Sun, 10 Feb 2019 21:32:38 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gswiJ-0000LW-5i for linux-arm-kernel@lists.infradead.org; Sun, 10 Feb 2019 21:32:36 +0000 Received: from longitude ([109.90.232.48]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LnkiR-1haVrt3pap-00huCc; Sun, 10 Feb 2019 22:32:23 +0100 Date: Sun, 10 Feb 2019 22:32:21 +0100 From: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= To: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= Subject: Re: sdhci-esdhc-imx/v5.0-rc5: i.MX50 system hangs when "per" clock is disabled Message-ID: <20190210213221.GC2061@latitude> References: <20190207225211.GA17552@latitude> MIME-Version: 1.0 In-Reply-To: <20190207225211.GA17552@latitude> User-Agent: Mutt/1.10.1 (2018-07-13) X-Provags-ID: V03:K1:XAXp9iHbCJQ7mYPC77Hpt85Bjyy367hPYeA+Kn1H0ZN+F868zxh 7uhalFxjTqpXyBtZIZx/HDtdiWWjh930KrB6USs7vHY3XyijCCVwER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yUawdkAyuggmTZCYpqLz08GS3Hb5cJRczR+fmZ2tIyMg4ti8ECfiUQ0YMA9TT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190210_133235_511453_65BA24BD X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulf Hansson , Stephen Boyd , Sascha Hauer , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Adrian Hunter , Michael Turquette , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , Shawn Guo , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============7184002623262560004==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7184002623262560004== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/e2eDi0V/xtL+Mc8" Content-Disposition: inline --/e2eDi0V/xtL+Mc8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 07, 2019 at 11:52:11PM +0100, Jonathan Neusch=C3=A4fer wrote: > However, as soon as the mmc driver (sdhci-esdhc-imx.c) disables clk_per > in sdhci_esdhc_runtime_suspend[2], the whole system locks up in some way. I've traced clk prepare/unprepare/enable/disable calls and got this right before it hangs: [ 1.280981] sdhci_esdhc_runtime_suspend: unprepare clk_per [ 1.283356] clk_core_unprepare esdhc1_per_gate [ 1.285191] clk_core_unprepare esdhc_a_podf [ 1.286881] clk_core_unprepare esdhc_a_pred [ 1.288568] clk_core_unprepare esdhc_a_sel [ 1.290220] clk_core_unprepare pll2_sw I suspect that there is a dependency on pll2_sw that is not represented in the imx5 clock driver. I'm comparing it to the Reference Manual now. Thanks, Jonathan Neusch=C3=A4fer --/e2eDi0V/xtL+Mc8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEvHAHGBBjQPVy+qvDCDBEmo7zX9sFAlxgmF0ACgkQCDBEmo7z X9sINBAApuuzxXq9D6VZLxr0ABlrqGVUN9QMdqizhS4PcNi97B4Ax5J1dDGCXaJN U1J1GwA9WQgC3/khCiP04XAc1qp6/2KkobDFl/IjBNPZRcBS/qeBemePKhAWH9Jh ICqYCbKZCkxpcLD8zFpY4XtzC16fdk5CTeXEJLjb83JcWY+p8KBkLGCl0SQyJuJ5 pHS79Cgw1RhGYS4zF3a8AO8o4Llccl1PdshUlXNOZ4rFS3Ep68A03cBoWI+PWuhU auF0HmYufLhajjeaDFaMv9uzBSM5vylxIsEtKJzxLChgOP5sAwIMGFxyo1sDAab5 A6GovivJ/jtQpK/mVSoHqazyt1226c0LXV2Sg6erImmCUkAzcHPAzRPeRJqqCt0Y IUaLY7jWPQSUMmh+XjMuGUuDuJbuTetb/1TJBK94aAzndMn12fojEDRtOgtvpW3d KaZKj2tk/250uC6q+GvQClF7iZEadl7bmu/QQfEpfMU61qH7IOmw7wrGFueQLelu HDX+GRpoe0qsYdYtFOmsYYj5ocyLRgF/F8ycEyK9Ea+WOr76JS2+ycDkSit8uxcl JiAHh3xMGQz7Mt0sTMdChfg5ee6ruxanfB/SzSeurpBmg4fmdCJmt7JYZbwC3NBI CfjjX/RM10JpwYk4YVxxekG/ZOP+jO9JDIgHWZTIFkHt6oat234= =Ejgh -----END PGP SIGNATURE----- --/e2eDi0V/xtL+Mc8-- --===============7184002623262560004== 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 --===============7184002623262560004==--