Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata

Dave Jones
2003-09-16T13:31:36Z

On Tue, Sep 16, 2003 at 12:46:36PM +0100, Jamie Lokier wrote:

> > The user space problem worries me more, because the expectation
> > is that if CPUID says the program can use perfetch, it could
> > and should regardless of what the kernel decided to do here.
>
> If the workaround isn't compiled in, "prefetch" should be removed from
> /proc/cpuinfo on the buggy chips.

prefetch isn't a cpuid feature flag. The only way you could do
what you suggest is by removing '3dnow' or 'sse', which cripples
things more than necessary.

Dave

--
Dave Jones http://www.codemonkey.org.uk