(PPro didn't have PAT. It was first introduced in the original PII
Xeon, and (from a quick survey I just performed) then in the PII
Deschutes and subsequent mainstream P6s).
>
> if (c->x86 < 6) x86_cap_flags[16] = "fcmov";
> else x86_cap_flags[16] = "pat";
>
> to your patch. Or to simplify things, change the common
> flag name table in setup.c.
The K7 has PAT too? Excellent. Now we need PAT support in the kernel,
so we can start to forget all of the petty restrictions of the
MTRRs. With sensible PAT support, XFree86 should just be able to do
fd = open("/dev/mem", O_RW);
mmap(..., WRITE_COMBINING, fd, ...);
to map a linear frame buffer write combining, without any of the
annoying details that the MTRRs introduce. ioremap should accept
similar flags.
David Wragg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/