Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp580282lqm; Wed, 1 May 2024 09:18:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXaFPg7EbeW4zTdAy5RvnIDoPEx2+kVATWm0V9Wmkcs6YZf/mneQe8AgVYi/jIikNB5JQA1IDO7zRlJ4aijAER8/0Vp7HEMc3bSw2o00g== X-Google-Smtp-Source: AGHT+IFXp8fgaDPDfJesdB/g1p0Uqkzirsm72FAMVoBseHjsT1Jt5wH6HFcQ7rsPtWs1qeOJbVsf X-Received: by 2002:a05:620a:1278:b0:78f:4a7:c5ed with SMTP id b24-20020a05620a127800b0078f04a7c5edmr2841729qkl.28.1714580322683; Wed, 01 May 2024 09:18:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714580322; cv=pass; d=google.com; s=arc-20160816; b=jfPz/k22fKx+9kCVz3SoCuwpaNu1Jvk5Hk7efevwZjiP97XweMFrP2ganKuCK/TvfO n1nSEtBXj/Wk4AiFtaAKAan8bqnw9+8EP1DOqYwOzCsPdkq8PRvAxzotGy38mB3PZWPP 7c6uPhh5carDcEIevAhyncT1RvNiBl4LNFT65Qr9u6lXmQg12kNtyOSKQrfIQ/MrkV0M Lz6yix6XkubdbRNMafpGaW6ZhatC3JWjb5nuNwX/VSgLzC1YI9QXPEHnLubAhhMPyYaV Obp4DqL2TTHWa/L3mdy0Dq6zwNjJ58zwEzvIm4pb6H+1IYUInhP3Eoq+a/W7YR+MQiJB oSFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=RrsRAJmWysXYR4n1Z7QuovA3tEKIJY2HwJxpKg4/cqM=; fh=hFjaCY/rWc7OCqwT79Jz0i3FCH4qCj7oVfE6Cjv8kSg=; b=n0onFQB72TTqpNN6QuY+1l8mK3VJSSnUoD3w9jQLXIgjmvgkInVkBeLmIYgxUTdb9P tD6oDFkP+uBZo+qdjnBKJeOE14XV2UXanh1S7Ckl4fgdVFotIphWV7pNiWUE6q8CabDv TzJfCqWXd1wo//4sXeO6fVEv7gPEu30jxjRzdlcLWjuHWhJDUHVWy1iA15biUawPW5aH U7CCcTlde7SmGTcsSsU1TVfvAwJXOVNfgB45c1JRZeKBnYVw3otAWoZbmTuVJ5A50mSf 0zar/3z0YXpZ1/aQSkyZucuvJXPs7aNonQNJWRc364zKXd/2oOPWdiAsiVMcVyUo4guA 8VAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FVe1JJuu; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-165554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165554-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i14-20020a05620a404e00b0078d693001b5si34761296qko.314.2024.05.01.09.18.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:18:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FVe1JJuu; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-165554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165554-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6A2EB1C21083 for ; Wed, 1 May 2024 16:18:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00FB612FF89; Wed, 1 May 2024 16:18:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="FVe1JJuu" Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B55E114012 for ; Wed, 1 May 2024 16:18:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580317; cv=none; b=ivd8hCXfEKnirgAwHwDXS5an6cAkIdPL+TlF2XgbLNhNVLkK4Kz8bcMPfQCP1WJkafHf+sDZo0vNSj4YNgxipfQj6qoHX1H1MNO2MhfVxtC35YzhUnI8+vW3FeNnxs4Fk8QlCmDPPbJ5izbp5yxkuIyID6l2tLEgmDpSbdn3dHQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580317; c=relaxed/simple; bh=RrsRAJmWysXYR4n1Z7QuovA3tEKIJY2HwJxpKg4/cqM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=enNOjcUtaqEgCWVXj4jucy173yXj2SUvNizs2A6A0dcKoOxKA7aPROFpgi6EApwkqPkcl7EDY6Pzq12/NLtFa9DoLK1CdYTzDg3R9fsFLJ2gFa/St3AeIqi7WyhuBMcM2D+gxNR/tTJNL5TuxBmupWQSxfUCzhUHjrQxkjY4dJI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=FVe1JJuu; arc=none smtp.client-ip=209.85.167.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-3c865f01b2bso2108015b6e.1 for ; Wed, 01 May 2024 09:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1714580314; x=1715185114; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RrsRAJmWysXYR4n1Z7QuovA3tEKIJY2HwJxpKg4/cqM=; b=FVe1JJuuwmeJUs0Vbjx+S2qWt8uj0yXY/nTokp3DIy0kOqT2dgy+Kk4ID3SQ1A3jth Qoj6zSpLeFDLCiIWhZkf6Xkz2raTesIi6rpD6DuDQznHSKVnyq1+KJpFPP5Vp+x8FsVT UE8xk+zmprXSvGHkjCh3knKhZWits+3k3FlVI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580314; x=1715185114; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RrsRAJmWysXYR4n1Z7QuovA3tEKIJY2HwJxpKg4/cqM=; b=j2TPV6GD8Y00wO0dIlkirEej+xRABnoVR/nNDc3EW1jDFQWaOLGFEkPT1zJjBMJScb z3HjYjRG00ExVJwyh/zFlkUU5jUJs6iTKMw58P0QBme+kqkusix2yWj7hiWfpWnR2Ohg jlwS0wBjEA/dTxgZMygqP242zrC6vkvIhddOTT672NTZVtPIMeNJTDgBH5ltWJi/ppVi mHJwOifqG3z8JUvlq1c0SMOQSYnmsaIFPeBqJ97GPMokiY0WXT8+qpv8h7ZX/fCq/2vI XekonKO5byvd66iFU0NyGlvZKLuAsPsBlghDi7jPzQcVXPAPz0/K7dV6AC9HBhhM7ffi e5AA== X-Forwarded-Encrypted: i=1; AJvYcCVsA6Fq7HNLAhvmngHadueu+fwlNAQKV71tR02+mnTPeZlfcjGUU5pN1kS7mY3JNpSygWRVrdS4xn/WOhQN5oe2zufV6y4ViabZoaXb X-Gm-Message-State: AOJu0YzCBHXkVHu0AYIkQiUV97E7cCgSEERuz9Nrv+vquHXFWs6YrWpz V6dEGoFik26FJGL85UXicX9+SpupP+GDkD+Iy9URtABltt751V2WQnMLwaAHYs94A3rSpK+QrQE = X-Received: by 2002:aca:1c07:0:b0:3c5:f022:6b43 with SMTP id c7-20020aca1c07000000b003c5f0226b43mr3367651oic.21.1714580314043; Wed, 01 May 2024 09:18:34 -0700 (PDT) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com. [209.85.160.172]) by smtp.gmail.com with ESMTPSA id g19-20020ac84813000000b004364d940d3dsm12391744qtq.96.2024.05.01.09.18.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 May 2024 09:18:33 -0700 (PDT) Received: by mail-qt1-f172.google.com with SMTP id d75a77b69052e-43ae23431fbso28451cf.0 for ; Wed, 01 May 2024 09:18:32 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCU+os2/vNoVlp8z9wBy76IXzDQkyWJb9+HxPmabJu9O8ix9VQInxIXaQeA8UVocOmREyxSrvNx4vA2sxXTHRfw/OxhNKAPSsNkxo3Xm X-Received: by 2002:ac8:5d8f:0:b0:43a:c84f:5689 with SMTP id d15-20020ac85d8f000000b0043ac84f5689mr236131qtx.1.1714580312414; Wed, 01 May 2024 09:18:32 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240327202740.3075378-1-swboyd@chromium.org> In-Reply-To: From: Doug Anderson Date: Wed, 1 May 2024 09:18:20 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] Fix a black screen on sc7180 Trogdor devices To: Stephen Boyd Cc: Michael Turquette , Stephen Boyd , Bjorn Andersson , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, patches@lists.linux.dev, linux-arm-msm@vger.kernel.org, Dmitry Baryshkov , Taniya Das , Laura Nao Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Tue, Apr 30, 2024 at 5:17=E2=80=AFPM Stephen Boyd = wrote: > > Quoting Doug Anderson (2024-03-28 09:39:54) > > > > I spent a bunch of time discussing this offline with Stephen and I'll > > try to summarize. Hopefully this isn't too much nonsense... > > > > 1. We'll likely land the patches downstream in ChromeOS for now while > > we're figuring things out since we're seeing actual breakages. Whether > > to land upstream is a question. The first patch is a bit of a hack but > > unlikely to cause any real problems. The second patch seems correct > > but it also feels like it's going to cause stuck clocks for a pile of > > other SoCs because we're not adding hacks similar to the sc7180 hack > > for all the other SoCs. I guess we could hope we get lucky or play > > whack-a-mole? ...or we try to find a more generic solution... Dunno > > what others think. > > I think we should hope to get lucky or play whack-a-mole and merge > something like this series. If we have to we can similarly turn off RCGs > or branches during driver probe that are using shared parents like we > have on sc7180. This is OK w/ me, but of course I'm super biased since the only Qualcomm platform I'm involved in is sc7180 Chromebooks and that's handled by your series. If it helps, I suppose you could add: Reviewed-by: Douglas Anderson IMO it would be good to get Bjorn or Dmitry to buy in and maybe post a PSA and/or request for testing to a few IRC channels where folks hang out (#linux-msm, #freedreno and #aarch64-laptops, maybe?) -Doug