linux/arch/x86/kernel/cpu
Hidetoshi Seto 9aaef96f61 x86, mce: Do not call del_timer_sync() in IRQ context
del_timer_sync() can cause a deadlock when called in interrupt context.
It is used with on_each_cpu() in some parts for sysfs files like bank*,
check_interval, cmci_disabled and ignore_ce.

However, use of on_each_cpu() results in calling the function passed
as the argument in interrupt context. This causes a flood of nested
warnings from del_timer_sync() (it runs on each CPU) caused even by a
simple file access like:

$ echo 300 > /sys/devices/system/machinecheck/machinecheck0/check_interval

Fortunately, these MCE-specific files are rarely used and AFAIK only few
MCE geeks experience this warning.

To remove the warning, move timer deletion outside of the interrupt
context.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
2011-09-14 15:50:15 +02:00
..
mcheck x86, mce: Do not call del_timer_sync() in IRQ context 2011-09-14 15:50:15 +02:00
mtrr mtrr: fix UP breakage caused during switch to stop_machine 2011-08-25 11:02:29 -07:00
.gitignore
amd.c x86, amd: Do not enable ARAT feature on AMD processors below family 0x12 2011-05-26 10:38:30 -07:00
bugs_64.c
bugs.c x86-32, fpu: Fix DNA exception during check_fpu() 2011-06-30 17:29:47 -07:00
centaur.c
common.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
cpu.h
cyrix.c
hypervisor.c x86, hyper: Change hypervisor detection order 2011-07-08 16:22:29 -07:00
intel_cacheinfo.c x86, AMD, cacheinfo: Fix L3 cache index disable checks 2011-05-16 11:24:27 -07:00
intel.c x86, intel, power: Correct the MSR_IA32_ENERGY_PERF_BIAS message 2011-07-15 15:13:55 -07:00
Makefile [CPUFREQ] Move x86 drivers to drivers/cpufreq/ 2011-05-19 18:51:07 -04:00
mkcapflags.pl
mshyperv.c
perf_event_amd.c perf, arch: Add generic NODE cache events 2011-07-01 11:06:38 +02:00
perf_event_intel_ds.c perf: Remove the perf_output_begin(.sample) argument 2011-07-01 11:06:35 +02:00
perf_event_intel_lbr.c
perf_event_intel.c perf, x86: Add model 45 SandyBridge support 2011-08-09 11:58:06 +02:00
perf_event_p4.c x86, perf: P4 PMU - Fix typos in comments and style cleanup 2011-07-21 20:41:54 +02:00
perf_event_p6.c
perf_event.c x86, perf: Check that current->mm is alive before getting user callchain 2011-08-31 15:56:31 +02:00
perfctr-watchdog.c
powerflags.c
proc.c
scattered.c
sched.c
topology.c
transmeta.c
umc.c
vmware.c x86: Fix common misspellings 2011-03-18 10:39:30 +01:00