Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp125163rwd; Wed, 14 Jun 2023 13:15:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7vHPUlilS4qNf+B3z5Oxi1p4fnQgYAuoyyunRv1Dge45AY8cwdnTL3eHqCh5tiYCa/mVJv X-Received: by 2002:a05:6a20:3d21:b0:100:6f8f:7793 with SMTP id y33-20020a056a203d2100b001006f8f7793mr2832473pzi.3.1686773715696; Wed, 14 Jun 2023 13:15:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686773715; cv=none; d=google.com; s=arc-20160816; b=U2OGkf3kp2L6CxPU5zgnyVfde0u1xe+4K4hilepcW/cHfK7IAGgX63E6CqaHUtbHeg BGILEbiDCqCqp5wyc26T+FR+52DyXtGNJCrILMILoupCBoyrjY6mnY14DiV9k4fwRtnX KwaEIeYh6x2MT54qrClSeYAt7DhinV0dO2aQ34YwFdkG37+wkGgVTALxBJ1HCBAMhzF/ F5YWPz7lGINYtr7aHY4Zcg0dpQMbxOCxBoSzPNUYkI3oX+YQB3Rrf1y9RS2K3nglQ2Jq 4o2snX1YV287NTRsVx5zFVEEL6nDpHeDthbpGtpII522Cq0amkuhhayXNhcTHHFMV1y1 Lk9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ZqKOuOVAaHAwexq58/iM1zHwSap285S9u8+TVdomW4o=; b=h2zPjgo7s8pxfj99HffvWZHlWD3fQJd7cIboL0F6mwwWYWSQNGNOcIryFJ9zMXMmdn Na74/vSMhZdQg6ZW38WcEnmXeAYiJpWxa7pJ3rrkTjdtZAPrSd/J3Dm88xXjhUG8Ooon syoOXGaStIKWaXquwH1KRbGMVPhP2wvVTsmxTIBDX80ZjM643s30C1CQwNrMHDRediXX sfHtWiiUQIOxND65wyt72mdqu+JEJW69vjcR6HHhV8m3TTIOH3WXqv53unYm6JnssDu+ omiv9WfHVw7ueLJ+nOZNd2OSvdgDkmj/MA5O0m1s7s97Z3WqoxlvLeQz14KBm5MGGdK4 3ntA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kIaY5Sc6; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a63-20020a639042000000b0053f24deef11si11718554pge.318.2023.06.14.13.15.03; Wed, 14 Jun 2023 13:15:15 -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=@chromium.org header.s=google header.b=kIaY5Sc6; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237494AbjFNTpi (ORCPT + 99 others); Wed, 14 Jun 2023 15:45:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240783AbjFNTox (ORCPT ); Wed, 14 Jun 2023 15:44:53 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CE43268A for ; Wed, 14 Jun 2023 12:44:33 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5147e40bbbbso10608409a12.3 for ; Wed, 14 Jun 2023 12:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1686771870; x=1689363870; 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=ZqKOuOVAaHAwexq58/iM1zHwSap285S9u8+TVdomW4o=; b=kIaY5Sc6qwBBLG+ByDkUjoja/JrZkWqVd5nOqeU3Z6ldCXAh9EaLQQVG3SQq91IwtM Ysnm3kje3OxzxaOB5OY4jFFV84gdDLjajLKrZpgIZSO4wdCcL3IrFJlmGqhZxsrV2p5K pwhBjyUp7DtsdpQc8YVOKnEqUNy5d4HkaxtI4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686771870; x=1689363870; 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=ZqKOuOVAaHAwexq58/iM1zHwSap285S9u8+TVdomW4o=; b=kl0LsffVhhx/p+/HMv6xDYmZ0RPA7j0OKSt443cUY+AAZhgG1fsWqpRoOL+PGpWLMW cSZPx4iJZyb/fgwtAFbfVD6s8oImjXUubGUmhu/8ePelO109GJt+aFnJHm8VLZUGPJF0 cwBYdh8UbtdnbKY307D6cEioMOSBlTG3kABcliJ/SVNdEL0b4yd8CnL0J1dgKkODYtjK enfAERAVVVAaYZDyCrtpwtEoH1YCJIgsvrlaPAeRQJTk6ozfnRW9H4teQxBy/dPIHjdo YKs6lCAjqRfM6TJsJKy8wzxJBiRgVds/gmtcYtSpgoUjQo9iWvZbPCIIhkD+GWZzrn98 yjoQ== X-Gm-Message-State: AC+VfDxO7hH3ekMcfDAUPWCZJnb/Yy3tfdJlaq7GWQro5e2bdHgBqHU9 fuy/aWliNwadvfa+s5DFjdelyUiVXOyzK1A2cCM2wpad X-Received: by 2002:a17:906:d54a:b0:96f:5902:8c4d with SMTP id cr10-20020a170906d54a00b0096f59028c4dmr15317003ejc.27.1686771869910; Wed, 14 Jun 2023 12:44:29 -0700 (PDT) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com. [209.85.208.50]) by smtp.gmail.com with ESMTPSA id ot25-20020a170906ccd900b00965f5d778e3sm8318782ejb.120.2023.06.14.12.44.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Jun 2023 12:44:29 -0700 (PDT) Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-514ad92d1e3so1978a12.1 for ; Wed, 14 Jun 2023 12:44:28 -0700 (PDT) X-Received: by 2002:a50:d09c:0:b0:51a:1f15:9ddc with SMTP id v28-20020a50d09c000000b0051a1f159ddcmr13160edd.6.1686771868354; Wed, 14 Jun 2023 12:44:28 -0700 (PDT) MIME-Version: 1.0 References: <20230602161246.1855448-1-amit.pundir@linaro.org> <358c69ad-fa8a-7386-fe75-92369883ee48@leemhuis.info> <0f6c9dcb-b7f6-fff9-6bed-f4585ea8e487@linaro.org> In-Reply-To: <0f6c9dcb-b7f6-fff9-6bed-f4585ea8e487@linaro.org> From: Doug Anderson Date: Wed, 14 Jun 2023 12:44:15 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: sdm845-db845c: Move LVS regulator nodes up To: Krzysztof Kozlowski Cc: Linux regressions mailing list , Amit Pundir , Mark Brown , Bjorn Andersson , Andy Gross , Rob Herring , Konrad Dybcio , Krzysztof Kozlowski , Caleb Connolly , Conor Dooley , linux-arm-msm , dt , lkml Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 Hi, On Wed, Jun 14, 2023 at 11:47=E2=80=AFAM Krzysztof Kozlowski wrote: > > On 14/06/2023 20:18, Linux regression tracking (Thorsten Leemhuis) wrote: > > On 02.06.23 18:12, Amit Pundir wrote: > >> Move lvs1 and lvs2 regulator nodes up in the rpmh-regulators > >> list to workaround a boot regression uncovered by the upstream > >> commit ad44ac082fdf ("regulator: qcom-rpmh: Revert "regulator: > >> qcom-rpmh: Use PROBE_FORCE_SYNCHRONOUS""). > >> > >> Without this fix DB845c fail to boot at times because one of the > >> lvs1 or lvs2 regulators fail to turn ON in time. > > > > /me waves friendly > > > > FWIW, as it's not obvious: this... > > > >> Link: https://lore.kernel.org/all/CAMi1Hd1avQDcDQf137m2auz2znov4XL8YGr= LZsw5edb-NtRJRw@mail.gmail.com/ > > > > ...is a report about a regression. One that we could still solve before > > 6.4 is out. One I'll likely will point Linus to, unless a fix comes int= o > > sight. > > > > When I noticed the reluctant replies to this patch I earlier today aske= d > > in the thread with the report what the plan forward was: > > https://lore.kernel.org/all/CAD%3DFV%3DV-h4EUKHCM9UivsFHRsJPY5sAiwXV3a1= hUX9DUMkkxdg@mail.gmail.com/ > > > > Dough there replied: > > > > ``` > > Of the two proposals made (the revert vs. the reordering of the dts), > > the reordering of the dts seems better. It only affects the one buggy > > board (rather than preventing us to move to async probe for everyone) > > and it also has a chance of actually fixing something (changing the > > order that regulators probe in rpmh-regulator might legitimately work > > around the problem). That being said, just like the revert the dts > > reordering is still just papering over the problem and is fragile / > > not guaranteed to work forever. > > ``` > > > > Papering over obviously is not good, but has anyone a better idea to fi= x > > this? Or is "not fixing" for some reason an viable option here? > > > > I understand there is a regression, although kernel is not mainline > (hash df7443a96851 is unknown) and the only solutions were papering the > problem. Reverting commit is a temporary workaround. Moving nodes in DTS > is not acceptable because it hides actual problem and only solves this > one particular observed problem, while actual issue is still there. It > would be nice to be able to reproduce it on real mainline with normal > operating system (not AOSP) - with ramdiks/without/whatever. So far no > one did it, right? The worry I have about the revert here is that it will never be able to be undone and that doesn't seem great long term. I'm all for a temporary revert to fix a problem while the root cause is understood, but in this case I have a hard time believing that we'll make more progress towards a root cause once the revert lands. All the investigation we've done so far seems to indicate that the revert only fixes the problem by luck... I completely agree that moving the nodes in the DTS is a hack and just hides the problem. However, it also at least limits the workaround to the one board showing the problem and doesn't mean we're stuck with synchronous probe for rpmh-regulator for all eternity because nobody can understand this timing issue on db845c. -Doug