diff options
| author | Sasha Finkelstein <k@chaosmail.tech> | 2026-07-20 09:25:10 +0200 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2026-07-23 09:40:57 +0530 |
| commit | 391b4b1d5476a39058bdd24d9c69430386f79659 (patch) | |
| tree | 43c78ef6e3fe7b6143a615e8553ad1d55d59836b /tools/perf/scripts/python | |
| parent | 6a9e0e0f7592313ace66303cf5eca68e04c10f30 (diff) | |
cpufreq: apple-soc: Calculate frequency as a 64-bit value
The current frequency calculation is done in 32 bit, causing problems
if run on a future SoC that can boost higher than 4.2GHz. Ideally, we
should use a true u64 instead of unsigned long and "knowning" that this
only runs on 64 bit machines, but the core code uses ulong everywhere,
so this should be good enough.
Signed-off-by: Sasha Finkelstein <k@chaosmail.tech>
Reviewed-by: Joshua Peisach <jpeisach@ubuntu.com>
Reviewed-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
Reviewed-by: Janne Grunau <j@jannau.net>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
