x86: PAT support updated - v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | x86: PAT documentationDocumentation/ | +100 | 0 replies | |
| 2/13 | x86: PAT infrastructure patcharch/ arch/ arch/ +7 more | +567 | 2 replies | |
| 3/13 | x86: PAT Avoid aliasing in /dev/mem read/writearch/ drivers/ include/ +2 more | +64 | 0 replies | |
| 4/13 | x86: PAT make ioremap_change_attr non-staticarch/ include/ | +15 | 0 replies | |
| 5/13 | x86: PAT use reserve free memtype in ioremap and iounmaparch/ | +28 | 0 replies | |
| 6/13 | x86: PAT use reserve free memtype in set_memory_ucarch/ arch/ include/ | +23 | 0 replies | |
| 7/13 | x86: PAT use reserve free memtype in pci_mmap_page_rangearch/ | +60 | 0 replies | |
| 8/13 | x86: PAT phys_mem_access_prot_allowed for dev/mem mmaparch/ drivers/ include/ | +59 | 0 replies | |
| 9/13 | x86: PAT use reserve free memtype in mmap of /dev/memarch/ drivers/ | +152 | 0 replies | |
| 10/13 | x86: PAT export resource_wc in pci sysfsDocumentation/ drivers/ include/ | +63 | 0 replies | |
| 11/13 | x86: PAT Add set_memory_wc() interfacearch/ include/ | +21 | 0 replies | |
| 12/13 | x86: PAT Add ioremap_wc() interfacearch/ include/ include/ +1 more | +39 | 0 replies | |
| 13/13 | x86: PAT Patch to add PAT related debug printsarch/ arch/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 00/13] x86: PAT support updated - v3
Follow up on earlier PAT patch series here:
http://lkml.org/lkml/2008/1/10/312
This patch series adds Page Attribute Table (PAT) support on x86. There have been few changes based on comments for earlier patches and also issues that was seen while the earlier patchset was in mm. The main changes include:
* Unlike earlier patchset, there are no changes to identity mapping of reserved regions.
* Unlike earlier patches, there are no chanegs to early ioremap.
* We look at MTRR setting and PAT request and track the resultant type to avoid aliasing.
* UC_MINUS in PAT to provide backward compatibility to /dem/mem mmap users.
In general, we have tried to make patches more simpler and cleaner. Hope is to cause less disruption along the way. The changes/cleaups that went into x86/mm (specifically pageattr.c) has helped us along the way.
The patchset is against x86 testing from couple of days back.
The last patch in the series is meant for test-tree only and adds some useful printks that can help us debug any potential issues.
There are two issues that we are leaving out at the moment to make the patch simple. We will be addressing them with incremental patches soon:
* FB/DRM drivers using pgprot_val and changing protection on their own without using any proper APIs like ioremap. There are few such usages and each one will be addressed separately.
* To change attributes from WC to WB in a "perfect way", one has to follow certain sequence like make page non-present etc.