Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp210248pxk; Wed, 30 Sep 2020 23:50:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJtIA9xDjwMMJhAwvb9IITGxBM72EOAPIRnBQZFdJUzQqJBy7eGNfh06R4S1nqSEZkHTR4 X-Received: by 2002:a17:906:4a44:: with SMTP id a4mr6517600ejv.492.1601535053407; Wed, 30 Sep 2020 23:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601535053; cv=none; d=google.com; s=arc-20160816; b=SgCOja47ynLouCB3RejO9XZs2SNtMWZeabfiV2AHzjz96vXhK+doCTjHNmn9LMLb6l FBP0C7ssjsCIcsUz8tyDekL9bl2/XrjMJAPr2mxUuWY3kh/jToOtBtoZmOyEjtDK4gvl mSX4O55KBAo1wP9KY9tlEih/2WF5oUwOPJ3HWylRdeYhwbS1bBFg254REsaOpVWosIXI yBuiWObOwHUlWGwSDuP0dzNsJ8cwyCDQgg2Oq87+BLpqGlDfjtzBn/T9fLHIwKvuU3/G mO7l1WBE/7MW6SzYHekWmkZoXzTm1ECtfahsRzayD6B7Uh+pHXsq1HThoTRgvppCZB2N nDrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=03y1LiXg1NxtfKztmvM8LbH/TEW6ApaxXsj4nZFsU/Y=; b=CYWQCXIY54VVKyjW0Wmn+8O8nusFuB7yCLUlBd4vz7lpiTxXlS3HfXzxdPFtRD6w25 vuFALhoCsH+B/bM/s1tDbsV5vPy2Xg6QQzg9VyXlu+i3tkEluJZZdB0FY39KnUwCPCpp D3LX8LS/mtB64hETeOwCBNZYsrw5QM3XXTvUFXbMaLPi9nKhz9bTsWvMUoJaQmZZq0Z0 sGe7OT01C6LnTwnkxLnyIF0G4vSt9HgCQwT/KSGgQ4TvnaJRTs4W7LeXYJfMLgTg8bzM st2J4eizeMFkatSibn+zEG/gOLz+ex8qtqi/sEqPTCi0aKuyTIB9TGS16ACtoqEsFXMi TaLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=Y6aYG549; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=pB8oDVlp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo17si2772418ejb.391.2020.09.30.23.50.29; Wed, 30 Sep 2020 23:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=Y6aYG549; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=pB8oDVlp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1725918AbgJAGsu (ORCPT + 99 others); Thu, 1 Oct 2020 02:48:50 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:44195 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbgJAGst (ORCPT ); Thu, 1 Oct 2020 02:48:49 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 4AD475802D5; Thu, 1 Oct 2020 02:48:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 01 Oct 2020 02:48:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm1; bh=0 3y1LiXg1NxtfKztmvM8LbH/TEW6ApaxXsj4nZFsU/Y=; b=Y6aYG549ji3R5bqFH 9av9nW2HMSCqOW8ILmPQ9DO9PADhouU+HCosxcRyU1HWnwE3jH9j4rtqPQwTbi4N XMOYj3HX+92mR8FcGFPnSwyRuGmllsY20Ino3Db+yU4OK1kX7Xr67RMTPjOpoiT6 GOPTELpikQukLTrUiHH9SSAU6cUv9Sf0a0cYsf3noCf9alBTxkQ+qnthn2LskoZ9 phrovTvomvmxoxycrbqvAxw0pILcbOrFeadpS4HXF5j67yW5bjs4tWaZFnKMP5n3 IQIPkCcM6cT1eNFz8KD1iFzMIrDlIEDbRpSSWCwVcNdUHkpnCdyZEODrp+njtsqE vc4Mg== 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=fm3; bh=03y1LiXg1NxtfKztmvM8LbH/TEW6ApaxXsj4nZFsU /Y=; b=pB8oDVlpmy+POTenpKlW1uN3BO1+4klcZcOMsK4VzOVTzE49rektbmX9o VOVLN0aBHQ2bzK156gbjSmLLOfTkR9CZAsih8Gt1HHYcejVQVlLMlXw+C4zfHUvS Ra74bqBvdHOzsYwAjPkptfInPbhd36IP3yD6TiHGZA4uuf2WU9HQLoIqMy264crW 3tv6x3CjwQ8FP+pld68MQ3gQV54/Yt6yIaUAwNpocyA0z6h9+VHxJagqwZ9wyGiQ 6En6BQo3Qj2zfyHq/Na/gBQG66EzkET2jGhnrSg5ieogPRDJeH6ZrMMra3IXEnin bY+zC68/smGmvPtiFmUiFWwC2m8GA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrfeefgdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthhqredttddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpefgjeettdejgffgffdvteeutdehtdehgeehueetkeefgefhtdetjeekledu gedvudenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 5D2D43280063; Thu, 1 Oct 2020 02:48:46 -0400 (EDT) Date: Thu, 1 Oct 2020 08:48:43 +0200 From: Maxime Ripard To: Stefan Wahren Cc: Nathan Chancellor , Nicolas Saenz Julienne , Eric Anholt , Tim Gover , Dave Stevenson , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Hoegeun Kwon , Chanwoo Choi , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Phil Elwell , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v5 80/80] ARM: dts: bcm2711: Enable the display pipeline Message-ID: <20201001064843.dlewcu3b7dvqanyy@gilmour.lan> References: <20200929221526.GA1370981@ubuntu-m3-large-x86> <20200930140758.gummt3umouva3wyu@gilmour.lan> <20200930163823.GA237050@ubuntu-m3-large-x86> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stefan, On Wed, Sep 30, 2020 at 06:52:13PM +0200, Stefan Wahren wrote: > Am 30.09.20 um 18:38 schrieb Nathan Chancellor: > > On Wed, Sep 30, 2020 at 04:07:58PM +0200, Maxime Ripard wrote: > >> Hi Nathan, > >> > >> On Tue, Sep 29, 2020 at 03:15:26PM -0700, Nathan Chancellor wrote: > >>> On Thu, Sep 03, 2020 at 10:01:52AM +0200, Maxime Ripard wrote: > >>>> Now that all the drivers have been adjusted for it, let's bring in t= he > >>>> necessary device tree changes. > >>>> > >>>> The VEC and PV3 are left out for now, since it will require a more s= pecific > >>>> clock setup. > >>>> > >>>> Reviewed-by: Dave Stevenson > >>>> Tested-by: Chanwoo Choi > >>>> Tested-by: Hoegeun Kwon > >>>> Tested-by: Stefan Wahren > >>>> Signed-off-by: Maxime Ripard > >>> Apologies if this has already been reported or have a solution but th= is > >>> patch (and presumably series) breaks output to the serial console aft= er > >>> a certain point during init. On Raspbian, I see systemd startup messa= ges > >>> then the output just turns into complete garbage. It looks like this > >>> patch is merged first in linux-next, which is why my bisect fell on t= he > >>> DRM merge. I am happy to provide whatever information could be helpful > >>> for debugging this. I am on the latest version of the firmware > >>> (currently 26620cc9a63c6cb9965374d509479b4ee2c30241). > >> Unfortunately, the miniUART is in the same clock tree than the core > >> clock and will thus have those kind of issues when the core clock is > >> changed (which is also something that one should expect when using the > >> DRM or other drivers). > >> > >> The only real workaround there would be to switch to one of the PL011 > >> UARTs. I guess we can also somehow make the UART react to the core clo= ck > >> frequency changes, but that's going to require some effort > >> > >> Maxime > > Ack, thank you for the reply! There does not really seem to be a whole > > ton of documentation around using one of the other PL011 UARTs so for > > now, I will just revert this commit locally. >=20 > there was a patch series & discussion about this topic, but we finally > didn't find a rock solid solution. >=20 > You can have a look at "[RFC 5/5] serial: 8250: bcm2835aux: add notifier > to follow clock changes" from 3.4.2019 on linux-rpi-kernel. I couldn't find that discussion on the archive, but based on the title I guess there's some patches that have been merged this cycle for the 8250 driver to do just that (868f3ee6e452 ("serial: 8250: Add 8250 port clock update method") and cc816969d7b5 ("serial: 8250_dw: Fix common clocks usage race condition")). However, I'm not entirely sure the clock notifier works in our case with the firmware / MMIO clocks duality Maxime