x86 dma_*_coherent rework patchset
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | x86: add alloc_coherent dma_ops callback to GART driverarch/ | +21 | 3 replies | |
| 2/7 | x86: add free_coherent dma_ops callback to GART driverarch/ | +10 | 2 replies | |
| 3/7 | x86: add free_coherent dma_ops callback to Calgary IOMMU driverarch/ | +14 | 1 reply | |
| 4/7 | x86: add alloc_coherent dma_ops callback to NOMMU driverarch/ | +38 | 1 reply | |
| 5/7 | x86: add free_coherent dma_ops callback to NOMMU driverarch/ | +7 | 0 replies | |
| 6/7 | x86: cleanup dma_*_coherent functionsarch/ | +10 | 2 replies | |
| 7/7 | x86, AMD IOMMU: remove obsolete FIXME commentarch/ | +0 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Muli Ben-Yehuda |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | A-b |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] x86 dma_*_coherent rework patchset
Hi,
this patchset reworks the dma_*_coherent functions in the DMA layer for the x86 architecture. The patch series extends the existing DMA backends with missing *coherent callbacks and simplifies the generic function to basically only call the registered backend. This allows future optimizations in hardware specific IOMMU implementations.
The code ist tested on AMD64 with AMD IOMMU and GART as well as on my old 486 box. It is not yet tested on a Calgary IOMMU system.
Joerg
git diff --stat tip/master:
arch/x86/kernel/amd_iommu.c | 2 - arch/x86/kernel/pci-calgary_64.c | 14 +++++ arch/x86/kernel/pci-dma.c | 116 +++---------------------------------- arch/x86/kernel/pci-gart_64.c | 31 ++++++++++ arch/x86/kernel/pci-nommu.c | 45 +++++++++++++++ 5 files changed, 100 insertions(+), 108 deletions(-)