]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86: i386/x86-64 Add nmi watchdog support for new Intel CPUs
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Tue, 26 Sep 2006 08:52:27 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:27 +0000 (10:52 +0200)
commit248dcb2ffffe8f3e4a369556a68988788c208111
tree07517710662b99db976e74064bfe399681437e25
parent1de84979dfc527c422abf63f27beabe43892989b
[PATCH] x86: i386/x86-64 Add nmi watchdog support for new Intel CPUs

AK: This redoes the changes I temporarily reverted.

Intel now has support for Architectural Performance Monitoring Counters
( Refer to IA-32 Intel Architecture Software Developer's Manual
http://www.intel.com/design/pentium4/manuals/253669.htm ). This
feature is present starting from Intel Core Duo and Intel Core Solo processors.

What this means is, the performance monitoring counters and some performance
monitoring events are now defined in an architectural way (using cpuid).
And there will be no need to check for family/model etc for these architectural
events.

Below is the patch to use this performance counters in nmi watchdog driver.
Patch handles both i386 and x86-64 kernels.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/nmi.c
arch/x86_64/kernel/nmi.c
include/asm-i386/intel_arch_perfmon.h [new file with mode: 0644]
include/asm-x86_64/intel_arch_perfmon.h [new file with mode: 0644]