linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] firmware: arm_scmi: perf/cpufreq: Enable notification only if supported by platform
@ 2025-06-11  7:52 Peng Fan (OSS)
  2025-06-11  7:52 ` [PATCH 1/3] firmware: arm_scmi: Fix typo for scmi_perf_proto_ops Peng Fan (OSS)
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Peng Fan (OSS) @ 2025-06-11  7:52 UTC (permalink / raw)
  To: Sudeep Holla, Cristian Marussi, Rafael J. Wysocki, Viresh Kumar
  Cc: arm-scmi, linux-arm-kernel, linux-kernel, linux-pm, Peng Fan

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@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@nxp.com>



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-06-20  6:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-11  7:52 [PATCH 0/3] firmware: arm_scmi: perf/cpufreq: Enable notification only if supported by platform Peng Fan (OSS)
2025-06-11  7:52 ` [PATCH 1/3] firmware: arm_scmi: Fix typo for scmi_perf_proto_ops Peng Fan (OSS)
2025-06-11  7:52 ` [PATCH 2/3] firmware: arm_scmi: perf: Add notify_supported " Peng Fan (OSS)
2025-06-11  7:52 ` [PATCH 3/3] cpufreq: scmi-cpufreq: Enable perf limits notification only supported Peng Fan (OSS)
2025-06-11 12:17 ` [PATCH 0/3] firmware: arm_scmi: perf/cpufreq: Enable notification only if supported by platform Sudeep Holla
2025-06-11 13:33   ` Cristian Marussi
2025-06-12  3:43     ` Peng Fan
2025-06-12 10:31       ` Cristian Marussi
2025-06-13  9:50         ` Peng Fan
2025-06-17 13:41           ` Cristian Marussi
2025-06-17 13:50           ` [PATCH] [NOT_FOR_MERGE] firmware: arm_scmi: Optimize notifiers registration Cristian Marussi
2025-06-17 13:59             ` Cristian Marussi
2025-06-20  7:38             ` Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).