From patchwork Wed Jul 5 13:36:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 116158 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1895528vqx; Wed, 5 Jul 2023 07:08:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlGo80wiJc/Wx2cl0cCdf0WYhK7pycP1msfiNy8GwNEetr9KibR57aCGapDx38sEL0EFS8cY X-Received: by 2002:a05:6870:6122:b0:1b3:e896:9bfc with SMTP id s34-20020a056870612200b001b3e8969bfcmr1776733oae.4.1688566120658; Wed, 05 Jul 2023 07:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688566120; cv=none; d=google.com; s=arc-20160816; b=hFkEPKs8Vu4aC8aF4zYeXDoK2wT29w/J1ltGq15EUUo8dMveXBqzVlk+HglMYTJ/Nw FI/SZmB06XR8ANRtO/uPxiUwpvdKeVQVA1zCSZYWdZqmA+rxH4yttRfcAmZJfmwLqGfm qQGrWz64pb6c3r2b8bnrlgOCg9vSramwXOZgUm/sRXTqptvW56XiM/PtLXHmmtWgOHY4 /j+EUAeX8hnHkoFgfmQ7hdcOXysWRi8tlhCoSoY9ziqvUldQQGBkFqw5W3r6OnSrAxmK aoOy/cut7eKwdAdFcN13ST7R8rJnKANUHSAzXHQNlzn+fNNgYO2udv5fFk8f10o1+edw FczA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=B8RY0oLrcN1ziCn11wNT5C3sfW5R+ySCTN0M0/9f5vY=; fh=3rLEKqO4yJKtZMH3ZzohpSBEaN0oSHW6IhV40juD3jE=; b=0WAhWoUw43OF63AEKnp35Lj+8Mp//3uEk1n5fvNUZb3bBP3BCM7mI/uC0XOWcYbBS5 sruq5zPs0WFUPE7dcexEWhGlpivADeLo97LWyIS3CULhMeEtk7DpoOHpcUexAxkjWRzo 7tlxYbEjoGROJY/hK8biXDU4UdoaPGfh/nmSKaFxPzsAAAhs4e2EQz5aKL6nU7VPUV6U fjij/+SwXIOdJWVVrq6ZCytW22pqo2Nb7p9ltR6JXmXK47cgYKBaiaRVoj8XxhHxOfm3 QXlIbEUSmtCSsS/GWgXt78Jk8L0iklpQ4YuVqae4dvAI1yyvR41oR4hGhzVw89mRXzvw keqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jp3mxKwY; 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 g63-20020a636b42000000b0055798b90375si21954812pgc.709.2023.07.05.07.08.25; Wed, 05 Jul 2023 07:08:40 -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=Jp3mxKwY; 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 S232276AbjGENgj (ORCPT + 99 others); Wed, 5 Jul 2023 09:36:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232125AbjGENgf (ORCPT ); Wed, 5 Jul 2023 09:36:35 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C85C1713 for ; Wed, 5 Jul 2023 06:36:34 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2b6afc1ceffso110791111fa.0 for ; Wed, 05 Jul 2023 06:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688564192; x=1691156192; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=B8RY0oLrcN1ziCn11wNT5C3sfW5R+ySCTN0M0/9f5vY=; b=Jp3mxKwYNkkoUnXXhfNDZ+p+0OtWAFBF8gqXp/TXxIGXxj1hRUkkn2R81H8QfhQBJ1 dp8bzRj8qcnwv4aW7V18GXYJZqzzHINZEJXEvleslxa3ij7SYlcsluM/Ecajieg03T1t aBaTnlUm4a/S+AovBnTJ3UFAs2bhmNwm5gWjv8fQ62quSMWiKVKhcNc3unWChizwi/Rf 9prmkbnYSvsCRGbLV+u4B8vw8ny/Rf7ni+/I4VbdbmQrH2Inh9mspgM0LjWXZNXQX+UG Nrp7/StM1jQ3mF+G+kIeVNL9LoKHbCBk8PDVtlTIlUmHYS5Q8AMAtUAzdtdZA09Dr0hY 7uSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688564192; x=1691156192; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B8RY0oLrcN1ziCn11wNT5C3sfW5R+ySCTN0M0/9f5vY=; b=WcuJ6W5+UqGqi6wKEeRL4IWMATRVMr6XHdW09DgOs9qYiByVb9uNcqrjwouEyqKJpU qbDDZS8wEpAHtJJhJcYacQpm8ed1lpiC/En4vT9USdSvn1z+KAEfc34QN4CXtsCZ+KTm /9X8/6+4cCcKFTHvf8JyYZewNbVxWvju8eRIX//cwYmTRfxnO/PyCA1meT9kjPGynZ4X 3qNxyaZiVBJDLAbiYElThE2RkpojT/mS6eIkGT0GgYKdGA9wlbFjaYgyc3jNECF4v3Um fu/85PS4es9vUL4zn0eRT/DYRrNg70ksNukTfdkwYQrj8aI4/Sfhdpit4bAAqzYQlih3 HuOA== X-Gm-Message-State: ABy/qLa1huoBsrNN/f9F6ezWF8GWQuGW9byQSCN/LvIlAl9EYeXQC/C8 Hcff+yCISR7tqxvBZijj5YsJvw== X-Received: by 2002:a2e:b003:0:b0:2b6:fa3f:9233 with SMTP id y3-20020a2eb003000000b002b6fa3f9233mr3089622ljk.46.1688564192720; Wed, 05 Jul 2023 06:36:32 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id z16-20020a2e7e10000000b002b700952298sm246803ljc.33.2023.07.05.06.36.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 06:36:32 -0700 (PDT) From: Konrad Dybcio Date: Wed, 05 Jul 2023 15:36:22 +0200 Subject: [PATCH 2/3] arm64: dts: qcom: sm8350: Fix CPU idle state residency times MIME-Version: 1.0 Message-Id: <20230705-topic-sm8350_fixes-v1-2-0f69f70ccb6a@linaro.org> References: <20230705-topic-sm8350_fixes-v1-0-0f69f70ccb6a@linaro.org> In-Reply-To: <20230705-topic-sm8350_fixes-v1-0-0f69f70ccb6a@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Foss , Vinod Koul Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688564188; l=1330; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ooYmQL6SkQkkWldHfPPw/4CdhDWAvNOD09W/OjxDDVk=; b=HYmLCG3uLYSMmBCcd1xWjYslQpb362zInqSFP19FBUp5aJ0ODv7GRkC7SdlLIWgZG5tgi5tv1 WV+oNEzjN4FD26urwK6lhu24m/lsmDhfcQz/PpR5uw8dWappp/J96/W X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770589908664880868?= X-GMAIL-MSGID: =?utf-8?q?1770589908664880868?= The present values look to have been copypasted from 8150 or 8180. Fix that. Fixes: 07ddb302811e ("arm64: dts: qcom: sm8350: Add CPU topology and idle-states") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index e1a09d4a83c4..4981a502d4ce 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -246,8 +246,8 @@ LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { compatible = "arm,idle-state"; idle-state-name = "silver-rail-power-collapse"; arm,psci-suspend-param = <0x40000004>; - entry-latency-us = <355>; - exit-latency-us = <909>; + entry-latency-us = <360>; + exit-latency-us = <531>; min-residency-us = <3934>; local-timer-stop; }; @@ -256,8 +256,8 @@ BIG_CPU_SLEEP_0: cpu-sleep-1-0 { compatible = "arm,idle-state"; idle-state-name = "gold-rail-power-collapse"; arm,psci-suspend-param = <0x40000004>; - entry-latency-us = <241>; - exit-latency-us = <1461>; + entry-latency-us = <702>; + exit-latency-us = <1061>; min-residency-us = <4488>; local-timer-stop; };