Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp11387488rwr; Sat, 13 May 2023 02:32:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6IdZXZQIK922n/TAxAD9M0fKC+TtH6HqdCZ9XyKq8ZiDBm3A1hIhhrJuqel5siICHl0M5O X-Received: by 2002:a17:902:db02:b0:1ad:e633:ee96 with SMTP id m2-20020a170902db0200b001ade633ee96mr5773882plx.55.1683970368621; Sat, 13 May 2023 02:32:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683970368; cv=none; d=google.com; s=arc-20160816; b=HK4BWQC8Y2ea508eHCD2qbffteccJUhktvblPlTG/0VKuEoDXeHmBovUqxKOacpMJ/ ZkUdDdByxbC8ihXaJ0lDkpO2PP3Sq3iq/kYecXX78HfGD09YPszeuQwD7gw4WMJRc7l8 P40CCRck8oR3yz8o3tLBc/xMcAs2dXNiTm+bNBYyGCutwQKNdhLoZ8uTurivfhDxEzIR E/n2vK9BDQQDb+fEzeAmYFEgOwT6wMoyR35in4KxoPWoTPPJPLoMi4XRc0RsaD5xDybU hBokBnjjdPLo2iZQV6nFYPFgAc548Jhh3YLy7vQxY5miJiQnrWx7SOVjkejQsZ5AD89m YvIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=0XVnXZFvQEsqa79rEwn5T6CH1CtUAwGaKR7PKUSsQxA=; b=PklUQFs2P/YOZeM1p/MjdhjvIwrhNBV4xETSsh0TBLTdLkZsOD8uL1+jKDrlKw4PFU kNu2Oz6XAEtWwlzxW3t1crj8lvjPHvOpKEGMWijT7nQFE+Q7qD7kHtDSQSJ0LmJAcnys n81uwQYLw1NDQ+hd1qIpxZBWqHr9sGKB6wcwY6yEQ7iUxl9t64/8ax/a9Nj2J4MV1lWI 0Sb6XxUn3MC+JghOjZUfBHr2Fc5z8jp2TumcZ4yJdKNhjsxEu0tlyazdr9Spm8zl/mNc 3t8kmSFRMwK9fucEhAG+LVN3EDb3I5lbfWQKo8XBp/fV09kTp/rZQkbn36vnaLtj1yTB wvPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aVMq4tqn; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l10-20020a170902d34a00b001aafb271d13si10592532plk.235.2023.05.13.02.32.36; Sat, 13 May 2023 02:32:48 -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=aVMq4tqn; 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 S232713AbjEMJJP (ORCPT + 99 others); Sat, 13 May 2023 05:09:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbjEMJJM (ORCPT ); Sat, 13 May 2023 05:09:12 -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 DE0BA1FDF for ; Sat, 13 May 2023 02:09:10 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2ac88d9edf3so105632171fa.0 for ; Sat, 13 May 2023 02:09:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683968949; x=1686560949; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0XVnXZFvQEsqa79rEwn5T6CH1CtUAwGaKR7PKUSsQxA=; b=aVMq4tqniH5yF4T4yGJrOBgFXvLGdMrWlb0GBvJH80rQXMatI3bZmWpSRBTq4v4xc+ c9CxLS9fN4j4om/4dP+q/JXrFqQ04A2BD4ZxpGV1JqMUIyfDEq1yOtleTo+1N4IrhVIT I36J/Yz0dF5rZPPKr8eYAJBpwrshqL11+ROQowRrKv9Dd9hQbAYsZI0pX9dNJMtymzw3 y/6PPRZOwy3vZ3cIc2kybyyBna/Hh9R24QPfsjzszWuBgVWnA/AWgymA6eohTK/JDzYC N29jCrLNs2L4PvGpgpN10k4ZkMBNxwJa7x0UxZ+20gs5y6qt0dcOMJeH8d50Pq6/IZoz 5Yzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683968949; x=1686560949; h=content-transfer-encoding:in-reply-to: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=0XVnXZFvQEsqa79rEwn5T6CH1CtUAwGaKR7PKUSsQxA=; b=OikGo7By5BLhhf6+aPLadp6MxFtM6ejxRzdBL7zWzCo8IU7BeuE15RKWFGn+ckMYf8 sS+eOgxAkChhPZNdaH2jPQTo9o0agJU/x6IMWFQ3HQt+v7LMNRuuWqzAss10MKwTvsI0 myCA6tlV1rhudjx7dcRjx8vu3LGHcwyg4w8RUwRUYpWcQPnxOk5hkvbakAzvbEim168K MAM9Ecu5moClt9bgQLAh5gvDn3GS5akbNDyf3COXwXQc6QBrYEsxJ3jYO6j8oSMJznLq GyqHthP06Er1DbjnTPOnKGMPfyKTJJUHpGjkjl+UQPhuL8u2FH5Z9dnDb/lCyYy8gebg DiCA== X-Gm-Message-State: AC+VfDzKf/P7d0oTgCDq9VlQaVwpkZqRosUF0y7qCWR4W6c8/eBLUAh+ CS85vxx0i8FwCfgfIS9Rt2Udmg== X-Received: by 2002:a2e:2c09:0:b0:2ad:bb53:8b9a with SMTP id s9-20020a2e2c09000000b002adbb538b9amr3370782ljs.20.1683968949108; Sat, 13 May 2023 02:09:09 -0700 (PDT) Received: from [192.168.1.101] (abxi58.neoplus.adsl.tpnet.pl. [83.9.2.58]) by smtp.gmail.com with ESMTPSA id v21-20020a2e87d5000000b002adb10a6620sm1369608ljj.107.2023.05.13.02.09.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 May 2023 02:09:08 -0700 (PDT) Message-ID: Date: Sat, 13 May 2023 11:09:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp: Flush RSC sleep & wake votes Content-Language: en-US To: Bjorn Andersson , Andy Gross , Bjorn Andersson Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230512150425.3171122-1-quic_bjorande@quicinc.com> From: Konrad Dybcio In-Reply-To: <20230512150425.3171122-1-quic_bjorande@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: X-Mailing-List: linux-kernel@vger.kernel.org On 12.05.2023 17:04, Bjorn Andersson wrote: > The rpmh driver will cache sleep and wake votes until the cluster > power-domain is about to enter idle, to avoid unnecessary writes. So > associate the apps_rsc with the cluster pd, so that it can be notified > about this event. > > Without this, only AMC votes are being commited. Ouch. Should we make this required: in bindings and add it to all platforms? > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Konrad Dybcio Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") Konrad > arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > index 8fa9fbfe5d00..5c68f2182c2f 100644 > --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > @@ -3982,6 +3982,7 @@ apps_rsc: rsc@18200000 { > qcom,tcs-config = , , > , ; > label = "apps_rsc"; > + power-domains = <&CLUSTER_PD>; > > apps_bcm_voter: bcm-voter { > compatible = "qcom,bcm-voter";