From patchwork Thu Nov 30 14:04:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13474440 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="k67bzIRA" Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24AB9196 for ; Thu, 30 Nov 2023 06:04:50 -0800 (PST) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-54ba86ae133so1003942a12.2 for ; Thu, 30 Nov 2023 06:04:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701353088; x=1701957888; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=pGKbsrS8HFlOmn4rDPKznNWz+NWrUs797K33kLKZj4I=; b=k67bzIRAKeF4Q1Xc0xXT5FUCD2g8OHQtUR4k6qN9sixZdoBKa5/7GsHUw1D26H1ZKy Z2aF8LcyGuk6GJYBA2ZX/zoBvg5LPelKSMiznzfc0srPzJowpNT6F59bPQGTy/JHSxER 3JGUaogz2OjJY6jxYUvbjaHS28l0NpPVR5/CTFcj8s6M1jYmO+IQe4DnEz2RFI3BUHTD zUuBcriCwwCbwqE0yDhoJo9u5kYxpA4xykbBUHFfkqEUuJHuSw6+nynw5/+yEd0u4Z+j 5OEV1ajr4xaf+WK7LT0g2Z1i3t1N1+0rEbi7Dx405RJAb2ghvhKtCeFBpHA/tGqRMdSw QaJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701353088; x=1701957888; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pGKbsrS8HFlOmn4rDPKznNWz+NWrUs797K33kLKZj4I=; b=wNXVHWPC20UgXYhtdzSqdhIxNeWsabXUskyN3hcPu+P7zrYNMkSHPZhbJHtYm3N+PD yvmD/gHiGisjwt8sZ5LY3XrYMl6htFC+MzsWE2jNXOF+2gzIgAYEScMqruppuQXE+pVB 9Qmr5U5IHhbDSoe8lbY0vjcqy81iG9B1yCMsEQJq52ljtb9rkjxLF0q4GI/U30NhAm6+ kSirma1Rb4ER5UNXdz6meVjQt51yeoGBYmuv2msuo+IeiXowo36O2HPc/2NEFDKNrVkA R0cr1aYrlDYAD8uRSmwgBbYM/+gXwRc0TY+e3hQixPTAohjTPoNKb0rRxWj4RKaDm8kB D4gA== X-Gm-Message-State: AOJu0YzBcHd/AUyg+jeR7b5Yk5bLlfS8ZEytJjiugSOOkadjdjSMS1dW A6dcZT9fjKL6j8u57bVKwnYq3Q== X-Google-Smtp-Source: AGHT+IGngvHRwAbsjuw12JjGFczh5cjo82vLwrx0SzdSAuri3G83AegT+iTn/fzD3P1bdPfCNyaktA== X-Received: by 2002:a05:6402:2047:b0:54a:f3df:5814 with SMTP id bc7-20020a056402204700b0054af3df5814mr14049790edb.25.1701353088536; Thu, 30 Nov 2023 06:04:48 -0800 (PST) Received: from [10.167.154.1] (178235187166.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.166]) by smtp.gmail.com with ESMTPSA id bo19-20020a0564020b3300b00548a0e8c316sm571184edb.20.2023.11.30.06.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 06:04:47 -0800 (PST) From: Konrad Dybcio Date: Thu, 30 Nov 2023 15:04:45 +0100 Subject: [PATCH] interconnect: qcom: sm8250: Enable sync_state Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231130-topic-8250icc_syncstate-v1-1-7ce78ba6e04c@linaro.org> X-B4-Tracking: v=1; b=H4sIAHyWaGUC/x2N0QqDMAwAf0XyvEBbJ7r9yhCpMZsBqdJ0wyH++ 8Ie7+C4A5SzsMK9OiDzR1TWZOAvFdAc04tRJmMILtTe1w7LuglhFxonRIN+E2mJhbEN3Li2i9O VbmD1GJVxzDHRbH16L4vJLfNT9v/u0Z/nD5NLJFp+AAAA To: Andy Gross , Bjorn Andersson , Georgi Djakov , Mike Tipton Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701353086; l=1003; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=VOLasUkRPJfMaQ++a/e0LfA4FM1YxoUkJbWWFQdBDJ0=; b=MYnLohakk1PKPabBjSwyIgFqoYS/wngoxLn9E8TuXTfUjRYj3C20OJDj7bPu94HMlr9bdD4BR BfSViwtJvJNCtl0C5C9GXo6vH8hmH34C2gYZ2rTV4lFhU2nDL5mk/8A X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Add the generic icc sync_state callback to ensure interconnect votes are taken into account, instead of being pegged at maximum values. Fixes: b95b668eaaa2 ("interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate") Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/sm8250.c | 1 + 1 file changed, 1 insertion(+) --- base-commit: 1f5c003694fab4b1ba6cbdcc417488b975c088d0 change-id: 20231130-topic-8250icc_syncstate-72e5078ad4c9 Best regards, diff --git a/drivers/interconnect/qcom/sm8250.c b/drivers/interconnect/qcom/sm8250.c index 83aeb3eedc19..02d40eea0d69 100644 --- a/drivers/interconnect/qcom/sm8250.c +++ b/drivers/interconnect/qcom/sm8250.c @@ -1995,6 +1995,7 @@ static struct platform_driver qnoc_driver = { .driver = { .name = "qnoc-sm8250", .of_match_table = qnoc_of_match, + .sync_state = icc_sync_state, }, }; module_platform_driver(qnoc_driver);