Vince,

Both patches have been applied. Glad to see this working on older machines.

Thanks for your contributions.

On Wed, Oct 24, 2007 at 01:37:41PM -0400, Vince Weaver wrote:
> Hello
> 
> attached are the patches to the kernel and to libpfm that enable Pentium
> Pro support.  I managed to find an actual Pentium Pro system, and have
> verified that these patches work.
> 
> Vince
> 
> 
> --- ./lib/pfmlib_i386_p6.c.orig       2007-10-24 09:13:13.000000000 -0400
> +++ ./lib/pfmlib_i386_p6.c    2007-10-24 09:13:41.000000000 -0400
> @@ -112,6 +112,7 @@
>       model = atoi(buffer);
> 
>       switch(model) {
> +             case 1: /* Pentium Pro */
>                  case 3: /* Pentium II */
>                  case 5: /* Pentium II Deschutes */
>               case 7: /* Pentium III Katmai */
> 
> 
> 
> 
> 
> --- ./arch/i386/perfmon/perfmon_p6.c.orig     2007-10-24 09:05:19.000000000 
> -0400
> +++ ./arch/i386/perfmon/perfmon_p6.c  2007-10-24 09:05:55.000000000 -0400
> @@ -99,6 +99,7 @@
>       }
> 
>       switch(cpu_data->x86_model) {
> +             case 1: /* Pentium Pro */
>               case 3:
>               case 5: /* Pentium II Deschutes */
>               case 7 ... 11:
> 
> _______________________________________________
> perfmon mailing list
> [email protected]
> http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

-- 

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

Reply via email to