Re: Athlon/AGP issue update

Rik van Riel
2002-01-23T10:32:13Z

On Wed, 23 Jan 2002, David S. Miller wrote:

> But the only thing I am still confused about, is what 4MB mappings
> have to do with any of this. What I take from the description is that
> the problem will still exist after 4MB mappings are disabled. What
> prevents the processor from doing the speculative store to the
> cacheable mappings once 4MB pages are disabled?
>
> At best, I bet turning off 4MB pages makes the bug less likely.
> It does not eliminate the chance to hit the bug.

I've asked the same question yesterday on the phone.

The explanation is pretty simple:

1) the video driver gets free pages for the agp
data structures

2) the speculative store doesn't cross page
boundaries

This means that when using 4kB pages instead of 4MB
pages the agp data is "fenced off" from the other
kernel data.

kind regards,

Rik
--
"Linux holds advantages over the single-vendor commercial OS"
-- Microsoft's "Competing with Linux" document

http://www.surriel.com/ http://distro.conectiva.com/