Stephane Eranian wrote:
Will,

No that is not the right PMU module. Family 6, model 14 is an
Intel Core Duo/Solo. This processor is not based on the Intel Core
micro-architecture but on Yonah. It implements the architectural
perfmon v1. Perfmon2 can automtically detect it and use the
perfmon_intel_arch module.

oh, so the check should be in the pfm_p6_probe_pmu()? Like the attached patch?

-Will

On Mon, Oct 15, 2007 at 11:15:42AM -0400, William Cohen wrote:
Hi,

We installed a perfmon2 enabled kernel on a Intel Core machine laptop. Note this is not a Core 2 machine. permfon2 did not identify the processor as a Core processor. Looking through the code it appears that the family 6 model 14 processors are not identified or supported. The attached patch should enable proper identification of the processor.

-Will



_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/


diff --git a/arch/i386/perfmon/perfmon_p6.c b/arch/i386/perfmon/perfmon_p6.c
index 937a189..6775397 100644
--- a/arch/i386/perfmon/perfmon_p6.c
+++ b/arch/i386/perfmon/perfmon_p6.c
@@ -104,6 +104,7 @@ static int pfm_p6_probe_pmu(void)
 		case 7 ... 11:
 			break;
 		case 13:
+		case 14:
 			/* for Pentium M, we need to check if PMU exist */
 			rdmsr(MSR_IA32_MISC_ENABLE, low, high);
 			if (low & (1U << 7))
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to