linux/arch/i386/kernel/cpu
Andi Kleen 8f4e956b31 x86: Stop MCEs and NMIs during code patching
When a machine check or NMI occurs while multiple byte code is patched
the CPU could theoretically see an inconsistent instruction and crash.
Prevent this by temporarily disabling MCEs and returning early in the
NMI handler.

Based on discussion with Mathieu Desnoyers.

Cc: Mathieu Desnoyers <compudj@krystal.dyndns.org>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-22 11:03:37 -07:00
..
cpufreq [CPUFREQ] Fix typos in powernow-k8 printk's. 2007-07-13 01:34:10 -04:00
mcheck x86: Stop MCEs and NMIs during code patching 2007-07-22 11:03:37 -07:00
mtrr i386: fix section mismatch warnings in mtrr 2007-07-21 18:37:10 -07:00
addon_cpuid_features.c Use a new CPU feature word to cover features that are spread around 2007-07-12 10:55:54 -07:00
amd.c i386: Add L3 cache support to AMD CPUID4 emulation 2007-07-21 18:37:08 -07:00
bugs.c [PATCH] i386: Clean up asm-i386/bugs.h 2007-05-02 19:27:12 +02:00
centaur.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00
common.c x86: remove support for the Rise CPU 2007-07-21 18:37:10 -07:00
cpu.h [PATCH] i386: remove redundant generic_identify() calls when identifying cpus 2006-09-26 10:52:36 +02:00
cyrix.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
intel_cacheinfo.c i386: fix section mismatch warning in intel_cacheinfo 2007-07-21 18:37:12 -07:00
intel.c [PATCH] i386: Implement X86_FEATURE_SYNC_RDTSC on i386 2007-05-02 19:27:20 +02:00
Makefile x86: remove support for the Rise CPU 2007-07-21 18:37:10 -07:00
nexgen.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00
perfctr-watchdog.c i386: Reserve the right performance counter for the Intel PerfMon NMI watchdog 2007-07-21 18:37:08 -07:00
proc.c Use a new CPU feature word to cover features that are spread around 2007-07-12 10:55:54 -07:00
transmeta.c i386: cpu/transmeta.c: fix definition of USER686 2007-05-09 12:49:33 -07:00
umc.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00