From: Thomas Gleixner Date: Thu, 22 Oct 2015 12:34:57 +0000 (+0200) Subject: genirq: Make the cpuhotplug migration code less noisy X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58c9c87ca9dca99f269267f5aadcd051fef1637b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git genirq: Make the cpuhotplug migration code less noisy The original arm code has a pr_debug() statement for the case where the irq chip has no set_affinity() callback. That's sufficient for debugging and we really don't want to spam dmesg with useless warnings for the normal case. Fixes: f1e0bb0ad473: "genirq: Introduce generic irq migration for cpu hotunplug" Reported-by: Geert Uytterhoeven Requested-by: Russell King Signed-off-by: Thomas Gleixner Cc: Yang Yingliang Cc: Mark Rutland Cc: Marc Zyngier Cc: Will Deacon Cc: Hanjun Guo Cc: Jiang Liu --- diff --git a/kernel/irq/cpuhotplug.c b/kernel/irq/cpuhotplug.c index 80f4f4e56fed..011f8c4c63da 100644 --- a/kernel/irq/cpuhotplug.c +++ b/kernel/irq/cpuhotplug.c @@ -36,7 +36,7 @@ static bool migrate_one_irq(struct irq_desc *desc) c = irq_data_get_irq_chip(d); if (!c->irq_set_affinity) { - pr_warn_ratelimited("IRQ%u: unable to set affinity\n", d->irq); + pr_debug("IRQ%u: unable to set affinity\n", d->irq); } else { int r = irq_do_set_affinity(d, affinity, false); if (r)