Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6006963rwd; Mon, 19 Jun 2023 00:28:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74KBF8CejoTOvxlv3nJtgob+op2v2NLJ+uwMSfhX6ScyS8PQBB4B+wBXpQJpxB61Q+kf+/ X-Received: by 2002:a92:d9cb:0:b0:33b:ed95:26df with SMTP id n11-20020a92d9cb000000b0033bed9526dfmr7667997ilq.32.1687159713339; Mon, 19 Jun 2023 00:28:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687159713; cv=none; d=google.com; s=arc-20160816; b=w8IwWN3rz9E3avyDIcrjs4eeCboVaf+LbTTdBcui0Af/88Dn6S1YxuiQUJDX8hq3qA ji7Sk34P/vZ6yHzzU4sEaybUoc7BXscpPzQgjxeNtQQPrJej3iUyVJsEAxbLctiuH/ug 60QuQqK13ole37YxVeZ21H2PpeUrBJo9i6GJOuBl48riOe9616M8ca/mAAETjEXIYvSt dNNzTvIIq+p8Xy+vGS7yMoHViC18AZxUhrEhWv/fEUz1TeVmm2Cpc8rW5kkx4sFrDzh0 vsTxVW8GnJNONUSHphMvWxZlRanDCF1ZtLnPAxD07s/mPp4avq3h9lGJfumArycZouuO qjIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=dcTIqLIrua8hUl7qFCty01+sqrygibJSr+cgV/uyuBw=; b=RWjedb1cQZtTPyRFrSDJEAA30dAoVLBmRdP5h1k4y5AD0B5Ev6iYC7Qs2BYsazvsj1 1SASQHZYE3slaTnVfATfTaMxMK64hMio8QKrs1Vf8zOYs9dj6xtbojU6ipHYLzp16Y8N QlGIkYj9XD01Rt9uxWO2woPpOuaz0F5AcczCx/TotsJxNImMhfyNTviFoSbxrQMmKnnL 1/LU3/lzIJflCambN6+enuibME1qouZTB6njhwArvFujGZxcIrQpnboi8XzjrLzKe4Wm Gi7ZTI6YndL0yvP9gs6anOMrlsUWeOC9OOz7KqFTIJj+pGXylUZyoXU7fKIvzv1DSXKD DQkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dhuj1G9O; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r131-20020a632b89000000b00542b5336becsi10037696pgr.663.2023.06.19.00.28.20; Mon, 19 Jun 2023 00:28:33 -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=@linaro.org header.s=google header.b=dhuj1G9O; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230142AbjFSHHB (ORCPT + 99 others); Mon, 19 Jun 2023 03:07:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbjFSHGx (ORCPT ); Mon, 19 Jun 2023 03:06:53 -0400 Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9064EF4 for ; Mon, 19 Jun 2023 00:06:47 -0700 (PDT) Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-62ffb475be0so24671356d6.2 for ; Mon, 19 Jun 2023 00:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687158406; x=1689750406; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dcTIqLIrua8hUl7qFCty01+sqrygibJSr+cgV/uyuBw=; b=dhuj1G9ObbXiG8050tPrdfQogQjjGBCjgGWWCY2x530e8Ay1zXlUQ8DDxjIie1LtKc Jv+oXz31qvZBIu+QG41NtOlvcnswKyey1TP0JnQmAUD51XyVGUrZZ1RSlhFR/wpC5xSR +RtYIDqCye0KoMcoA5cvInToWee+J21nju4E8xZW5nvNVJp7isHcXS0+Ypm7J+tClf/r l7V20IXfwOqDmiXeHvNrPd6LHlBa0grI0peVs4d042H5ufvVK5CCnf3X/tmWUsx5FTFk ygdW2kEqoa/pwu9BLcf2y2MNVRCToHYtCX1wHO9jCSc8tpG3ptVVNFaYJ/cSsBftzdkd dfXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687158406; x=1689750406; h=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=dcTIqLIrua8hUl7qFCty01+sqrygibJSr+cgV/uyuBw=; b=bgzAyIu2UpQRtDqilbwUg6Xut7f8rfacehwDhcmZIf1jGRN0yP+SbN5L9NvXyLRi5Z zGsuF9MqKn4pqZuZc+tjd+pXR//1e8n/5wJYwHZFTt7Exf5CUMfnwvNP7S8hPeZ3hyL+ 23df6CEe6LIv7wQDhsBW6nBTCB1yfl9YXGgvHk9f4HXs0du9GvyZt4Mnic1RHtTvjqkh wObIu6vd0J9dfVS/yWEzgtn0h57VpWEkxpr5KdV624VJy6GXgtD60vJqa49Stsa1Ign8 tt1C/f5cv+s9jYFEWJAHeaOfVe3MnaHNtCh5S+aW+NkKSyfo2Pl1eoG92Q5bJNwxdyDB 8fIA== X-Gm-Message-State: AC+VfDydqdTgFxWNvBjTcXm69ke1Haz2f3UpPS4q8L1s9aRzKItXsCVM WJ7/MQmJMgcrNsPeqfuQK1R3NswC/Nj92qlrYUjUMQ== X-Received: by 2002:a05:6214:2302:b0:628:74d6:ba89 with SMTP id gc2-20020a056214230200b0062874d6ba89mr9134579qvb.60.1687158406629; Mon, 19 Jun 2023 00:06:46 -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> <0ec6c988-d678-c96c-a7a2-af38e6701404@linaro.org> <12d6b687-5e5a-bd7c-ff5c-007a74753edb@linaro.org> In-Reply-To: From: Amit Pundir Date: Mon, 19 Jun 2023 12:36:10 +0530 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: sdm845-db845c: Move LVS regulator nodes up To: Krzysztof Kozlowski Cc: Linux regressions mailing list , Mark Brown , Doug Anderson , 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" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Sat, 17 Jun 2023 at 12:51, Krzysztof Kozlowski wrote: > > On 16/06/2023 19:09, Amit Pundir wrote: > > Hi, > > > > On Fri, 16 Jun 2023 at 13:57, Krzysztof Kozlowski > > wrote: > >> > >> > >> So you have interconnect as module - this is not a supported setup. It > >> might work with if all the modules are loaded very early or might not. > >> Pinctrl is another driver which should be built-in. > >> > >> With your defconfig I see regular issue - console and system dies > >> because of lack of interconnects, most likely. I don't see your WARNs - > >> I just see usual hang. > >> > >> See: > >> https://lore.kernel.org/all/20221021032702.1340963-1-krzysztof.kozlowski@linaro.org/ > >> > >> If you want them to really be modules, then you need to fix all the > >> dependencies (SOFTDEP?), probe ordering glitches. It's not a problem of > >> DTS. Just because something can be built as module, does not mean it > >> will work. We don't test it, we don't work with them as modules. > > > > I do somewhat agree with most of your arguments but not this one. If a > > driver doesn't work as a module then it shouldn't be allowed to build > > as a module. > > Of course you are right. That's why I am pushing against blindly adding > "tristate" by everyone working on GKI. Because such folks like to make > them tristate, but not actually test it or work on issues later. > > That's exactly the case from Google and Samsung patches here: > https://lore.kernel.org/all/ac328b6a-a8e2-873d-4015-814cb4f5588e@canonical.com/ > and in previous submissions. > > > I took a quick look at the history of the interconnect > > driver and it is tristate from the beginning. And not converted to a > > modular build later-on like some of the other drivers to support GKI. > > OK, maybe it was never actually tested. Or maybe some versions were > working on boards where debug serial does not have interconnect, but new > chips just followed the pattern without testing? > > > >> > >> It's kind of the same as here: > >> https://lore.kernel.org/all/ac328b6a-a8e2-873d-4015-814cb4f5588e@canonical.com/ > >> > >> I understand that we might have here regression, if these were working > >> as modules, but I don't think we ever really committed to it. We can as > >> well make it non-module to solve the regression. > > > > Sure. But since v6.4 is around the corner, can we merge this > > workaround for now, while a proper fix is being worked upon. > > DTS workaround? No. I don't agree. Once it is merged it will not be fixed. > > I am perfectly fine though with making the interconnect or even rpmh > regulator bool instead of tristate. As Doug also mentioned in one of his earlier emails, this workaround is only limited to one particular board. If I try to change the common interconnect and/or rpmh driver then it will need ack from other stake holders as well and I'll most likely get more pushback from that side. Regards, Amit Pundir