]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/mce: Add mcelog support for Xen platform
authorLiu, Jinsong <jinsong.liu@intel.com>
Thu, 19 Apr 2012 21:08:38 +0000 (05:08 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 May 2012 20:35:48 +0000 (16:35 -0400)
commit5e2f3d82fadf07015e392a4905300a89fb693558
tree77e25f2734099d4a699cdef01be36dcb04637c43
parentc3d9108d1c3a8f3f81b45236af9a159b83e82e72
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: Liu, Jinsong <jinsong.liu@intel.com>
Signed-off-by: Ke, Liping <liping.ke@intel.com>
Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Conflicts:

drivers/xen/Kconfig
drivers/xen/Makefile
arch/x86/include/asm/xen/hypercall.h
arch/x86/xen/enlighten.c
drivers/xen/Kconfig
drivers/xen/Makefile
drivers/xen/mcelog.c [new file with mode: 0644]
include/xen/interface/xen-mca.h [new file with mode: 0644]