kernel-fxtec-pro1x/arch/x86/kernel/cpu/mcheck
Andi Kleen b79109c3bb x86, mce: separate correct machine check poller and fatal exception handler
Impact: cleanup, performance enhancement

The machine check poller is diverging more and more from the fatal
exception handler. Instead of adding more special cases separate the code
paths completely. The corrected poll path is actually quite simple,
and this doesn't result in much code duplication.

This makes both handlers much easier to read and results in
cleaner code flow.  The exception handler now only needs to care
about uncorrected errors, which also simplifies the handling of multiple
errors. The corrected poller also now always runs in standard interrupt
context and does not need to do anything special to handle NMI context.

Minor behaviour changes:
- MCG status is now not cleared on polling.
- Only the banks which had corrected errors get cleared on polling
- The exception handler only clears banks with errors now

v2: Forward port to new patch order. Add "uc" argument.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2009-02-19 14:52:20 -08:00
..
k7.c Update email addresses. 2008-10-20 12:50:03 -07:00
Makefile
mce.h
mce_32.c x86, mce: don't disable machine checks during code patching 2009-02-17 15:32:38 -08:00
mce_64.c x86, mce: separate correct machine check poller and fatal exception handler 2009-02-19 14:52:20 -08:00
mce_amd_64.c x86, mce: separate correct machine check poller and fatal exception handler 2009-02-19 14:52:20 -08:00
mce_intel_64.c x86, mce: factor out duplicated struct mce setup into one function 2009-02-19 14:51:39 -08:00
non-fatal.c Update email addresses. 2008-10-20 12:50:03 -07:00
p4.c x86: APIC: remove apic_write_around(); use alternatives 2008-07-18 12:51:21 +02:00
p5.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00
p6.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00
therm_throt.c sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
winchip.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00