Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp777411rwi; Thu, 13 Oct 2022 05:15:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5yBakQKtxb69hYTMYqBzPaLdzL2dYu7UHxcnxprTDLzmr5fSxZ6FXYVnBF2ejbsIdqdQ6S X-Received: by 2002:a05:6402:2547:b0:459:1752:2a97 with SMTP id l7-20020a056402254700b0045917522a97mr31775070edb.323.1665663310164; Thu, 13 Oct 2022 05:15:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665663310; cv=none; d=google.com; s=arc-20160816; b=aQZ/IuRA0nxGIDkyruLruCDaasBNEjW0WJF/IFeoaVqNvvdmkApgwYssSpCR8G97Dq t8W61DYMn0esdTUyNwZ0yGmjJqT8sgGtLJ+ivtk+B8su+S+HPKPHbMAabeWVJp8f+SWs PBmEyi30/C+DuAoQ0usU7HHdWIu3/L9Sns80ILmZWseZPhVQ3jYvRxYh3jB2M4d/MFzD +S2YdWaedorWkyfDKMtCv9rRnHsmvdx7o+XkbuBBDemTMWOFk084A1+eOxod6pPccZTG rU7B7vjZK5SJJGGCPtEF25Q+ZmJqyEfhI2+/Gn/AyfYvFARrBlHdpypnK12yqZnnBpte 4Kuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=fBL2ugTdU6bR0J59qTCJMS8/Y4g/sqBnGoNZZfoa3gQ=; b=PibwoqpgwQk8t4U1HzlTdg8BVlQMOgnfzTk5z1nGMLKBbcsZkY2kTa7pTqPIvscrUy EP8x8i2q4CKQttSoDHRLTcNcVd90YJe+gvj2GdyEBpYXlnuCEYCB6Ap6yleLN+haeA88 f2Jxqm1VKuqZZQAJ3Huo4wm5SgM4AyJZAnMNartsRak3AgqucCk9A//o4I+ddQkjCTix dD6U1skoPGXMWHAxthlrMNR/0pIjBlyjrbrusuJzrYO+kEuVTvoi8M/6Jd0LjLU8YC8Z wj6G1UIy85eQkT92lu1Ci4YdlpOiPi2Zh+s9fcyTRj6lOWrLEtOqat2GwzQW5hCX+nfM x4jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b="B1A+LoT/"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=NtlfpF1T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg5-20020a1709072cc500b00780636a4a58si1035164ejc.626.2022.10.13.05.14.41; Thu, 13 Oct 2022 05:15:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b="B1A+LoT/"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=NtlfpF1T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229699AbiJMMLO (ORCPT + 99 others); Thu, 13 Oct 2022 08:11:14 -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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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