android_kernel_xiaomi_sdm845/arch/x86_64/kernel
Venkatesh Pallipadi 248dcb2fff [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>
2006-09-26 10:52:27 +02:00
..
acpi Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpufreq Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
aperture.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
apic.c [PATCH] Add SMP support on x86_64 to reservation framework 2006-09-26 10:52:26 +02:00
asm-offsets.c [CRYPTO] all: Pass tfm instead of ctx to algorithms 2006-06-26 17:34:39 +10:00
audit.c [PATCH] audit: AUDIT_PERM support 2006-09-11 13:32:30 -04:00
crash_dump.c [PATCH] kdump: read previous kernel's memory 2006-01-10 08:01:28 -08:00
crash.c [PATCH] kdump x86_64 nmi event notification fix 2006-09-26 10:52:27 +02:00
e820.c Revert mmiocfg heuristics and blacklist changes 2006-09-19 08:15:22 -07:00
early_printk.c [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
entry.S [PATCH] x86_64: Add kernel thread stack frame termination for properly stopping stack unwinds. 2006-08-30 16:05:15 -07:00
functionlist [NET]: make skb_release_data() static 2006-06-29 16:58:30 -07:00
genapic_cluster.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
genapic_flat.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
genapic.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head64.c [PATCH] lockdep: x86_64 early init 2006-07-03 15:27:04 -07:00
head.S [PATCH] x86_64: Add kernel thread stack frame termination for properly stopping stack unwinds. 2006-08-30 16:05:15 -07:00
i387.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
i8259.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
init_task.c [PATCH] x86_64: Save original IST values for checking stack addresses 2006-08-30 16:05:16 -07:00
io_apic.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ioport.c [PATCH] capable/capability.h (arch/) 2006-01-11 18:42:14 -08:00
irq.c [PATCH] lockdep: irqtrace subsystem, x86_64 support 2006-07-03 15:27:03 -07:00
k8.c [PATCH] x86_64: Clean and enhance up K8 northbridge access code 2006-06-26 10:48:15 -07:00
kprobes.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ldt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
machine_kexec.c [PATCH] machine_kexec.c: Fix the description of segment handling 2006-07-31 13:28:38 -07:00
Makefile [PATCH] lockdep: stacktrace subsystem, x86_64 support 2006-07-03 15:27:02 -07:00
mce_amd.c [PATCH] cpu hotplug: use hotplug version of registration in late inits 2006-07-31 13:28:39 -07:00
mce_intel.c [PATCH] x86_64: Some housekeeping in local APIC code 2006-01-11 19:05:03 -08:00
mce.c [PATCH] cpu hotplug: use hotplug version of registration in late inits 2006-07-31 13:28:39 -07:00
module.c [PATCH] x86_64: x86_64 version of the smp alternative patch. 2006-06-26 10:48:14 -07:00
mpparse.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nmi.c [PATCH] x86: i386/x86-64 Add nmi watchdog support for new Intel CPUs 2006-09-26 10:52:27 +02:00
pci-calgary.c [PATCH] x86_64: Calgary IOMMU - Multi-Node NULL pointer dereference fix 2006-07-29 20:59:55 -07:00
pci-dma.c [PATCH] x86_64: Calgary IOMMU - Calgary specific bits 2006-06-26 10:48:19 -07:00
pci-gart.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pci-nommu.c [PATCH] x86_64: Fix CONFIG_IOMMU_DEBUG 2006-08-02 20:19:54 -07:00
pci-swiotlb.c [PATCH] x86_64: Fix swiotlb=force 2006-07-29 20:59:55 -07:00
pmtimer.c [PATCH] make pmtmr_ioport __read_mostly 2006-06-26 09:58:21 -07:00
process.c [PATCH] lockdep: beautify x86_64 stacktraces 2006-07-03 15:27:02 -07:00
ptrace.c [PATCH] drop task argument of audit_syscall_{entry,exit} 2006-05-01 06:06:18 -04:00
reboot.c [PATCH] x86_64: Move export symbols to their C functions 2006-06-26 10:48:22 -07:00
relocate_kernel.S [PATCH] kexec: x86_64 kexec implementation 2005-06-25 16:24:50 -07:00
setup64.c [PATCH] x86_64: Save original IST values for checking stack addresses 2006-08-30 16:05:16 -07:00
setup.c [PATCH] x86_64: Recover 1MB of kernel memory 2006-08-30 16:05:15 -07:00
signal.c [PATCH] Add TIF_RESTORE_SIGMASK 2006-09-26 10:52:26 +02:00
smp.c [PATCH] Fix more per-cpu typos 2006-08-06 08:57:47 -07:00
smpboot.c [PATCH] i386/x86-64: Fix NMI watchdog suspend/resume 2006-09-26 10:52:27 +02:00
stacktrace.c [PATCH] lockdep: stacktrace subsystem, x86_64 support 2006-07-03 15:27:02 -07:00
suspend_asm.S [PATCH] x86_64: Set up safe page tables during resume 2005-10-10 08:36:46 -07:00
suspend.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sys_x86_64.c [PATCH] x86_64: Use common sys_time64 2005-11-14 19:55:17 -08:00
syscall.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tce.c [PATCH] x86_64: Calgary IOMMU - Multi-Node NULL pointer dereference fix 2006-07-29 20:59:55 -07:00
time.c [PATCH] x86_64: On Intel systems when CPU has C3 don't use TSC 2006-07-29 20:59:55 -07:00
trampoline.S [PATCH] x86_64: Fix SMP bootup with CONFIG_KDUMP enabled 2006-01-11 19:09:58 -08:00
traps.c [PATCH] Fix up panic messages for different NMI panics 2006-09-26 10:52:27 +02:00
vmlinux.lds.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
vsmp.c [PATCH] x86_64: Inclusion of ScaleMP vSMP architecture patches - vsmp_arch 2006-01-11 19:05:01 -08:00
vsyscall.c [PATCH] x86_64: fix unlikely profiling & vsyscalls on x86_64 2006-06-26 10:48:16 -07:00
x8664_ksyms.c [PATCH] x86_64: Move export symbols to their C functions 2006-06-26 10:48:22 -07:00