From 8f8cf9f1878c33a56997b2ec2570fc703618f2c4 Mon Sep 17 00:00:00 2001 From: Prasad Sodagudi Date: Wed, 13 Jun 2018 16:59:30 -0700 Subject: [PATCH] genirq/cpuhotplug: Reduce logging level for couple of prints During the cpu hot plug stress testing, couple of messages continuous flooding on to the console is causing timers migration delay. Delayed time migrations from hot plugging core is causing device instability with watchdog. So reduce log level for couple of prints in cpu hot plug flow. Change-Id: I14f034765b063fb2a83a2a9489c664eb2504a770 Signed-off-by: Prasad Sodagudi --- arch/arm64/kernel/smp.c | 2 +- kernel/irq/cpuhotplug.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 1b87e919d686..bc696df30960 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -343,7 +343,7 @@ void __cpu_die(unsigned int cpu) pr_crit("CPU%u: cpu didn't die\n", cpu); return; } - pr_notice("CPU%u: shutdown\n", cpu); + pr_info("CPU%u: shutdown\n", cpu); /* * Now that the dying CPU is beyond the point of no return w.r.t. diff --git a/kernel/irq/cpuhotplug.c b/kernel/irq/cpuhotplug.c index 3dc340433669..44c517d8a5e4 100644 --- a/kernel/irq/cpuhotplug.c +++ b/kernel/irq/cpuhotplug.c @@ -42,7 +42,7 @@ static inline bool irq_needs_fixup(struct irq_data *d) * If this happens then there was a missed IRQ fixup at some * point. Warn about it and enforce fixup. */ - pr_warn("Eff. affinity %*pbl of IRQ %u contains only offline CPUs after offlining CPU %u\n", + pr_info("Eff. affinity %*pbl of IRQ %u contains only offline CPUs after offlining CPU %u\n", cpumask_pr_args(m), d->irq, cpu); return true; } @@ -210,7 +210,7 @@ void irq_migrate_all_off_this_cpu(void) raw_spin_unlock(&desc->lock); if (affinity_broken) { - pr_warn_ratelimited("IRQ %u: no longer affine to CPU%u\n", + pr_info_ratelimited("IRQ %u: no longer affine to CPU%u\n", irq, smp_processor_id()); } }