[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/2] xen/mce: Add mcelog support for Xen platform
On Thu, May 31, 2012 at 12:57:44PM +0000, Liu, Jinsong wrote: > From 1a7951d6ca01d7f2c9dd2bdb6de5f8e7fdcb8bbd Mon Sep 17 00:00:00 2001 > From: root <root@xxxxxxxxxxxxxxxxxxxxxx> > Date: Fri, 1 Jun 2012 03:12:51 +0800 > Subject: [PATCH 1/2] xen/mce: Add mcelog support for Xen platform > > When MCA error occurs, it would be handled by Xen hypervisor first, > and then the error information would be sent to initial domain for logging. > > This patch gets error information from Xen hypervisor and convert > Xen format error into Linux format mcelog. This logic is basically > self-contained, not touching other kernel components. > > By using tools like mcelog tool users could read specific error information, > like what they did under native Linux. > > To test follow directions outlined in Documentation/acpi/apei/einj.txt > > Signed-off-by: Ke, Liping <liping.ke@xxxxxxxxx> > Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx> > Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx> > Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx> > --- > arch/x86/include/asm/xen/hypercall.h | 8 + > arch/x86/kernel/cpu/mcheck/mce.c | 4 +- > arch/x86/xen/enlighten.c | 5 +- > drivers/xen/Kconfig | 8 + > drivers/xen/Makefile | 1 + > drivers/xen/mcelog.c | 392 > ++++++++++++++++++++++++++++++++++ > include/linux/miscdevice.h | 1 + > include/xen/interface/xen-mca.h | 385 +++++++++++++++++++++++++++++++++ > 8 files changed, 798 insertions(+), 6 deletions(-) > create mode 100644 drivers/xen/mcelog.c > create mode 100644 include/xen/interface/xen-mca.h For the mce bits: Acked-and-tested-by: Borislav Petkov <borislav.petkov@xxxxxxx> -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |