x86 PAT: fix performance drop for glx, use UC minus for ioremap(),...
x86 PAT: fix performance drop for glx, use UC minus for ioremap(), ioremap_nocache() and pci_mmap_page_range() Use UC_MINUS for ioremap(), ioremap_nocache() instead of strong UC. Once all the X drivers move to ioremap_wc(), we can go back to strong UC semantics for ioremap() and ioremap_nocache(). To avoid attribute aliasing issues, pci_mmap_page_range() will also use UC_MINUS for default non write-combining mapping request. Next steps: a) change all the video drivers using ioremap() or ioremap_nocache() and adding WC MTTR using mttr_add() to ioremap_wc() b) for strict usage, we can go back to strong uc semantics for ioremap() and ioremap_nocache() after some grace period for completing step-a. c) user level X server needs to use the appropriate method for setting up WC mapping (like using resourceX_wc sysfs file instead of adding MTRR for WC and using /dev/mem or resourceX under /sys) Signed-off-by:Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by:
Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Mentioned in commit 2e043a92
-
Mentioned in commit 5e200b53
-
Mentioned in commit 3fb07671
-
Mentioned in commit 05314098
-
Mentioned in commit 78084dcf
-
Mentioned in commit 888ca5d2
-
Mentioned in commit f2081b81
-
Mentioned in commit 3b213c2f
-
Mentioned in commit 4d811d6c
-
Mentioned in commit 2cff6406
-
Mentioned in commit f4447dde
-
Mentioned in commit 775a8a56
-
Mentioned in commit f8f05cdc
-
Mentioned in commit 26e25060
-
Mentioned in commit 04dc78b4
-
Mentioned in commit cc9866eb
-
Mentioned in commit 1e43a203
-
Mentioned in commit 9ccfc4aa
-
Mentioned in commit 8cd1943b
-
Mentioned in commit 127b0c94
-
Mentioned in commit 7d89a3cb
-
Mentioned in commit c43996f4
-
Mentioned in commit c1127098
-
Mentioned in commit 9e517ac8
-
Mentioned in commit f3adccbd
-
Mentioned in commit 1b3d4200
-
Mentioned in commit c823a48a
-
Mentioned in commit 4edcd2ab
-
Mentioned in commit 81bdef04