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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FD9BC433FE for ; Thu, 13 Oct 2022 12:11:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229511AbiJMMLP (ORCPT ); Thu, 13 Oct 2022 08:11:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbiJMMLJ (ORCPT ); Thu, 13 Oct 2022 08:11:09 -0400 Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC7FEF87DD for ; Thu, 13 Oct 2022 05:11:08 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 5264B58020F; Thu, 13 Oct 2022 08:11:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 13 Oct 2022 08:11:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1665663068; x= 1665670268; bh=fBL2ugTdU6bR0J59qTCJMS8/Y4g/sqBnGoNZZfoa3gQ=; b=B 1A+LoT/3W4lXQlbkjZvhnOkPnrHex+kscyu//5aAJUzeACq2EduseagSCOCDWGW+ 39mbfXCIMtkvgLOdetM3Ap8d+sIzIo3HpJhv9PwdhQv3Ms7GqT1dIf6TuBl3FpWP 8xlSKu54rK022k2vR7tzuIaNwRN+fXrLhU0HJbz/eiUarkkf9VisfBsKIt8lJcQm xHwMVZoO0+si8stYlmrNz+Ctbm8m0vEfF7xTZwup2YtdLp/IFeT/95dl+/0ftD+z CUEriZC2sUSn3ExIPb0ZRiJqRIPDE2KG/g0M8XWCgH9AeJIDe38BDwHBZrx1e+Y5 utYcEoqY+rHXpoOYaFlsA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1665663068; x= 1665670268; bh=fBL2ugTdU6bR0J59qTCJMS8/Y4g/sqBnGoNZZfoa3gQ=; b=N tlfpF1TGEMfqY422maYA7yk1G9AiOIX0H6utBOG/J1L7CTuYan0XGtKGMHb1r6Qm RrPUOXGgpDIfSv8Ti76Pj4QvfCBoIy4T2l079+iq38vDclsyWyrmAfTx8Mxsj8Xx n8MioK+G/jWnu8M83cb8YchL0/MDMlMKKImQn9eOPOmycwc/aE0frRwHWghT3bdA ubqPwNGxdKkfE9pP6KIy2Vs6Nx4su1EWZTZ4wob9+VETx+jkQ++ptsnTgr6MGwQv T2hCViqFyK9B5XnEPlG7WxVr0BJALr1SgcComTQ133kB7nOBDyaodYLHyurlbU5M mp2eU8XyHVrVTWu675c5Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeektddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforgig ihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrf grthhtvghrnhepueeigefghfffffeifeehudeiuedvteegueefffevgfetvdffheehkeff vedufeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Oct 2022 08:11:07 -0400 (EDT) From: Maxime Ripard To: Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Maxime Ripard , David Airlie , Daniel Vetter , Emma Anholt Cc: dri-devel@lists.freedesktop.org, Marc Kleine-Budde , Stefan Wahren , linux-kernel@vger.kernel.org Subject: Re: (subset) [PATCH 2/2] drm/vc4: hdmi: Check the HSM rate at runtime_resume Date: Thu, 13 Oct 2022 14:11:01 +0200 Message-Id: <166566305526.1731673.7313352763401370465.b4-ty@cerno.tech> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220929-rpi-pi3-unplugged-fixes-v1-2-cd22e962296c@cerno.tech> References: <20220929-rpi-pi3-unplugged-fixes-v1-0-cd22e962296c@cerno.tech> <20220929-rpi-pi3-unplugged-fixes-v1-2-cd22e962296c@cerno.tech> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 29 Sep 2022 11:21:18 +0200, Maxime Ripard wrote: > If our HSM clock has not been properly initialized, any register access > will silently lock up the system. > > Let's check that this can't happen by adding a check for the rate before > any register access, and error out otherwise. > > > [...] Applied to drm/drm-misc (drm-misc-fixes). Thanks! Maxime