]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Add mcelog support from xen platform
authorLiu Jinsong <jinsong.liu@intel.com>
Tue, 6 Dec 2011 10:08:12 +0000 (18:08 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 24 Feb 2012 05:28:10 +0000 (00:28 -0500)
commit073cda12deed76fc7bf727ecbca4b66376ce884a
treec6cc66471fefacc5340aee4c3f8dc21ef6706f29
parent1941db93a0ae5c4c54e2342075e8e9cad22a07dc
Add mcelog support from xen platform

This patch backport from Jeremy's pvops commit a5ed1f3dae179158e385e9371462dd65d5e125c5,
which in turn backport from previous xen DOM0(2.6.18) cs: 75e5bfa7fbdc

When a MCE/CMCI error happens (or by polling), the related error
information will be sent to privileged pv-ops domain by XEN. This
patch will help to fetch the xen-logged information by hypercall
and then convert XEN-format log into Linux format MCELOG. It makes
using current available mcelog tools for native Linux possible.

With this patch, after mce/cmci error log information is sent to
pv-ops guest, Running mcelog tools in the guest, you will get same
detailed decoded mce information as in Native Linux.

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>
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]