Re: [PATCH] i386/x86-64 Add nmi watchdog support for new Intel CPUs

From: Andi Kleen
Date: Fri Jun 23 2006 - 08:34:18 EST


On Monday 15 May 2006 03:50, Venkatesh Pallipadi wrote:
>
> [Sorry if this is a duplicate. I tried sending this mail two days back and I don't
> see it on the mailing list yet. So, resending it.]
>
>
>
> 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.

FYI - i went back to this old patch again because I temporarily dropped
the NMI rework for 2.6.18. Please let me know if it misses any changes
that you added in later kernels (except for the merge with the newer
code base)

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/