linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] x86 dma_*_coherent rework patchset v2
@ 2008-08-19 14:32 Joerg Roedel
  2008-08-19 14:32 ` [PATCH 1/8] x86: add alloc_coherent dma_ops callback to GART driver Joerg Roedel
                   ` (8 more replies)
  0 siblings, 9 replies; 33+ messages in thread
From: Joerg Roedel @ 2008-08-19 14:32 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: linux-kernel, iommu, muli

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, GART, SWIOTLB and NOMMU as well as
on my old 486 box. Muli tested the Calgary specific patch.

Joerg

Changes since v1:

- fixed wrong logic in the pci-nommu alloc_coherent code
- moved dma_*_coherent to include/asm-x86/dma-mapping.h

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        |  146 +-------------------------------------
 arch/x86/kernel/pci-gart_64.c    |   35 +++++++++-
 arch/x86/kernel/pci-nommu.c      |   62 ++++++++++++++++
 include/asm-x86/dma-mapping.h    |   47 ++++++++++---
 6 files changed, 149 insertions(+), 157 deletions(-)




^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2008-08-22  8:25 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-19 14:32 [PATCH 0/8] x86 dma_*_coherent rework patchset v2 Joerg Roedel
2008-08-19 14:32 ` [PATCH 1/8] x86: add alloc_coherent dma_ops callback to GART driver Joerg Roedel
2008-08-21 14:16   ` FUJITA Tomonori
2008-08-21 15:17     ` Joerg Roedel
2008-08-21 17:28     ` [PATCH] x86: make gart_alloc_coherent return zeroed memory Joerg Roedel
2008-08-21 23:19       ` FUJITA Tomonori
2008-08-22  6:35         ` Joerg Roedel
2008-08-22  6:41           ` Ingo Molnar
2008-08-22  6:55             ` Joerg Roedel
2008-08-22  6:36         ` Ingo Molnar
2008-08-19 14:32 ` [PATCH 2/8] x86: add free_coherent dma_ops callback to GART driver Joerg Roedel
2008-08-19 14:32 ` [PATCH 3/8] x86: add free_coherent dma_ops callback to Calgary IOMMU driver Joerg Roedel
2008-08-19 14:32 ` [PATCH 4/8] x86: add alloc_coherent dma_ops callback to NOMMU driver Joerg Roedel
2008-08-19 14:32 ` [PATCH 5/8] x86: add free_coherent " Joerg Roedel
2008-08-19 14:32 ` [PATCH 6/8] x86: cleanup dma_*_coherent functions Joerg Roedel
2008-08-19 14:32 ` [PATCH 7/8] x86: move dma_*_coherent functions to include file Joerg Roedel
2008-08-19 14:32 ` [PATCH 8/8] x86, AMD IOMMU: remove obsolete FIXME comment Joerg Roedel
2008-08-20  9:46 ` [PATCH 0/8] x86 dma_*_coherent rework patchset v2 Ingo Molnar
2008-08-20 10:18   ` [PATCH] dma-coherent: export dma_[alloc|release]_from_coherent methods Ingo Molnar
2008-08-20 11:28     ` Joerg Roedel
2008-08-20 17:39   ` [PATCH 0/8] x86 dma_*_coherent rework patchset v2 Jesse Barnes
2008-08-21 12:00     ` Ingo Molnar
2008-08-21 14:16       ` FUJITA Tomonori
2008-08-21 15:07         ` Jesse Barnes
2008-08-22  7:09           ` Ingo Molnar
2008-08-21 15:20         ` Joerg Roedel
2008-08-21 14:16   ` FUJITA Tomonori
2008-08-21 15:12     ` FUJITA Tomonori
2008-08-22  6:44       ` Ingo Molnar
2008-08-22  6:57         ` FUJITA Tomonori
2008-08-22  7:04           ` Ingo Molnar
2008-08-22  7:29             ` FUJITA Tomonori
2008-08-22  8:23               ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).