Message ID | 20230531-topic-rsc-v1-1-b4a985f57b8b@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2878780vqr; Wed, 31 May 2023 06:26:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6IfuZFulZ4E6JiqzFwECsZ1amfn+U6sHIIElHj3uD5arS5ESwsoyFa+eGmeQ6h8PBxqKyc X-Received: by 2002:a05:6a20:a108:b0:10c:6956:a23c with SMTP id q8-20020a056a20a10800b0010c6956a23cmr14076258pzk.25.1685539583809; Wed, 31 May 2023 06:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685539583; cv=none; d=google.com; s=arc-20160816; b=y+b/EK38Gi7sX+qGLMxnENMo8gX16a7guG5CoQ4AfeY9yWCM07hUR+L/h8H9bjyJ4H 7UqI32/QDSA0TnioXT47px5/372vrlo9S4IwpvLCSnaG6MKtq1Fyu67EzQW+sEjoxl3l pQM4UTxP9oP03qT2wnELWXD9QkwfJVn6/ccWCpZaEl8MZRDtJYTM7ReB5pSrA4h1AZSb 8Ld7AzLisigvNGG0WdR8KjvPQ78IPrm6jqxKuuLLc8zZi0smTuDXuEkssrWHHsWeirjz Ej5l8GPp74bLqoTxzIFFJA5GRgriEY9QjHVj55YURnxHNLN0gmAFusLW0NeCwbgZtvuV 7O6w== 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=1JKYiKf4WFoepDG7kmkdMIn6G2nwJhX9hDLD5w9hRh4=; b=0MMjnuDqsekrBITm0y6ZEIa/xUxnkhW++BZQYpOoCPMG69IsPweMBRqgla95aqQWQs z6dV2H9lTm6XNmOoM9MHzgWq1EUELruAakmz9RG9II+n3TlHeSTLGZhTlx5OxeUIlNqE 3Gc00N9XX9LPgR5GDne7d3gMFVLJAV4Kcaern5G7LeQXCyaIRZM6VWQe8Szge+igyqsF ZckAyhOGoyiMDxBFe32Q7caXwcQpBFoPOGionzFRgcD9KCT3ZsRmFDeo0dVpF/yZqAth sOUZWnzaeEwD5SoRyoJdbpyhWngdwQzptMj9TF+uZfdnFS/TJlEJVOorVotI2HxYWMdJ OoqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=COq5zbTT; 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 l17-20020a637011000000b0053076a4da8asi881911pgc.770.2023.05.31.06.26.03; Wed, 31 May 2023 06:26:23 -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=COq5zbTT; 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 S236379AbjEaNWx (ORCPT <rfc822;andrewvogler123@gmail.com> + 99 others); Wed, 31 May 2023 09:22:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235961AbjEaNWt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 31 May 2023 09:22:49 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EC4B126 for <linux-kernel@vger.kernel.org>; Wed, 31 May 2023 06:22:47 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4f4b2bc1565so6556517e87.2 for <linux-kernel@vger.kernel.org>; Wed, 31 May 2023 06:22:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685539365; x=1688131365; 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=1JKYiKf4WFoepDG7kmkdMIn6G2nwJhX9hDLD5w9hRh4=; b=COq5zbTTMl/Il2oroAPsQu387YsO8bcsv3rUCk0E6TrpxJStBB0ewGqKobvxPlw2Av Jcno/cqIoWjjdVHNslUKDgU+s+iagQcLAuGbSb4YWhDApd32ZNz6oHO2VSo6wxs2QVql Wy1lcyHLPd3jcf+M2ojuAcvJwdrB1nEQRe7CEXjzsQWkzDZmjhBsGXtBslnYiGrc0VzA MtoJvKs1umoynbs9yZ2j1uZzb/T6/S+M2MfjTYFC8+GGHovMoJW+Nl6gWGBiOBa0A6XP +g/D7t+HAgxYX0+rCfLEBZcMXD2vryxerI9KMx4A7yDob4qkEHN5+SRhyJx9IF9dDU5S ED+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685539365; x=1688131365; 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=1JKYiKf4WFoepDG7kmkdMIn6G2nwJhX9hDLD5w9hRh4=; b=lGT/v4KK34+JRColdlUmivwRP0jqwhvNP18083sZlB4lZ7Y0W+kWCIB6v0xxsuc11D FYFqTkhqX62HP/911U/6ryzCLG5ZdsckjpZqqVXtUgDAMICBKbIqPmIZI7J2lvhCfOeN XZnGa0jNNk4HNbIvMAf5D8uyZV/Vwzf8cpprOKf9wzeLoMHrIFVkCp+OsH8ElvJQjkex QfH0ZLCLPyhLUXNLT8YcN0Rn7N5b6AQUV+lfRDLEZqEXXazDPjcWLDOARIUQ0/cbUkpR S1/qFrMpeDDibo9Stk/hjYatC0n186NRjAWOk5dUrwx70p+3K5UR7KJwxagoF8Rbcmty pF5A== X-Gm-Message-State: AC+VfDwDCQvNAvQomFAHTZee0DIJ8NKobXRlrBDjBgUoQbAfpZvveE4q JGIEetHhLhvhwmknn7qKf+GXyw== X-Received: by 2002:ac2:5303:0:b0:4f3:93d4:2bc7 with SMTP id c3-20020ac25303000000b004f393d42bc7mr2636780lfh.36.1685539365516; Wed, 31 May 2023 06:22:45 -0700 (PDT) Received: from [192.168.1.101] (abyj77.neoplus.adsl.tpnet.pl. [83.9.29.77]) by smtp.gmail.com with ESMTPSA id w8-20020ac24428000000b004eb0c51780bsm720138lfl.29.2023.05.31.06.22.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 06:22:45 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Wed, 31 May 2023 15:22:35 +0200 Subject: [PATCH 1/8] dt-bindings: soc: qcom,rpmh-rsc: Require power-domains MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230531-topic-rsc-v1-1-b4a985f57b8b@linaro.org> References: <20230531-topic-rsc-v1-0-b4a985f57b8b@linaro.org> In-Reply-To: <20230531-topic-rsc-v1-0-b4a985f57b8b@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Melody Olvera <quic_molvera@quicinc.com>, Vinod Koul <vkoul@kernel.org>, Richard Acayan <mailingradian@gmail.com>, Lina Iyer <ilina@codeaurora.org>, Douglas Anderson <dianders@chromium.org>, Neil Armstrong <neil.armstrong@linaro.org>, Abel Vesa <abel.vesa@linaro.org>, Sai Prakash Ranjan <quic_saipraka@quicinc.com> Cc: Marijn Suijten <marijn.suijten@somainline.org>, Bartosz Golaszewski <bartosz.golaszewski@linaro.org>, Luca Weiss <luca.weiss@fairphone.com>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Gross <andy.gross@linaro.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1685539362; l=1288; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=WglQhLbldyvnWzPBrjju0jtd9AVV7mA5SfLScXjhzs8=; b=S52hqN1JXHaGwbGDFbUsOhaB5i4ksxo9xYZWuKR1BSbhWX2slaYLV4qP1zT02k/PnVEZV1iAB xuhK81Syaw3AUTe+hud2ETdH9/aRl7RIzmD7Qq0pqxdX9wRvE7BsZ9l 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=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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767416354582366793?= X-GMAIL-MSGID: =?utf-8?q?1767416354582366793?= |
Series |
Flush RSC votes properly on more RPMh platforms
|
|
Commit Message
Konrad Dybcio
May 31, 2023, 1:22 p.m. UTC
The Linux RPMh implementation refrains from sending some RPMh votes until
the system is about to enter suspend (which is indicated by all CPU cores
entering a low-power state). Lack of the power-domains property will make
it such that these votes are never sent.
Require the power-domains property as discussed in [1].
[1] https://lore.kernel.org/linux-arm-msm/20230512150425.3171122-1-quic_bjorande@quicinc.com/
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml | 2 ++
1 file changed, 2 insertions(+)
Comments
On 31/05/2023 15:22, Konrad Dybcio wrote: > The Linux RPMh implementation refrains from sending some RPMh votes until > the system is about to enter suspend (which is indicated by all CPU cores > entering a low-power state). Lack of the power-domains property will make > it such that these votes are never sent. > > Require the power-domains property as discussed in [1]. > > [1] https://lore.kernel.org/linux-arm-msm/20230512150425.3171122-1-quic_bjorande@quicinc.com/ > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml index a4046ba60846..af632d0e0355 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml @@ -124,6 +124,7 @@ required: - qcom,tcs-offset - reg - reg-names + - power-domains additionalProperties: false @@ -179,6 +180,7 @@ examples: <SLEEP_TCS 1>, <WAKE_TCS 1>, <CONTROL_TCS 0>; + power-domains = <&CLUSTER_PD>; }; - |