Re: [PATCH] perf,x86,p6: Add userspace RDPMC quirk for P6

From: Vince Weaver
Date: Wed Feb 05 2014 - 14:26:20 EST


On Wed, 5 Feb 2014, Peter Zijlstra wrote:

> On Wed, Feb 05, 2014 at 02:16:43PM -0500, Vince Weaver wrote:
> > On Wed, 5 Feb 2014, Peter Zijlstra wrote:
> >
> > > P6 class machines can die hard when PCE gets enabled due to CPU
> > > errata. The safe way it so disable it by default and keep it disabled.
> > >
> > > See errata 26:
> >
> > so you take an errata applicable to a subset of Pentium Pro steppings and
> > apply it to the whole p6 line (which includes the whole way up to Pentium
> > III)?
> >
> > Or am I missing something in the documentation you link to?
>
> I forgot it went all the way to P-III, let me try and find the other
> erratas.

from the document you linked it looks like it was fixed by the Pentium
Pro stepping sB1 (6.1.9).

Has someone actually hit this bug? People used PAPI/perfctr on these
machines for years, and it uses rdpmc by default so I would think it would
show up if it were an issue. I should check the perfctr code to see if it
had some sort of check.

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