Re: [PATCH v6] arm64: topology: fix arch_freq_get_on_cpu() overflow above 4.19 GHz
From: Will Deacon
Date: Thu Sep 24 2026 - 06:31:22 EST
On Wed, 23 Sep 2026 14:56:04 +0200, Oleg Keri wrote:
> arch_freq_get_on_cpu() computes the product of the frequency scale and
> the reference frequency as a u64, but assigns it to an unsigned int
> before shifting it back down:
>
> freq = scale * arch_scale_freq_ref(cpu);
> freq >>= SCHED_CAPACITY_SHIFT;
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: topology: fix arch_freq_get_on_cpu() overflow above 4.19 GHz
https://git.kernel.org/arm64/c/3872cc6b9294
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev