Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95c74738 authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

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: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 5cd75ce7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -355,7 +355,7 @@ void __cpu_die(unsigned int cpu)
		pr_crit("CPU%u: cpu didn't die\n", cpu);
		pr_crit("CPU%u: cpu didn't die\n", cpu);
		return;
		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.
	 * Now that the dying CPU is beyond the point of no return w.r.t.
+2 −2
Original line number Original line Diff line number Diff line
@@ -41,7 +41,7 @@ static inline bool irq_needs_fixup(struct irq_data *d)
		 * If this happens then there was a missed IRQ fixup at some
		 * If this happens then there was a missed IRQ fixup at some
		 * point. Warn about it and enforce fixup.
		 * 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);
			cpumask_pr_args(m), d->irq, cpu);
		return true;
		return true;
	}
	}
@@ -176,7 +176,7 @@ void irq_migrate_all_off_this_cpu(void)
		raw_spin_unlock(&desc->lock);
		raw_spin_unlock(&desc->lock);


		if (affinity_broken) {
		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());
					    irq, smp_processor_id());
		}
		}
	}
	}