Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp45837rdb; Fri, 5 Jan 2024 02:07:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IFs2/h5I+DWMAy9f476qscmmxp7JKZckuPlitMV0eQf/GRDY25bLXh0dDwISdZ7W2/i4yYf X-Received: by 2002:a17:902:c94f:b0:1d4:f29f:e13b with SMTP id i15-20020a170902c94f00b001d4f29fe13bmr217417pla.40.1704449233628; Fri, 05 Jan 2024 02:07:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704449233; cv=none; d=google.com; s=arc-20160816; b=1FGw4xp3R3HIHg5fwHu+PxIWsRTVpuvCoTeeevTb98v+urjcy5E6ONwcH2Ns5rIXzQ 50Hrdfvf32NVUNGryw3o3HLchFsiK6R0XccCoo1PWb8GkjVefuGxzK+/BjH/DQnKEd3t spZBf9YQwKgPLXmhAF6j8g2KDU0hOOA3YfjYrREZuy3i5YIVCOHFoFSTxQx0TH2tit13 HykiSwg8JONeQnVAbjvd7IT1tGBcSg9Qc4WKCmYlyMOM0+7Dh93MyJ4RLq6U8z/wv1Rs 3V6nXBA8mI0YTBeEA07Er9RsSvesZxTo4BKYe9UxdyRndW/JQHBK+8SVmUN54QIobpMf 3Xcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=0Xd1Z6iLTxN3FGv4QwEP+gpZbn66m6te2k95J2YN3OM=; fh=pM1rXBpJqcyhn7CbEliPQutL6eFR+WiUQ6JLIYwVCGo=; b=Zua8PTPY6gL23OYaTdB2MV56E+BbFo/k27K8qbVx59QIeoj1PMQGvFXMDCYbONTUjK KHbJRolP3LLiD3lW+DZVTa7dgywsQdpRxUOEo1Y4AnSm3SPD2nk8xSPBL/oymZ6abGo5 BwvbLkHi87Tz6iLDPvdmxh+BO4mqYB8gmP//rVXejQVgCP04smBDb/EZE6D6qNpHHXPF 4ypm2yS/J/xhKYMhSKtbeTuFhNmohuqZ/ej1cXJNftGmlvZL10WrAX3CjjaAgW92X31D 0kCICbbtNAB4hnpPQRrjFgNKv2/my5RBgJWSU90/gnWeooATSq0frr2gxBy7uHKML0nl KhuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b0vRR7zs; spf=pass (google.com: domain of linux-kernel+bounces-17710-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17710-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c3-20020a170902848300b001d4b4daa27dsi950742plo.19.2024.01.05.02.07.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 02:07:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17710-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b0vRR7zs; spf=pass (google.com: domain of linux-kernel+bounces-17710-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17710-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DF26228840D for ; Fri, 5 Jan 2024 10:06:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8D5D24B32; Fri, 5 Jan 2024 10:05:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b0vRR7zs" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FC9224B29 for ; Fri, 5 Jan 2024 10:05:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a298accc440so8884666b.1 for ; Fri, 05 Jan 2024 02:05:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704449154; x=1705053954; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0Xd1Z6iLTxN3FGv4QwEP+gpZbn66m6te2k95J2YN3OM=; b=b0vRR7zskDhWI6LQ0HDas4If/ofbVKf9y1JbpFZd2SWXcbop5Xvzx1Z2i9xa+S/zJ1 2rjCK6KMk0QBlOSwmYV3MZhUa9KnQKt48l2M0O+GgpG0CQ0w9nt82RQPuP+rejz7zcIB rTPGwofxKGnFntjzkvqZZ+OWH/ZRuuyfBBWAKToAdvMSDG9zVd2w37Htpdp8RMhhBBQ3 IcpVXewFVk/p2LWOnUuZad5BGwhQK1MBDL8sySqcPWcBYpUPJG6pKAzfIHHE8SqsB9KI 1X6P+aHPYUAobTrisGPlY/2kCOA5EB1C1IKuY5ODo2I5tA5126bVhVLVrWIQGS5pQosp sHRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704449154; x=1705053954; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0Xd1Z6iLTxN3FGv4QwEP+gpZbn66m6te2k95J2YN3OM=; b=Wcxhrw71xoUhwAMkGpcaiQ5G4nZz3eos0G5r23sF7YcFMX4GMMOtrtrT/svwJFVrpY K4dW2DxhpuyDxP3mEqQkSx54c0HcRn199RBXPzLQN+jZprKwxvMfzloVOuWyJfsxuc4X dP3MtpWoNGBYpovJD6P7sAT7tytsdTj3ZwnfAl3/UXun5jqop+iu5YVF1U0nf5sUUkON UrnOaCpt3yf8ClwLf4bwi4/zUl8nezTtQbhVBSllFngn92ZjV64ODxlowS38RJiIO0tB z1jkRNiswxxOPcd6pDtpfYPSOM5FgXPsIMpvJ6sdwW0WoJlzGEIhOwEVm66vhFgh1C9Y t4pA== X-Gm-Message-State: AOJu0YyYJPG2MgTT1ZXyYEocXbWjrPuoGCD8JLdyBsMAoeTLGDq5ZpWU 6TflETdX3MwWDQGzYNer82SLG0h0xZZNpw== X-Received: by 2002:a17:907:980b:b0:a23:6c6a:41a5 with SMTP id ji11-20020a170907980b00b00a236c6a41a5mr1173582ejc.45.1704449153904; Fri, 05 Jan 2024 02:05:53 -0800 (PST) Received: from [192.168.199.125] (178235179036.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.36]) by smtp.gmail.com with ESMTPSA id wh5-20020a170906fd0500b00a294c744fcasm459156ejb.182.2024.01.05.02.05.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Jan 2024 02:05:53 -0800 (PST) Message-ID: <9e79a460-9a1d-493c-a430-63c416e3d992@linaro.org> Date: Fri, 5 Jan 2024 11:05:51 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: qcm6490: Update PSCI suspend param for cluster sleep Content-Language: en-US To: Maulik Shah , agross@kernel.org, andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, luca.weiss@fairphone.com, cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, quic_lsrao@quicinc.com References: <20240105070223.11415-1-quic_mkshah@quicinc.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+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HsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240105070223.11415-1-quic_mkshah@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5.01.2024 08:02, Maulik Shah wrote: > QCM6490 uses Trustzone as firmware whereas SC7280 uses arm trusted > firmware. The PSCI suspend param is different in Trustzone for cluster > sleep. Update the same for qcm6490 based idp and fairphone fp5 boards. > > Signed-off-by: Maulik Shah > --- Nice spot! For things that are chrome-specific, I'd prefer them to be moved to -chrome.dtsi and then the "normal" (LA+LE+WP+friends) values to stay as default. > arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 4 ++++ > arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 4 ++++ > 2 files changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > index 176898c9dbbd..b56f6f26d96f 100644 > --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > @@ -446,6 +446,10 @@ > }; > }; > > +&CLUSTER_SLEEP_0 { > + arm,psci-suspend-param = <0x4100b344>; > I think the residency times should also be updated here. Moreover, I'm seeing additional sleep states here (APSS PC, CX RET and this one being AOSS SLEEP), with values 0x4<<4, 0x134<<4, 0xb34<<4 (the one you added here) respectively. Could you please add them as well, similar to [1]? Konrad [1] https://lore.kernel.org/linux-arm-msm/20230619-topic-sc8280xp-idle-v2-1-cde50bf02f3c@linaro.org/