diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2025-07-01 19:02:14 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-07-04 13:17:30 +0100 |
commit | 7a884442aeb694c28ac90a1fb023856039ef57ee (patch) | |
tree | 1281b753c44fb763c653dd6689b51c78f056369f /scripts/gdb/linux/kasan.py | |
parent | 60bc47b5a0b164082d448815d7db3066266aa3ed (diff) |
arm64/watchdog_hld: Add a cpufreq notifier for update watchdog thresh
arm64 depends on the cpufreq driver to gain the maximum cpu frequency
to convert the watchdog_thresh to perf event period. cpufreq drivers
like cppc_cpufreq will be initialized lately after the initializing of
the hard lockup detector so just use a safe cpufreq which will be
inaccurency. Use a cpufreq notifier to adjust the event's period to
a more accurate one.
Reviewed-by: Jie Zhan <zhanjie9@hisilicon.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20250701110214.27242-3-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/kasan.py')
0 files changed, 0 insertions, 0 deletions