mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 1/2] clocksource: Use pr_info() for "Checking clocksource synchronization" message
@ 2025-01-29 22:40 Waiman Long
  2025-01-29 22:40 ` [PATCH v3 2/2] clocksource: Use get_random_bytes() in clocksource_verify_choose_cpus() Waiman Long
  2025-01-30  7:24 ` [PATCH v3 1/2] clocksource: Use pr_info() for "Checking clocksource synchronization" message Sebastian Andrzej Siewior
  0 siblings, 2 replies; 5+ messages in thread
From: Waiman Long @ 2025-01-29 22:40 UTC (permalink / raw)
  To: John Stultz, Thomas Gleixner, Stephen Boyd, Feng Tang,
	Paul E. McKenney, Sebastian Andrzej Siewior, Clark Williams,
	Steven Rostedt
  Cc: linux-kernel, linux-rt-devel, Waiman Long

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() should be used
instead of pr_warn().

Signed-off-by: Waiman Long <longman@redhat.com>
Acked-by: John Stultz <jstultz@google.com>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
---
 kernel/time/clocksource.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index 7304d7cf47f2..77d9566d3aa6 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -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;
-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-01-30 16:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-29 22:40 [PATCH v3 1/2] clocksource: Use pr_info() for "Checking clocksource synchronization" message Waiman Long
2025-01-29 22:40 ` [PATCH v3 2/2] clocksource: Use get_random_bytes() in clocksource_verify_choose_cpus() Waiman Long
2025-01-30  7:37   ` Sebastian Andrzej Siewior
2025-01-30 16:28     ` Waiman Long
2025-01-30  7:24 ` [PATCH v3 1/2] clocksource: Use pr_info() for "Checking clocksource synchronization" message Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®