diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2024-02-12 12:32:33 +0000 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2024-02-20 12:22:29 +0000 |
commit | 22ffc748a6475e75e058ecb16c5afdd6b9f1885f (patch) | |
tree | e6acb2c1142e59ed3b29db3e9587ddfaf2b85615 /include/linux/scmi_protocol.h | |
parent | 23443a3c7c0c285cbeb5f95c20b630617d8d80e0 (diff) |
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>
Diffstat (limited to 'include/linux/scmi_protocol.h')
-rw-r--r-- | include/linux/scmi_protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/scmi_protocol.h b/include/linux/scmi_protocol.h index 0cc40af5519a..9b9351e07a11 100644 --- a/include/linux/scmi_protocol.h +++ b/include/linux/scmi_protocol.h @@ -956,6 +956,8 @@ struct scmi_perf_limits_report { unsigned int domain_id; unsigned int range_max; unsigned int range_min; + unsigned long range_max_freq; + unsigned long range_min_freq; }; struct scmi_perf_level_report { @@ -963,6 +965,7 @@ struct scmi_perf_level_report { unsigned int agent_id; unsigned int domain_id; unsigned int performance_level; + unsigned long performance_level_freq; }; struct scmi_sensor_trip_point_report { |