Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp571221rwi; Thu, 27 Oct 2022 05:11:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5bwTSxjoJ5u7KXiMLl0iw2NnvDOHWZ4KMSHpLXESTe9iuwNicuO/JYjweFHoxBophqkgt2 X-Received: by 2002:a17:906:cc10:b0:78d:f741:9d87 with SMTP id ml16-20020a170906cc1000b0078df7419d87mr41863054ejb.295.1666872705045; Thu, 27 Oct 2022 05:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666872705; cv=none; d=google.com; s=arc-20160816; b=OOAkSM8F/zavETFibWm1P7CigSRDAIgTTgC36cMQGs50T/eBLDFZo0F7xI9KqRvH6K Z3nBBZEP4SCxLlfNTMXEr+4HyHhFI1cLVbkamgeskkJ8IlrGoo00m29qunyq1SKjNZqn oWsW96vZx4iG6iJ/pTa8jzYJoDlWe9+SToLA/FnDblqsNZaqt3r6aONtOSMb7nbCOfbI IofCqdUpMfgD17AjPCAvyDjf40iEIYvulP8AXT3Ns3rbPqFi0KoKfkOkal5Z3RddMaKu gijGg5ST5ofOq/+/e2cem7omCO5k37mhokqPRq/oLFnbZcnt78lp18djQ3bq1JMedp1T VHUw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=+haLpTJY+Yq4kbp0eK3uqAJ8H9p8YmI5+8lTBRSO0DU=; b=h4jNEg3uv6+P6DaezeOw9+Bg+O4TLHQnfX+7wmphGXl0Il3CQPv48SDiwEloD1GOGO 277ZvFJBB670br3PdpPECha6DmjIE4DC/LyhAar/ij9mThbLvgdCYs2VOPI6g8sVW3bB OZ9Thhebr4iHhpAoG0EIiHZZdnKQA8QCwmpkCXh552jIPuk1mx40HaVhZH6jGzmTnNaW DjF1q+hkkG+P7wadV7oB3ChHLozECX2Q0lSTfWab/u0Pwluy0CjUbl4CMPmt4vgqyz0m gpNmQbxxijDftWizwWxfcDhb7GAkjP5sUXt681MD11ilLUsFr+rB9rHN9kBjX94zMsUu cxzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bijkMGDp; 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 b8-20020a056402278800b004604906b23csi1668427ede.545.2022.10.27.05.11.17; Thu, 27 Oct 2022 05:11:45 -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=bijkMGDp; 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 S235430AbiJ0L5z (ORCPT + 99 others); Thu, 27 Oct 2022 07:57:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235407AbiJ0L5w (ORCPT ); Thu, 27 Oct 2022 07:57:52 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 610F360EAE for ; Thu, 27 Oct 2022 04:57:51 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id z24so2086887ljn.4 for ; Thu, 27 Oct 2022 04:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+haLpTJY+Yq4kbp0eK3uqAJ8H9p8YmI5+8lTBRSO0DU=; b=bijkMGDpdA8sgHlIOQ7XcM13fnEgWD1TwSsfE8gS2+pLPiPPkIaJpHqo2uUDOHcUDT SQeBsLBxgJoMoQH/iViYEVJ4JHW/NIOvD5ap6jPuFLzcRC3b2TNvWbxiFbUgW9oIBtp+ fCYQEa7piPcxHHe/z49q5Kz/g1C7LpGXrv2JCZboM/yz0wOKk6r4rz34OxaMqoSGfeTB xHAyn8+OirvuDeHPlMAViArRlcpuefrGkWajpoPHUkILhWMVtkx7bswh41qrq7lpRyW4 Xxp42e0kTnoDop/zizBZ4bA4mO95z6xPjLixrmaOkCC7zmGbzZK4YAykuqG5WD4pc4dD cqUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+haLpTJY+Yq4kbp0eK3uqAJ8H9p8YmI5+8lTBRSO0DU=; b=Z8KwexFthAsltCksLFiOpndgk87WWNwXHKmEriWOBFnGHMhhvdI5ObtJKAdzPktpRp 7YLanmJZWQ5bMNHKHRCQxK93OAnPtbzShM9XbTcc4ym+SjJC3ajIvhOo+FqX4ssrXxCu p3w+Go/4WKLOVwu4cUoGzCPPU6PQ5BGF6mZKS14TQ5M15JR1EZ/88R0R4ALuOkF/V8BX tyP0HYz4wbHdNr9Nrq7VEEe+AQQolepxjIwhqFGtVrP9QdElor8xeN0qHH5Cm5t2LVK2 Xp+K19rxlCPf3MVCpBL9ixg73wxAK5JfKaI6h+4eMmhhMXimw4siIP09MS80+mJpB/8E uGsg== X-Gm-Message-State: ACrzQf2QYK4hp65SHK0PO/eXiVMwOuaXEXPQp/Jeonvj2QLsjq7cXXvo 7zDKU9d0I2nsNu9VkiPgLNMYkQ== X-Received: by 2002:a2e:a554:0:b0:26f:ea5d:a075 with SMTP id e20-20020a2ea554000000b0026fea5da075mr18884164ljn.322.1666871869632; Thu, 27 Oct 2022 04:57:49 -0700 (PDT) Received: from uffe-XPS13.. (h-94-254-63-18.NA.cust.bahnhof.se. [94.254.63.18]) by smtp.gmail.com with ESMTPSA id z13-20020a056512370d00b0049f53b65790sm156841lfr.228.2022.10.27.04.57.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 04:57:48 -0700 (PDT) From: Ulf Hansson To: Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: Dmitry Baryshkov , Maulik Shah , Rajendra Nayak , Sudeep Holla , Amit Pundir , Ulf Hansson , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sm8250: Disable the not yet supported cluster idle state Date: Thu, 27 Oct 2022 13:57:45 +0200 Message-Id: <20221027115745.240516-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 To support the deeper cluster idle state for sm8250 platforms, some additional synchronization is needed between the rpmh-rsc device and the CPU cluster PM domain. Until that is supported, let's disable the cluster idle state. This fixes a problem that has been reported for the Qcom RB5 platform (see below), but most likely other sm8250 platforms suffers from similar issues, so let's make the fix generic for sm8250. vreg_l11c_3p3: failed to enable: -ETIMEDOUT qcom-rpmh-regulator 18200000.rsc:pm8150l-rpmh-regulators: ldo11: devm_regulator_register() failed, ret=-110 qcom-rpmh-regulator: probe of 18200000.rsc:pm8150l-rpmh-regulators failed with error -110 Reported-by: Amit Pundir Fixes: 32bc936d7321 ("arm64: dts: qcom: sm8250: Add cpuidle states") Signed-off-by: Ulf Hansson --- This problem was reported by Amit [1] together with an attempt to fix it. It turned, that we wanted a more generic fix, hence I posted $subject patch. Also note that, $subject patch is also depending (from functionality point of view) on a another for genpd [2]. Although, that should soon reach v6.1-rc[n] and stable kernels. Bjorn, can you pick this up as a fix for v6.1-rc and tag it for stable kernels? Kind regards Ulf Hansson [1] https://lore.kernel.org/lkml/20221018145348.4051809-1-amit.pundir@linaro.org/ [2] https://lore.kernel.org/lkml/CAJZ5v0hJxRiL03XDFpU8FuabsHn5i6JMksJ=dfj8B+Dm=s3LYA@mail.gmail.com/ --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index a5b62cadb129..e276eed1f8e2 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -334,6 +334,7 @@ CLUSTER_SLEEP_0: cluster-sleep-0 { exit-latency-us = <6562>; min-residency-us = <9987>; local-timer-stop; + status = "disabled"; }; }; }; -- 2.34.1