summaryrefslogtreecommitdiff
path: root/drivers/perf/fsl_imx9_ddr_perf.c
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2025-07-01 14:02:14 +0300
committerWill Deacon <will@kernel.org>2025-07-04 15:17:30 +0300
commit7a884442aeb694c28ac90a1fb023856039ef57ee (patch)
tree1281b753c44fb763c653dd6689b51c78f056369f /drivers/perf/fsl_imx9_ddr_perf.c
parent60bc47b5a0b164082d448815d7db3066266aa3ed (diff)
downloadlinux-7a884442aeb694c28ac90a1fb023856039ef57ee.tar.xz
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 'drivers/perf/fsl_imx9_ddr_perf.c')
0 files changed, 0 insertions, 0 deletions