public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] x86 dma_*_coherent rework patchset
@ 2008-08-12 15:24 Joerg Roedel
  2008-08-12 15:24 ` [PATCH 1/7] x86: add alloc_coherent dma_ops callback to GART driver Joerg Roedel
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Joerg Roedel @ 2008-08-12 15:24 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 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(-)





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

end of thread, other threads:[~2008-08-13 20:48 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-12 15:24 [PATCH 0/7] x86 dma_*_coherent rework patchset Joerg Roedel
2008-08-12 15:24 ` [PATCH 1/7] x86: add alloc_coherent dma_ops callback to GART driver Joerg Roedel
2008-08-13  0:45   ` FUJITA Tomonori
2008-08-13 12:46     ` Joerg Roedel
2008-08-13 20:46       ` FUJITA Tomonori
2008-08-12 15:24 ` [PATCH 2/7] x86: add free_coherent " Joerg Roedel
2008-08-13  0:45   ` FUJITA Tomonori
2008-08-13 12:49     ` Joerg Roedel
2008-08-12 15:24 ` [PATCH 3/7] x86: add free_coherent dma_ops callback to Calgary IOMMU driver Joerg Roedel
2008-08-12 16:07   ` Muli Ben-Yehuda
2008-08-12 15:24 ` [PATCH 4/7] x86: add alloc_coherent dma_ops callback to NOMMU driver Joerg Roedel
2008-08-12 18:24   ` Joerg Roedel
2008-08-12 15:24 ` [PATCH 5/7] x86: add free_coherent " Joerg Roedel
2008-08-12 15:24 ` [PATCH 6/7] x86: cleanup dma_*_coherent functions Joerg Roedel
2008-08-13  0:45   ` FUJITA Tomonori
2008-08-13 12:51     ` Joerg Roedel
2008-08-12 15:24 ` [PATCH 7/7] x86, AMD IOMMU: remove obsolete FIXME comment Joerg Roedel
2008-08-12 16:06 ` [PATCH 0/7] x86 dma_*_coherent rework patchset Muli Ben-Yehuda
2008-08-12 16:49   ` Joerg Roedel
2008-08-13  0:51 ` FUJITA Tomonori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox