diff options
| author | Ulf Hansson <[email protected]> | 2023-08-25 13:26:24 +0200 |
|---|---|---|
| committer | Sudeep Holla <[email protected]> | 2023-09-21 16:24:27 +0100 |
| commit | 39dfa5b9e1f0fa63b811a0a87f1c2fb9c76a0456 (patch) | |
| tree | 6d160b4d7e2ecd532b0aa9817cc3b02abbef7064 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | e336baa4193ecc788a06c0c4659e400bb53689b4 (diff) | |
firmware: arm_scmi: Align perf ops to use domain-id as in-parameter
Most scmi_perf_proto_ops are already using an "u32 domain" as an
in-parameter to indicate what performance domain we shall operate upon.
However, some of the ops are using a "struct device *dev", which means that
an additional OF parsing is needed each time the perf ops gets called, to
find the corresponding domain-id.
To avoid the above, but also to make the code more consistent, let's
replace the in-parameter "struct device *dev" with an "u32 domain". Note
that, this requires us to make some corresponding changes to the scmi
cpufreq driver, so let's do that too.
Signed-off-by: Ulf Hansson <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions