]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
clocksource: Use pr_info() for "Checking clocksource synchronization" message
authorWaiman Long <longman@redhat.com>
Sat, 25 Jan 2025 01:54:41 +0000 (20:54 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jan 2025 09:30:59 +0000 (10:30 +0100)
The "Checking clocksource synchronization" message is normally printed
when clocksource_verify_percpu() is called for a given clocksource if
both the CLOCK_SOURCE_UNSTABLE and CLOCK_SOURCE_VERIFY_PERCPU flags
are set.

It is an informational message and so pr_info() is the correct choice.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/all/20250125015442.3740588-1-longman@redhat.com
kernel/time/clocksource.c

index 7304d7cf47f2d7c9a5e0bdd8ea2824ae88dfb4d0..77d9566d3aa68cfa9af9285530becd959765525c 100644 (file)
@@ -382,7 +382,8 @@ void clocksource_verify_percpu(struct clocksource *cs)
                return;
        }
        testcpu = smp_processor_id();
-       pr_warn("Checking clocksource %s synchronization from CPU %d to CPUs %*pbl.\n", cs->name, testcpu, cpumask_pr_args(&cpus_chosen));
+       pr_info("Checking clocksource %s synchronization from CPU %d to CPUs %*pbl.\n",
+               cs->name, testcpu, cpumask_pr_args(&cpus_chosen));
        for_each_cpu(cpu, &cpus_chosen) {
                if (cpu == testcpu)
                        continue;