[PATCH v5] arm64: topology: fix arch_freq_get_on_cpu() overflow above 4.19 GHz
Oleg Keri
okerixx at gmail.com
Wed Sep 23 00:35:00 PDT 2026
Hi Will,
On Tue, Sep 22, 2026, Will Deacon wrote:
> ... does this introduce unnecessary 64-bit arithmetic for 32-bit
> architectures that currently pass 'unsigned long' to the existing macro?
Good catch. The truncation happens in the unsigned int temporary in
arch_freq_get_on_cpu(), so v6 will drop that temporary and leave
kernel/sched alone.
Thanks,
Oleg
More information about the linux-arm-kernel
mailing list