[PATCH v3 0/2] Update the watchdog period according to real CPU frequency
Will Deacon
will at kernel.org
Fri Jul 4 10:44:20 PDT 2025
On Tue, 01 Jul 2025 19:02:12 +0800, Yicong Yang wrote:
> watchdog perf needs architecture to provide method for converting the watchdog
> thresh to counter period. For arm64 we're using the max CPU frequency for
> doing the conversion which is from cpufreq driver. But some cpufreq driver
> are registered lately, for example cppc_cpufreq will be registered at late
> initcall which is after the initialization of watchdog perf (initialized in
> armv8_pmuv3 of device initcall). In such case the period of watchdog will not
> be accurate enough. Fix this by registering a cpufreq notifier and update the
> watchdog period once the cpufreq driver is initialized.
>
> [...]
Applied to will (for-next/perf), thanks!
[1/2] watchdog/perf: Provide function for adjusting the event period
https://git.kernel.org/will/c/60bc47b5a0b1
[2/2] arm64/watchdog_hld: Add a cpufreq notifier for update watchdog thresh
https://git.kernel.org/will/c/7a884442aeb6
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list