Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6709225rdb; Tue, 2 Jan 2024 10:31:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwiw16TQoZBj3ekPAKP70866OwlKBTq3F/zVcNskyP7RlcUsnxxfRF0GPeL9rJtuIeqmI3 X-Received: by 2002:a0c:be89:0:b0:67f:c741:ddde with SMTP id n9-20020a0cbe89000000b0067fc741dddemr19873569qvi.64.1704220278088; Tue, 02 Jan 2024 10:31:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704220278; cv=none; d=google.com; s=arc-20160816; b=acgay78vyqWi/88d6ZG+x81TkYXUvq/riNaeZPjMjBPmOYM1eLMK05C1Jx5XpPzhDX aadlvk4kj237JrsqGQ3GbJsfHIlE4kDQcd02TcvFDF+joy8JcRzZj4H1C8RIKImicWtK ZNiAqrG0zzwZz9gs63xAYBU/IuQ8x4rCWm2ABNoOQzWFi5jPvLxBlHMA2Waa8U+3SujU mVyShqoppcymWc5G67AkNJMOhJ1MnMd88Iy/eYhyhsG6gaPESOn8Y6wmN+97unjdTHuj O5Ilesx7nLxfWEGkzYtmpCH/WGo654N5upLqNqKUj4f5PFsffSALvXOLKtONtccNlfiR SDrw== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14712-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d10-20020a0cf0ca000000b0067f3c4a99ffsi27503290qvl.317.2024.01.02.10.31.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 10:31:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14712-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D336D1C2268A for ; Tue, 2 Jan 2024 18:31:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87249807; Tue, 2 Jan 2024 18:30:16 +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 ; 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 ; 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 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: List-Subscribe: List-Unsubscribe: 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 , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rajendra Nayak , Sibi Sankar , Abel Vesa Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio 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= 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 --- 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 { , ; label = "apps_rsc"; + power-domains = <&SYSTEM_PD>; apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter"; -- 2.43.0