lkml.org 
[lkml]   [2008]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] x86 dma_*_coherent rework patchset
Date
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(-)






\
 
 \ /
  Last update: 2008-08-12 17:27    [W:0.282 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site