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: 13010723 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACCBCC4332F for ; Tue, 18 Oct 2022 14:54:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229691AbiJROyH (ORCPT ); Tue, 18 Oct 2022 10:54:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230288AbiJROx6 (ORCPT ); Tue, 18 Oct 2022 10:53:58 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0A98D994B for ; Tue, 18 Oct 2022 07:53:56 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id i6so14034950pli.12 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=3IG0wR0nehC6PKWnRNbmdPo/E7WXZcohRDDbpM4qRKZhtkNiigpW1XR935IsQtkX4Y 479iVw/bMPLLPUi+HIojsMafpyO9634ERo3SG1oUCYVT5m5e3gEJF1W/zfcUUyIeaSUp 5/sKLWRIFD2+k28/WBmLPb0yoSl3Lbvxi1a9XLezFEbe7QnsYdl+YRG/TBxd8kASSUAx F1DSVhMYn9IiFJT5DFNCkjQ8ixizug5xun7456y++kfOjah2uMpXCnFVBaPMk2ay5zQD /YYc3YnhBx0Z8AyIG0Y3k9RmgamNUggteLAxXVMDQBIHvv+dZNTECVE0pX3yfEGYb4Ab LW5A== X-Gm-Message-State: ACrzQf2mYiwOWK3APN2sJm7q0KygYn1Q5jl9Wd38vZAFyd8vu0iEJd5X F5lapC2Yf412NKDeFm5qNOfiObW4ZLtg9A== X-Google-Smtp-Source: AMsMyM5ba3pgVFa5RG65wrHNrhugFZ9F6QITUf4ry3gX63r7xh5Fhx5Am+itfgaWnxIuhaT9gWXx+g== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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";