firmware: arm_scmi: Report frequencies in the perf notifications
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 12 Feb 2024 12:32:33 +0000 (12:32 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 20 Feb 2024 12:22:29 +0000 (12:22 +0000)
commit22ffc748a6475e75e058ecb16c5afdd6b9f1885f
treee6acb2c1142e59ed3b29db3e9587ddfaf2b85615
parent23443a3c7c0c285cbeb5f95c20b630617d8d80e0
firmware: arm_scmi: Report frequencies in the perf notifications

Extend the perf notification report to include pre-calculated frequencies
corresponding to the reported limits/levels event; such frequencies are
properly computed based on the stored known OPPs information taking into
consideration if the current operating mode is level indexed or not.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240212123233.1230090-12-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/perf.c
include/linux/scmi_protocol.h