Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp910809rwi; Thu, 27 Oct 2022 08:55:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4nlwmLk44vExOeLRuLGMrxDPoKlTnLVmFLHjdT10Z5cFKw5/D5Sx1S8Dr2bSVI5fHNj62A X-Received: by 2002:a17:90a:5a02:b0:212:f91b:b2d0 with SMTP id b2-20020a17090a5a0200b00212f91bb2d0mr11108434pjd.244.1666886128959; Thu, 27 Oct 2022 08:55:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666886128; cv=none; d=google.com; s=arc-20160816; b=KEwPQFxIkHtf+80121sJLTvkgRcCNX9nq2HiDk5/K8H7bnV+Wx1FzkSSOKXlRPOoqc TlFxQAjlafOPPGVGYxYQ/A6dR48nipELwPMzgD6LggmvYcH7RsGjFmTU12ZiA+S0txI6 R8sCq0AUKG5GjwWEDOyBFbmJTN/DHb0+5gN6OBVxnjNgD4/3gAJS8hQk3lpvQyNgZQ8s QDh2f2jNSE7/4I9lUebs1gwUu7yZA+LgjyrbsDSxffXIRs3ztR6yyWXBqCnNW9e/X1E+ +hMqaYAmTC2U9F9zy9EC5r5elToQbhBQS6CUeydHWzPoQMZks99Bg6+yc+fMrRs416UT g1zQ== 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=A62UelZTVELbTDOY9K4jDQc3Vv/5CJZi4U1ZDNxRqAg=; b=Yp0Gu/VKFrrREkU4fkCY3BD9mc6o988Cn/F03aaVxW6/rrH8H5NPPU78p8s5JdU+/R 52PJRBu6IyMd9H0pQECP7SoTQzQ6/butdGHAR73k436KPkyhSUZc33KeHzirsVPZofve lLvrezpHaY+qVljHIap7yJOovg0fKC2QXclbja3wQRjzZocYQBTivGVINdKBy+Hu3Yhb ZJppPVX+p2qLXN48DcrtvXQw0BnhffEDyqzs/3AUPZlt/Cw3+/7W5NkVa843lTgXTPjr SwsBlTRFUYnyDVI+8HujpPJf1c2B67Vk+jM5SfDekIVzoBzA748mzI4y/1PpL5g2Q5OC 7Guw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KtNSGZB/"; 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 e18-20020a17090301d200b001768452d4d0si2366244plh.30.2022.10.27.08.55.16; Thu, 27 Oct 2022 08:55:28 -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="KtNSGZB/"; 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 S236007AbiJ0PAH (ORCPT + 99 others); Thu, 27 Oct 2022 11:00:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235721AbiJ0PAA (ORCPT ); Thu, 27 Oct 2022 11:00:00 -0400 Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B885912773 for ; Thu, 27 Oct 2022 07:59:48 -0700 (PDT) Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-13be3ef361dso2335628fac.12 for ; Thu, 27 Oct 2022 07:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=A62UelZTVELbTDOY9K4jDQc3Vv/5CJZi4U1ZDNxRqAg=; b=KtNSGZB/lIjM1x6AgTSnVa70hSnMq5ju+qWL+RG/9HjjbAkmP50ITxmx6cey447cl6 N8QqR+J1n7PXh/8OPxKp9NwXFb9botUqQWRgy2lbzQi57+kKTmk7rcQUHgbcA4Vpoh2+ CS6Jye4kIEd6M2yU8iiU/BsSSD+YFH1+9JuPqOLqMuv6k0zBcovqDvqctlysBMQZP5/q AyaOT9P70D15BFzRvzEWMl20uaRESpYuHzv8BEruwKaHW2xtrZgWMQyqjZNFcgQl/z/0 abGHpfHd8+mpXyr/vijp6xFrZKKPSWyqWTP4qxt9RHHMalsSl1OTXeVvHBG3ZwjNRf6j dtiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=A62UelZTVELbTDOY9K4jDQc3Vv/5CJZi4U1ZDNxRqAg=; b=XX/D4cKR0O0rG9xb42DW6jeFYeurqAdTwUdPC/eDmEzIDL694Hta01Up4LwNb/crWE CuqqlGScjIPOh+aA/NbUHCiUfGT/50rXnhgoXevwoz6tyqU37sV5ubGCmAacc7maoVN/ x7c9V2Cyn96gnc3gr0SMkQS++B8s8n8RizjdVaRjcmLaBBzLTsWCi8/p0eNiD/1I08wK H4XZ1sZ1BW2AvqQQlt19wbMfxlaTm9bON9l8KE5RYxWtynPhNhG07LzsWU1UP0pvNOmQ ReI0o6SWd0yvET2nDOPk35jv7ukyJ0ZL6E6siWAfKQBtFnvPNGjm2SunyV77GEfOPlNb gRkA== X-Gm-Message-State: ACrzQf2UetuZgY0GTi+BZoaNxJlE7j4oZB4UBQK6zlcFQqMuU4pA85eo oIjOekB0NhynO3rI1Gl7xZnXohbQhlW0vJ2meIbsC44LVnhhQQ== X-Received: by 2002:a05:6871:611:b0:13b:8097:2b92 with SMTP id w17-20020a056871061100b0013b80972b92mr5744785oan.44.1666882787200; Thu, 27 Oct 2022 07:59:47 -0700 (PDT) MIME-Version: 1.0 References: <20221027115745.240516-1-ulf.hansson@linaro.org> In-Reply-To: <20221027115745.240516-1-ulf.hansson@linaro.org> From: Amit Pundir Date: Thu, 27 Oct 2022 20:29:11 +0530 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: sm8250: Disable the not yet supported cluster idle state To: Ulf Hansson , Sudeep Holla Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov , Maulik Shah , Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 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 Thu, 27 Oct 2022 at 17:27, Ulf Hansson wrote: > > 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. Thanks Ulf and Sudeep. This patch along with [2], fixes the above mentioned crash on RB5 running AOSP. Tested-by: Amit Pundir Regards, Amit Pundir > > 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 >