Re: Page Attribute Table (PAT) support?

From: Jeff Hartmann (jhartmann@valinux.com)
Date: Wed Jan 24 2001 - 13:45:43 EST


Timur Tabi wrote:

> The Page Attribute Table (PAT) is an extension to the x86 page table format
> that lets you enable Write Combining on a per-page basis. Details can be found
> in chapter 9.13 of the Intel Architecture Software Developer's Manual, Volume 3
> (System Programming).
>
> I noticed that 2.4 doesn't support the Page Attribute Table, despite the fact
> that it has a X86_FEATURE_PAT macro in processor.h. Are there any plans to add
> this support? Ideally, I'd like it to be as a parameter for ioremap.

I'm actually writing support for the PAT as we speak. I already have
working code for PAT setup. Just having a parameter for ioremap is not
enough, unfortunately. According to the Intel Architecture Software
Developer's Manual we have to remove all mappings of the page that are
cached. Only then can they be mapped with per page write combining. I
should have working code by the 2.5.x timeframe. I can also discuss the
planned interface if anyone is interested.

-Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:19 EST