kernel-ark/arch/x86/kernel/cpu/mcheck
Huang Ying 14c0abf14a x86: mce, inject: Use real inject-msg in raise_local
Current raise_local() uses a struct mce that comes from mce_write()
as a parameter instead of the real inject-msg, so when we set
mce.finished = 0 to clear injected MCE, the real inject stays
valid.

This will cause the remaining inject-msg affect the next injection,
which is not desired.

To fix this, real inject-msg is used in raise_local instead of the
one on the stack.

This patch is based on the diagnosis and the fixes by Dean Nelson.

Reported-by: Dean Nelson <dnelson@redhat.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Cc: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Andi Kleen <ak@linux.intel.com>
LKML-Reference: <1253601357.15717.757.camel@yhuang-dev.sh.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-09-22 21:06:37 +02:00
..
Makefile x86: mce: Rename CONFIG_X86_NEW_MCE to CONFIG_X86_MCE 2009-07-09 18:39:47 -07:00
mce_amd.c x86, mce: Fix compile warning in case of CONFIG_SMP=n 2009-09-19 19:48:14 +02:00
mce_intel.c x86: mce: macros to compute banks MSRs 2009-07-09 18:39:47 -07:00
mce-inject.c x86: mce, inject: Use real inject-msg in raise_local 2009-09-22 21:06:37 +02:00
mce-internal.h x86, mce: Move debugfs mce dir creating to mce.c 2009-08-10 13:58:53 -07:00
mce-severity.c x86, mce: Fix compilation with !CONFIG_DEBUG_FS in mce-severity.c 2009-09-14 12:01:04 -07:00
mce.c Merge branch 'x86-mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-09-17 21:07:08 -07:00
p5.c x86, mce: make mce_disabled boolean 2009-06-16 16:56:07 -07:00
therm_throt.c x86: mce: Fix thermal throttling message storm 2009-09-22 17:30:45 +02:00
threshold.c x86, mce: enable MCE_INTEL for 32bit new MCE 2009-05-28 09:24:13 -07:00
winchip.c x86, mce: unify mce.h 2009-06-16 16:56:07 -07:00