Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753809AbZJ2JKa (ORCPT ); Thu, 29 Oct 2009 05:10:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752911AbZJ2JKa (ORCPT ); Thu, 29 Oct 2009 05:10:30 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:42407 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752639AbZJ2JK3 (ORCPT ); Thu, 29 Oct 2009 05:10:29 -0400 Date: Thu, 29 Oct 2009 10:09:57 +0100 From: Ingo Molnar To: Hidetoshi Seto Cc: Roland Dreier , linux-kernel@vger.kernel.org, x86@kernel.org, Andi Kleen , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Mike Travis Subject: Re: [PATCH] x86, mce: short output of MCE banks ownership information Message-ID: <20091029090957.GD22963@elte.hu> References: <4AE90E43.2030709@jp.fujitsu.com> <4AE93B42.5040605@jp.fujitsu.com> <20091029073408.GA18976@elte.hu> <4AE951F4.7080406@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AE951F4.7080406@jp.fujitsu.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1994 Lines: 43 * Hidetoshi Seto wrote: > Ingo Molnar wrote: > > * Hidetoshi Seto wrote: > >> Maybe there would be more desirable ways, but I think that "compress > >> messages shorter to bear heavy repeating" will be a good way at this > >> time. > > > > We really want to only print out relevant information. 128 lines of > > identical output is not relevant. (or 2x 64 lines, or 4096 lines of > > identical output) > > > > So we only want to print MCE setup messages on the boot CPU. That gives > > us 90% of the benefits already: we see the rough structure of the > > hardware, and if the bootup has a problem with MCE initialization we get > > relevant printouts that helps debugging. > > > > Now, it's certainly true that with things like MCE bank sharing the MCE > > setup output from different CPUs might not be identical all the time - > > but the information is represented in other (topology) info anyway. (and > > if not it wasnt all that important to begin with) > > > > For non-boot CPUs we can perhaps add a mce=verbose (default-disabled) > > mode of bootup that allows all CPUs to be printed - should there be any > > problem with MCE details only visible on non-boot CPUs. (unlikely) > > How about having a kind of "boot=quiet_ap" which suppress boot-time > messages for all non-boot CPUs, rather than "mce=verbose" which only > suppress one (or, with thermal message, two) line? I don't not > understand why this problem would be solved only by removing the lines > from mce subsystem. The idea is to suppress bootup messages by default - and to allow opt-in verbose printing, in the (rare) case of having to debug bootup problems that involve APs. Ingo -- 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/