Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753186AbZJWXif (ORCPT ); Fri, 23 Oct 2009 19:38:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753093AbZJWXid (ORCPT ); Fri, 23 Oct 2009 19:38:33 -0400 Received: from relay1.sgi.com ([192.48.179.29]:49155 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752863AbZJWXhz (ORCPT ); Fri, 23 Oct 2009 19:37:55 -0400 Message-Id: <20091023233756.941535000@alcatraz.americas.sgi.com> References: <20091023233743.439628000@alcatraz.americas.sgi.com> User-Agent: quilt/0.46-1 Date: Fri, 23 Oct 2009 18:37:49 -0500 From: Mike Travis To: Ingo Molnar , Thomas Gleixner , Andrew Morton Cc: Jack Steiner , Tigran Aivazian , "H. Peter Anvin" , x86@kernel.org, Dmitry Adamushko , Andreas Mohr , Hugh Dickins , Hannes Eder , linux-kernel@vger.kernel.org Subject: [PATCH 6/8] SGI x86_64 UV: Limit the number of microcode messages Content-Disposition: inline; filename=limit_microcode Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1285 Lines: 37 Limit number of microcode messages of the form: [ 50.887135] microcode: CPU0 sig=0x206e5, pf=0x4, revision=0xffff001 Cc: Tigran Aivazian Cc: H. Peter Anvin Cc: x86@kernel.org Cc: Dmitry Adamushko Cc: Andreas Mohr Cc: Hugh Dickins Cc: Hannes Eder Cc: linux-kernel@vger.kernel.org Signed-off-by: Mike Travis --- arch/x86/kernel/microcode_intel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- linux.orig/arch/x86/kernel/microcode_intel.c +++ linux/arch/x86/kernel/microcode_intel.c @@ -165,7 +165,9 @@ /* get the current revision from MSR 0x8B */ rdmsr(MSR_IA32_UCODE_REV, val[0], csig->rev); - printk(KERN_INFO "microcode: CPU%d sig=0x%x, pf=0x%x, revision=0x%x\n", + if (cpu_num < 4 || !limit_console_output(false)) + printk(KERN_INFO + "microcode: CPU%d sig=0x%x, pf=0x%x, revision=0x%x\n", cpu_num, csig->sig, csig->pf, csig->rev); return 0; -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/