From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 8 Jul 2011 16:35:38 +1000 From: Anton Blanchard To: benh@kernel.crashing.org, miltonm@bga.com, michael@ellerman.id.au Subject: [PATCH] powerpc/irq: Quieten irq mapping printks Message-ID: <20110708163538.43a58fdf@kryten> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , HFI creates interrupts each time a window is setup. This results in a lot of messages in the kernel log buffer: irq: irq 199007 on host null mapped to virtual irq 351 This box has over 3500 of them, causing more important kernel messages to be overwritten. We can get at this information via debugfs now so we may as well turn it into a pr_debug. Signed-off-by: Anton Blanchard --- Index: linux-powerpc/arch/powerpc/kernel/irq.c =================================================================== --- linux-powerpc.orig/arch/powerpc/kernel/irq.c 2011-07-08 08:49:44.288874115 +1000 +++ linux-powerpc/arch/powerpc/kernel/irq.c 2011-07-08 08:49:47.458927046 +1000 @@ -744,7 +744,7 @@ unsigned int irq_create_mapping(struct i if (irq_setup_virq(host, virq, hwirq)) return NO_IRQ; - printk(KERN_DEBUG "irq: irq %lu on host %s mapped to virtual irq %u\n", + pr_debug("irq: irq %lu on host %s mapped to virtual irq %u\n", hwirq, host->of_node ? host->of_node->full_name : "null", virq); return virq;