[PATCH 0/3] firmware: arm_scmi: perf/cpufreq: Enable notification only if supported by platform
Peng Fan (OSS)
peng.fan at oss.nxp.com
Wed Jun 11 00:52:42 PDT 2025
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 at nxp.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 at nxp.com>
More information about the linux-arm-kernel
mailing list