From: Borislav Petkov Subject: Re: [NAK] Re: [PATCH -v2 9/9] ACPI, APEI, Generic Hardware Error Source POLL/IRQ/NMI notification type support Date: Tue, 26 Oct 2010 08:26:53 +0200 Message-ID: <20101026062653.GA27411@liondog.tnic> References: <1287992610-14996-1-git-send-email-ying.huang@intel.com> <1287992610-14996-10-git-send-email-ying.huang@intel.com> <20101025084553.GA27119@elte.hu> <1287997112.2862.322.camel@yhuang-dev> <20101025092557.GA11544@elte.hu> <20101025202344.GC13652@liondog.tnic> <20101025215132.GA23427@liondog.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail.skyhub.de ([78.46.96.112]:57073 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754097Ab0JZG07 (ORCPT ); Tue, 26 Oct 2010 02:26:59 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Tony Luck Cc: Ingo Molnar , Huang Ying , Len Brown , "linux-kernel@vger.kernel.org" , Andi Kleen , "linux-acpi@vger.kernel.org" , Borislav Petkov , Thomas Gleixner , "H. Peter Anvin" , Don Zickus , Linus Torvalds , Andrew Morton , Mauro Carvalho Chehab On Mon, Oct 25, 2010 at 04:35:43PM -0700, Tony Luck wrote: > On Mon, Oct 25, 2010 at 2:51 PM, Borislav Petkov wrote= : > > Concerning fatal errors, take a look at drivers/edac/mce_amd.(c|h)=C2= =B9 - > > this is not in arch/x86/ and still decodes MCEs in the kernel. And = it > > works fine - it even helped in several cases where people simply re= ad > > their serial console/dmesg and didn't have to collect it first and = run > > it through some tool to understand which functional unit in the CPU= is > > mchecking. >=20 > That looks neat ... but end-users seem to have some conflicting requi= rements > here. Your uses seem to like it but the LLNL folks at the S.F. meetin= g said > that solutions that involved looking at console logs from thousands > of machines in a cluster were not acceptable. >=20 > I doubt very much if any end-user cares which unit *within* a cpu > failed (their replaceable unit is the whole of the cpu). So much of > your driver could be replaced with: printk("CPU%d is bad\n", cpu); Yeah, nobody said this is finished. The next step is using perf infrastructure to convey those decoded errors to userspace, say, to a ras daemon or similar which can do all sorts of reporting, statistics, policy decisions, injection, paint graphs, whatever... I sent out two patchsets as an rfc already and am working on the 3rd one so we're getting there. Here's the last one: http://kerneltrap.org/mailarchive/linux-kernel/2010/8/6/4603847 Also, I'm open to all suggestions on how to make it more usable and user-friendly. Thanks. --=20 Regards/Gruss, Boris. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html