From patchwork Tue Oct 18 14:53:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 4212 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp2003943wrs; Tue, 18 Oct 2022 07:58:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5567m6GJ0hN2vcfSUsnzgKrjtkMOgc85qv1uYNC+dD8ptj1BjXHbIfXermr9Gj0rKwEnaB X-Received: by 2002:a17:907:6e24:b0:791:905f:7881 with SMTP id sd36-20020a1709076e2400b00791905f7881mr2773222ejc.120.1666105117614; Tue, 18 Oct 2022 07:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666105117; cv=none; d=google.com; s=arc-20160816; b=SfYnatkvj9RI5Lku2lImRT1NskkO2BmvdQ0txrOTWu9A0q4LjcqZnGrUKmEuQgp9f1 lQfhbm/21n8B4u1kPg7EurRUfXcaEW7Af5gAYpBqfFKtkxE3iDzKIxnBoQlCWnqjHvgi JMmFn5vcTeG3TacJOba1bFUQaO95o2JyWKng2rpCRfSTJc+5gZG6yDme2sHmGRkIwXIR H5uxVCNU+/+z2Y0n7+KX8ZALrPji48uSScmqKSe2lnhGAPQIh4v3ShMj/yCP1BTso92S 8pRH8AsLlDtNt0YWhICuAdKVSYtg2kOQfWRDJdEGXi605dxEuD8300wgtmcyghxPfzRx 896A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:author:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ats1U1GKP5ySkCQcFs4Bt8DbrtP8aKLYh292IozDhn8=; b=c4b2evMcyaJCSGU2LDxF7V32OjetooWxROFG5rxPG2OId7/2dLKGTVB8Sxu2CR4px9 PbiOKq6/DQKVnXKoNODefKD8YDMW73A1ptiMhnjAgDE2Vg31pJs2ieXMyEkqKz7tEisq CLX4BNodJKac6dgKWaMYu90RaCbvz5uLiE3fTE4SjaxMO0a/hxiebknTJGKligpjVhLR guGjWEPN/a1U69LFOk+35TMlhGrD9zIlJd5vNrDTyXSRpdBQ9V/VB2InAzLfid6qyvNE 4Z8u8F7IjJIYbEqpyI2iuEH3JaxT8z5qNeKwo9Nb3oite/mLKkUdh4I/dbMDTGm9PZjH YlCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZrAC8O0z; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt19-20020a170907729300b00732fcbcfedesi12504786ejc.623.2022.10.18.07.58.12; Tue, 18 Oct 2022 07:58:37 -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=ZrAC8O0z; 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 S229816AbiJROyI (ORCPT + 99 others); Tue, 18 Oct 2022 10:54:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230244AbiJROx6 (ORCPT ); Tue, 18 Oct 2022 10:53:58 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE55DD9944 for ; Tue, 18 Oct 2022 07:53:56 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id 70so14204909pjo.4 for ; Tue, 18 Oct 2022 07:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:author:mime-version:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=ats1U1GKP5ySkCQcFs4Bt8DbrtP8aKLYh292IozDhn8=; b=ZrAC8O0zV5XMJISD0nU0tmntzsIrWrAzLhnfv5ntWDNrY7cSWrniEMtWh+1pQO10RM uNRQ+npKwnQKBo6GzbbSHzgC0vJuS+JkQ/7nRUmu4JiVvUqvHwyrzQyqYt4/Zkc+/e5G Jynopflmt053WmFJqqnt4OTJXn22409fjaW4nMlJwKyGWhj3CHH5Mrb6Q1h0lqQYmJva JCqhXJ/2iWzCOVVykBWZrEvrAFJRToY2tRA5XZtREZlT35McytzE0zUW75YUjbU5AmnS BN5j14tVCdMht0slkxfFokS/XUjlDgjb/GOQlFqq68LYccaTFjRrloWE8ZQ2zFFe3L/9 T/XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:author:mime-version:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ats1U1GKP5ySkCQcFs4Bt8DbrtP8aKLYh292IozDhn8=; b=XIFe53n7wx78hX8rohjpTnASnjt7KIGIl5MTBKaPb7kcHr3xgUwNkwI8+ahdNWyZFL xSY0DJCoqfT73GuuCdZdqKFAZC0Jf4xlg1xEmTZDTKWj54t6H4KjbUsnSYsqmnr03i+q a9baudLc2ROlqw5ORrxc5nPd48NdmlyMIrm5sKqDmjKbhSzR+ZEhR6Q9loa39IbxvQGF sFl9yaVrTe1jDLM9+lJ2YCaCqZQSuINDdwbYz3DClDhgM81F8ygHN+mA9BX/InGqroBX MBGjwEPBypqBwUQgqfzpE2mo9oFl8TpuARsQwM9a1lPELhILtH3TD9BTu1fjg7SChv96 9/+w== X-Gm-Message-State: ACrzQf22DLCUY1lfI0imaY5QMmxNFKi4gKAfFl+HvqckX5WFFXR8GXBN gMKXXimnMPJHmKfjyRNkPK+YTg== X-Received: by 2002:a17:90a:2bcb:b0:20a:ea55:32ef with SMTP id n11-20020a17090a2bcb00b0020aea5532efmr39655500pje.59.1666104836204; Tue, 18 Oct 2022 07:53:56 -0700 (PDT) Received: from localhost.localdomain ([122.171.23.186]) by smtp.gmail.com with ESMTPSA id q3-20020a170902a3c300b001784a45511asm8775248plb.79.2022.10.18.07.53.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 07:53:55 -0700 (PDT) From: Amit Pundir To: Sudeep Holla , Ulf Hansson , Bjorn Andersson , Andy Gross , Maulik Shah , Dmitry Baryshkov , Rob Herring , Konrad Dybcio , Krzysztof Kozlowski Cc: linux-arm-msm , dt , lkml Subject: [PATCH] arm64: dts: qcom: qrb5165-rb5: Disable cpuidle states Date: Tue, 18 Oct 2022 20:23:48 +0530 Message-Id: <20221018145348.4051809-1-amit.pundir@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Author: Amit Pundir 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747037839775293592?= X-GMAIL-MSGID: =?utf-8?q?1747037839775293592?= Disable cpuidle states for RB5. These cpuidle states made the device highly unstable and it runs into the following crash frequently: [ T1] vreg_l11c_3p3: failed to enable: -ETIMEDOUT [ T1] qcom-rpmh-regulator 18200000.rsc:pm8150l-rpmh-regulators: ldo11: devm_regulator_register() failed, ret=-110 [ T1] qcom-rpmh-regulator: probe of 18200000.rsc:pm8150l-rpmh-regulators failed with error -110 Fixes: 32bc936d7321 ("arm64: dts: qcom: sm8250: Add cpuidle states") Signed-off-by: Amit Pundir --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index cc003535a3c5..f936c41bfbea 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -251,6 +251,14 @@ qca639x: qca639x { }; +&LITTLE_CPU_SLEEP_0 { + status = "disabled"; +}; + +&BIG_CPU_SLEEP_0 { + status = "disabled"; +}; + &adsp { status = "okay"; firmware-name = "qcom/sm8250/adsp.mbn";