alistair23-linux/arch/x86/kernel/cpu
Joe Korty 38e760a133 x86: expand /proc/interrupts to include missing vectors, v2
Add missing IRQs and IRQ descriptions to /proc/interrupts.

/proc/interrupts is most useful when it displays every IRQ vector in use by
the system, not just those somebody thought would be interesting.

This patch inserts the following vector displays to the i386 and x86_64
platforms, as appropriate:

	rescheduling interrupts
	TLB flush interrupts
	function call interrupts
	thermal event interrupts
	threshold interrupts
	spurious interrupts

A threshold interrupt occurs when ECC memory correction is occuring at too
high a frequency.  Thresholds are used by the ECC hardware as occasional
ECC failures are part of normal operation, but long sequences of ECC
failures usually indicate a memory chip that is about to fail.

Thermal event interrupts occur when a temperature threshold has been
exceeded for some CPU chip.  IIRC, a thermal interrupt is also generated
when the temperature drops back to a normal level.

A spurious interrupt is an interrupt that was raised then lowered by the
device before it could be fully processed by the APIC.  Hence the apic sees
the interrupt but does not know what device it came from.  For this case
the APIC hardware will assume a vector of 0xff.

Rescheduling, call, and TLB flush interrupts are sent from one CPU to
another per the needs of the OS.  Typically, their statistics would be used
to discover if an interrupt flood of the given type has been occuring.

AK: merged v2 and v4 which had some more tweaks
AK: replace Local interrupts with Local timer interrupts
AK: Fixed description of interrupt types.

[ tglx: arch/x86 adaptation ]
[ mingo: small cleanup ]

Signed-off-by: Joe Korty <joe.korty@ccur.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Tim Hockin <thockin@hockin.org>
Cc: Andi Kleen <ak@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-17 20:16:53 +02:00
..
cpufreq x86: fix dmi const-ify fallout 2007-10-17 20:16:48 +02:00
mcheck x86: expand /proc/interrupts to include missing vectors, v2 2007-10-17 20:16:53 +02:00
mtrr i386: Remove local CPU logic in MTRR call to smp_call_function_single 2007-10-17 20:16:14 +02:00
addon_cpuid_features.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
amd.c x86: print info about late C1E detection on 32bit as well 2007-10-17 20:16:50 +02:00
bugs.c Delete filenames in comments. 2007-10-13 10:01:23 -07:00
centaur.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
common.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
cpu.h i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
cyrix.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
intel.c i386: fix section mismatch warning in intel.c 2007-10-17 20:15:26 +02:00
intel_cacheinfo.c x86: call cache_add_dev() from cache_sysfs_init() explicitly 2007-10-17 20:16:49 +02:00
Makefile x86: sanitize pathes arch/x86/kernel/cpu/Makefile 2007-10-11 11:17:26 +02:00
nexgen.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
perfctr-watchdog.c i386: constify wd_ops 2007-10-17 20:16:33 +02:00
proc.c x86: Convert cpu_core_map to be a per cpu variable 2007-10-16 09:42:50 -07:00
transmeta.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
umc.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00