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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F63EC433F5 for ; Wed, 13 Oct 2021 13:25:05 +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 1BB4960C40 for ; Wed, 13 Oct 2021 13:25:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1BB4960C40 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2ShlyVfRBXrDXIl938fSBCHzNPkZ0F+PLosJ0jbq57E=; b=a8awPt0JJ5+CTh rjv13mtkj1CD2xDeA5qq7v0nX2vYfi/FUywp6sEEJ4YaCjttKUtIYTcuG8CqGuw3rNDmfRECABApL MY3zli/oifujbzZhKH6/vGRX49kaWzyLAx09bgriBZZLicui9pMpdP74SIlASRR8I0ijb6XRXL0hg RVFCcnBAGNkGu81gUZDmQ6vsi7dR1VeItZYQSHEPA6GRJZG9JB8pH9nxHtplRsmou26VALRxSwtxq 0QlnZqBUABYvitDhCRY8mKKugoVja4jXBSvG4wj6n+or1MXA7oE8E21kdFuM6Xw4DWMU9quB/Y1gc DAQ3bwNHONb+0jJQyucQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1maeDQ-00GrcG-BA; Wed, 13 Oct 2021 13:22:41 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1madr5-00Gj6z-J1; Wed, 13 Oct 2021 12:59:37 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id CABF2580FE1; Wed, 13 Oct 2021 08:59:34 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 13 Oct 2021 08:59:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm1; bh= 7ADouUXy2EOCuLTfkeoi07/lcc+shosq3x53UUrurao=; b=lSCcgqFNa6fg9sG+ aa84hq8HxkSS7qkOfgTl2zvK2Rv0RmKY57KpzO3/xNl5zP8DauTqSWVnQWT1einm 5gbuQqBDVjWh+lGU9w5qOyiIu/H53qYrdXgtNzX0BqR4940sODU+XZ+8c/k0Nzkw 9nNnoYi/rbwfyrf8TWNrzTCjKFFZpFd7kIihlFL0XFcmFPYhr9unAU33KXgIsO/K /UpOkTNb1W+LorrLOn+0Qm3bofZAn+bbdzBRJ+KB+v88BIlcPwnAcPslmacVT53F 7xen2s5jnMKWFGQLZRUFAYMszQEzfwFrHT1U6J+3RPcV/gjiBmfm0yjOpo0rHqv/ WV493w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=7ADouUXy2EOCuLTfkeoi07/lcc+shosq3x53UUrur ao=; b=U5o8PCmwvo7sX6L7mncaOEBSVrtoIHqwlTlq9bAKcanaJrbtFuqUp1auu MCoGXbD1Suwu8jcYLBRYjnouEv0hl5msEMZyfHwBHnLi+02cHgniFoe6rJV6U/pk Sui6dvFGhC+1R3L4Z4UI8o+HULXO9XZDgEPxXOYY3D/PVzpDLCx4LYUxuz23hzpe ym008AvRsNCxIiu4RH+QMfObthSdj0DVfKIF0pJYKWuBAXg51r14mMGUqMwgF3XG u7zr1Y0TLJBQxkr6zzm6ybjooWNwWWR8mmHYoljqknT10O1b8OzrP26hOhBMWdEM p/nMujULSO0AgTTlmSYxHXERHWmeg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddutddgheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfgggtgfesthekredtredtjeenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeejuefggeekfffgueevtddvudffhfejffejjedvvdduudethefhfefhfeeg ieekkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Oct 2021 08:59:34 -0400 (EDT) From: Maxime Ripard To: Maxime Ripard , Maarten Lankhorst , David Airlie , Daniel Vetter , Thomas Zimmermann Cc: Linus Torvalds , linux-rpi-kernel@lists.infradead.org, Florian Fainelli , Mike Turquette , Michael Stapelberg , Nicolas Saenz Julienne , Dave Stevenson , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephen Boyd Subject: Re: (subset) [PATCH 4/5] drm/vc4: hdmi: Move the HSM clock enable to runtime_pm Date: Wed, 13 Oct 2021 14:59:24 +0200 Message-Id: <163412979204.237205.12467000827023929362.b4-ty@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210922125419.4125779-5-maxime@cerno.tech> References: <20210922125419.4125779-1-maxime@cerno.tech> <20210922125419.4125779-5-maxime@cerno.tech> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211013_055935_790336_B7F12AC6 X-CRM114-Status: UNSURE ( 8.38 ) X-CRM114-Notice: Please train this message. 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 Wed, 22 Sep 2021 14:54:18 +0200, Maxime Ripard wrote: > In order to access the HDMI controller, we need to make sure the HSM > clock is enabled. If we were to access it with the clock disabled, the > CPU would completely hang, resulting in an hard crash. > > Since we have different code path that would require it, let's move that > clock enable / disable to runtime_pm that will take care of the > reference counting for us. > > [...] Applied to drm/drm-misc (drm-misc-fixes). Thanks! Maxime _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel