From 08e7b49bf9d40545fb519a79b4aa41d97e8cca7c Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Wed, 17 Nov 2021 11:55:18 -0800 Subject: [PATCH 11/21] x86: touch clocksource watchdog after syncing TSCs Signed-off-by: Steven Noonan [Forward port to 6.5] Signed-off-by: Cristian Ciocaltea --- arch/x86/kernel/smpboot.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 0c35207320cb..eb8793b04cd1 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -60,6 +60,7 @@ #include #include #include +#include #include #include @@ -1120,6 +1121,7 @@ void arch_thaw_secondary_cpus_begin(void) void arch_thaw_secondary_cpus_end(void) { + clocksource_touch_watchdog(); cache_aps_init(); } @@ -1141,6 +1143,8 @@ void __init native_smp_cpus_done(unsigned int max_cpus) { pr_debug("Boot done\n"); + clocksource_touch_watchdog(); + build_sched_topology(); nmi_selftest(); impress_friends(); -- 2.45.2