[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250611-scmi-perf-v1-0-df2b548ba77c@nxp.com>
Date: Wed, 11 Jun 2025 15:52:42 +0800
From: "Peng Fan (OSS)" <peng.fan@....nxp.com>
To: Sudeep Holla <sudeep.holla@....com>,
Cristian Marussi <cristian.marussi@....com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Viresh Kumar <viresh.kumar@...aro.org>
Cc: arm-scmi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
Peng Fan <peng.fan@....com>
Subject: [PATCH 0/3] firmware: arm_scmi: perf/cpufreq: Enable notification
only if supported by platform
PERFORMANCE_NOTIFY_LIMITS and PERFORMANCE_NOTIFY_LEVEL are optional
commands. If use these commands on platforms that not support the two,
there is error log:
SCMI Notifications - Failed to ENABLE events for key:13000008 !
scmi-cpufreq scmi_dev.4: failed to register for limits change notifier for domain 8
If platforms not support perf notification, saving some cpu cycles
by introducing notify_supported ops.
While at here, patch 1 is a typo fix when doing the patchset.
Signed-off-by: Peng Fan <peng.fan@....com>
---
Peng Fan (3):
firmware: arm_scmi: Fix typo for scmi_perf_proto_ops
firmware: arm_scmi: perf: Add notify_supported for scmi_perf_proto_ops
cpufreq: scmi-cpufreq: Enable perf limits notification only supported
drivers/cpufreq/scmi-cpufreq.c | 25 ++++++++++++++++++-------
drivers/firmware/arm_scmi/perf.c | 37 +++++++++++++++++++------------------
include/linux/scmi_protocol.h | 5 ++++-
3 files changed, 41 insertions(+), 26 deletions(-)
---
base-commit: 19a60293b9925080d97f22f122aca3fc46dadaf9
change-id: 20250611-scmi-perf-a0ded8a5a303
Best regards,
--
Peng Fan <peng.fan@....com>
Powered by blists - more mailing lists