]> git.baikalelectronics.ru Git - kernel.git/commit
x86: set strong uncacheable where UC is really desired
authorSiddha, Suresh B <suresh.b.siddha@intel.com>
Wed, 30 Jan 2008 12:33:43 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:43 +0000 (13:33 +0100)
commitc904deaa1bbe197659a03be2738a394f95cebd9c
treeb974b9b392b4cd7263596358dd634b11d7e8f350
parentea1811b3235abcc64422eda7337e7084ef719531
x86: set strong uncacheable where UC is really desired

Also use _PAGE_PWT for all the mappings which need uncache mapping.
Instead of existing PAT2 which is UC- (and can be overwritten by MTRRs),
we now use PAT3 which is strong uncacheable.

This makes it consistent with pgprot_noncached()

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/ioremap_32.c
arch/x86/mm/ioremap_64.c