[PATCH] oprofile: Add support for missing Intel core i7 models

From: Shawn Bohrer
Date: Thu Jan 13 2011 - 17:39:18 EST


Added missing core i7 models found in "Intel 64 and IA-32 Architectures
Software Developer's Manual Volume 3B: System Programming Guide",
Table B-1. Tested with oprofile 0.9.6 on a:

model : 44
model name : Intel(R) Xeon(R) CPU X5680 @ 3.33GHz

Signed-off-by: Shawn Bohrer <sbohrer@xxxxxxxxxxxxxxx>
---
arch/x86/oprofile/nmi_int.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index e2b7b0c..1523313 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -678,6 +678,9 @@ static int __init ppro_init(char **cpu_type)
break;
case 0x1a:
case 0x1e:
+ case 0x1f:
+ case 0x25:
+ case 0x2c:
case 0x2e:
spec = &op_arch_perfmon_spec;
*cpu_type = "i386/core_i7";
--
1.7.3.4

--
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/