summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2024-01-19 18:23:37 +0300
committerSudeep Holla <sudeep.holla@arm.com>2024-02-20 09:29:26 +0300
commit534224b958dfc5c7beca2542e27a094d64d66b1a (patch)
treeeeb968bb0629fdd6cc0d60b948ffc0e899eda755 /tools/perf/scripts/python/export-to-sqlite.py
parent6bd1b3fede83d8ba5314886062a9bfdada5102a9 (diff)
downloadlinux-534224b958dfc5c7beca2542e27a094d64d66b1a.tar.xz
firmware: arm_scmi: Warn if domain frequency multiplier is 0 or rounded off
When (sustained_freq_khz * 1000) is less than sustained_perf_level, the multiplier will be less than 1 and hence rounded down as 0. Similarly if it is not multiple of sustained_perf_level the dom_info->mult_factor will contain rounded down value and will end up impacting all the frequency calculations done using it. Add warning if and when the domain frequency multiplier is 0 or rounded down so that it gives a clue to get the firmware tables fixed. Suggested-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Cristian Marussi <cristian.marussi@arm.com> Link: https://lore.kernel.org/r/20240119152338.3047620-1-sudeep.holla@arm.com Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions