Message ID | 20240102-topic-x1e_fixes-v1-4-70723e08d5f6@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-14712-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4616319dyb; Tue, 2 Jan 2024 10:31:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHwxwdmOyCEbrX/j8bfo1sqZDSNNVJNGPsvgt/YOC22uVO3AY5VypYKqt9UDZaNBDje1RNb X-Received: by 2002:a05:6a20:244d:b0:197:31fc:ac9c with SMTP id t13-20020a056a20244d00b0019731fcac9cmr1265072pzc.93.1704220305370; Tue, 02 Jan 2024 10:31:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704220305; cv=none; d=google.com; s=arc-20160816; b=BlmKcMG8XkdSSeq6AF5OgExHJgo4tdJoQRYuqvkJN6MupJCY7VcGpIjbjuquGzATzf ZNB6grDa0dUSNL4L682IiiY9mm9MowHrqBvJPyU7Buigta4/B6uulSjEcXtsWuspg8L6 TbGnB+V8MhpbObGE8yxadcjdbrzqnXsdGswsYYaV/q8oZOSSVsOrZ4GETiblfLW8RG4h NnpR3mAndFkNtdeMWdqeMM9eiigfRBed5ajVVFjFsHTH4AMIclIDe/OtfEhFeCv3b1Tc qMKdSimJcrRvE4seEAQj5dvzk8FKVOTBTQglKL5sEkw/n1dVlqlIqdioyqpWaNK+4Icd dUBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=cp5GNYs8COIpVS3xr0MHdRdJQ4iBxaqmuCTnKQzb9HQ=; fh=abWHT0gruN04VtU/67N35wa/OoDL96DTeLZkJJJhBoA=; b=YytVZuRDeZ/p+6Uk9FTNnLlhQ88fNcoWfiBjFUp+YCsKlzSZqilaQ0D2Hw9PDmvKwY 9AQ9+oM8unAc/eOh2erjospuPiiQd1ny4yW6W2ZEa+4iYBo6cVOo+TJtc1y+4ig14XiC VJoftx55vicHIpVpnq5LNQDWTOMwQ0U/ErlYNnMAHxTjHS45kCNd8B1oyRr534ik/VSk Fokn57vEPC5m1HlPifCUEOso1Yt4WRz0rER7lQCSMB4UH8yFqo6q9coMSrRW5ZBcGmHq zXkbFS4P4jtaU930RIh1MjLeRaogdBIoBBikHhMvfvo1cSDZvFQwP3YaY/7SOKFwFze2 NulA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vWcnYTO1; spf=pass (google.com: domain of linux-kernel+bounces-14712-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14712-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 6-20020a056a00070600b006d9b870ddb8si14492754pfl.349.2024.01.02.10.31.45 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 10:31:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14712-ouuuleilei=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=vWcnYTO1; spf=pass (google.com: domain of linux-kernel+bounces-14712-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14712-ouuuleilei=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 291F12843F0 for <ouuuleilei@gmail.com>; Tue, 2 Jan 2024 18:31:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 587C6168BB; Tue, 2 Jan 2024 18:30:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vWcnYTO1" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 6B32A15EB0 for <linux-kernel@vger.kernel.org>; Tue, 2 Jan 2024 18:30:14 +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-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5553f251e3cso4150720a12.2 for <linux-kernel@vger.kernel.org>; Tue, 02 Jan 2024 10:30:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704220213; x=1704825013; darn=vger.kernel.org; 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=cp5GNYs8COIpVS3xr0MHdRdJQ4iBxaqmuCTnKQzb9HQ=; b=vWcnYTO1HYUYJviMjPW/Omttgckm6yu/65N/K/836mrO/+6fo5Vg6ZSXbV4GcRtDah 0AFYeoLi3J/YIzfEyQtRvWpoDB/giitUw9ln9w1T4duMJbqxQeHgRioLbA2oZOwIkk6D iJOJfBFIy/PR57nwxHTHH8xj86R8X1KUZ1FOUcKITx0ctMD4VXmSKTxIHwg2mZ5deUQF YphfV+nN3cS+pBTDYxTZlD48yLKlDq/1IM1rvcG3ISlvGei5COmuvfs8FrXdCpjRDFwy v3EUpGd9Kj9JSnEbrm3xsFR1J/g5wbU6SBG1V3KKYptKzH1ai7911xxG7CuwDMDpPHOY v17w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704220213; x=1704825013; 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=cp5GNYs8COIpVS3xr0MHdRdJQ4iBxaqmuCTnKQzb9HQ=; b=DOVJ0pNqGAXDkIVgxkTQrUlWcPHcDE8g8lfXRGJnxsufzkwA2xvxkK1Dfrj7tBAmbf JhcjQQT6R1E3QSt4Ar3uh1pTHP2Q/dqwemuGRGt0LCmq23R3j5VCzk3fVtw+fpBJuqwY s7FkCOMokeUg/k+AicKSpLfqMCn+JpTIPSCo2PaOQJ2BAsx1HX/GNp3QnNqEoHNz2/ya l/9F2I0sESSUgME494c8EFal3Nsv+iU/+Uh9Mk5CkCCwTvq3aDTem1O177YefbEBMgVH /6tLN8szY1GxbLSTScUoBMUOuCRTDXFdQkdT/8hwJDa0Ax//A9hqnP2kdV2oXTfNQMOR bJrA== X-Gm-Message-State: AOJu0Yz4pV2XlcjW0fsYpj5fkbY9o5mmqDzxs0XsGNf3d6sLs3a093tN /ClD8Aj0QkJ8obIafGAFKePjOxb6LhFkM8rCbCI4rvXzCKg= X-Received: by 2002:a17:906:413:b0:a28:2165:7c74 with SMTP id d19-20020a170906041300b00a2821657c74mr1307851eja.13.1704220212903; Tue, 02 Jan 2024 10:30:12 -0800 (PST) Received: from [10.167.154.1] (178235179036.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.36]) by smtp.gmail.com with ESMTPSA id et10-20020a170907294a00b00a2699a54888sm11968835ejc.64.2024.01.02.10.30.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 10:30:12 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Tue, 02 Jan 2024 19:29:50 +0100 Subject: [PATCH 4/4] arm64: dts: qcom: x1e80100: Flush RSC sleep & wake votes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240102-topic-x1e_fixes-v1-4-70723e08d5f6@linaro.org> References: <20240102-topic-x1e_fixes-v1-0-70723e08d5f6@linaro.org> In-Reply-To: <20240102-topic-x1e_fixes-v1-0-70723e08d5f6@linaro.org> To: Bjorn Andersson <andersson@kernel.org>, Georgi Djakov <djakov@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Rajendra Nayak <quic_rjendra@quicinc.com>, Sibi Sankar <quic_sibis@quicinc.com>, Abel Vesa <abel.vesa@linaro.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1704220203; l=982; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ZMHte+R+v5WQ2x6Ng6sIhmvNpiEdoapaHW4wE0VSFZ4=; b=7um3uB/1kZ41KjjEu9/1KhmrD49Zm4CmzwAHeG/8u+R44ad6kRC5yv6KeqQ8a44EBZeBZKKAG sZ5DqheX/UACWzaZr8mqKzg6SQO0/ZNgd/wLY4Ks6b0ACbRoShImT3b X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787004510715465585 X-GMAIL-MSGID: 1787004510715465585 |
Series |
X Elite fixups
|
|
Commit Message
Konrad Dybcio
Jan. 2, 2024, 6:29 p.m. UTC
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 committed.
Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
arch/arm64/boot/dts/qcom/x1e80100.dtsi | 1 +
1 file changed, 1 insertion(+)
Comments
On 24-01-02 19:29:50, Konrad Dybcio 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 committed. > > Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts") > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> > --- > arch/arm64/boot/dts/qcom/x1e80100.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > index fc164b9b3ef1..2a14e8e39b3b 100644 > --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi > +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > @@ -3334,6 +3334,7 @@ apps_rsc: rsc@17500000 { > <WAKE_TCS 2>, <CONTROL_TCS 0>; > > label = "apps_rsc"; > + power-domains = <&SYSTEM_PD>; > > apps_bcm_voter: bcm-voter { > compatible = "qcom,bcm-voter"; > > -- > 2.43.0 >
diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index fc164b9b3ef1..2a14e8e39b3b 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -3334,6 +3334,7 @@ apps_rsc: rsc@17500000 { <WAKE_TCS 2>, <CONTROL_TCS 0>; label = "apps_rsc"; + power-domains = <&SYSTEM_PD>; apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter";