]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86, mce: Fake panic support for MCE testing
authorHuang Ying <ying.huang@intel.com>
Fri, 31 Jul 2009 01:41:43 +0000 (09:41 +0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 10 Aug 2009 20:59:12 +0000 (13:59 -0700)
commitbf783f9f7d33576815bc89f9f1856a7309ea2f17
treecbb9f42923fec89f83d992659f7df9b5f7a5ae92
parent5be9ed251f58881dfc3dd6742a81ff9ad1a7bb04
x86, mce: Fake panic support for MCE testing

If "fake panic" mode is turned on, just log panic message instead of
go real panic. This is used for testing only, so that the test suite
can check for the correct panic message and do regression testing for
MCE would go panic.

This patch is based on x86-tip.git/mce.

ChangeLog:

v5:

- Rebased on x86-tip.git/mce

v4:

- Move config file from sysfs to debugfs

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce.c