login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
21
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: FUJITA Tomonori
Subject:
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
Date: Thursday, August 21, 2008 - 7:16 am
On Wed, 20 Aug 2008 11:46:12 +0200 Ingo Molnar <mingo@elte.hu> wrote:
quoted text
> > * Joerg Roedel <joerg.roedel@amd.com> wrote: > > > 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(-) > > applied to tip/x86/iommu - thanks Joerg! > > Jesse, Fujita-san, do these changes look fine to you?
As I wrote in another mail, GART should return zeroed memory (keeping the current behavior is better). Except for it, the patchset looks fine. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/8] x86 dma_*_coherent rework patchset v2
, Joerg Roedel
, (Tue Aug 19, 7:32 am)
[PATCH 1/8] x86: add alloc_coherent dma_ops callback to GA ...
, Joerg Roedel
, (Tue Aug 19, 7:32 am)
[PATCH 2/8] x86: add free_coherent dma_ops callback to GAR ...
, Joerg Roedel
, (Tue Aug 19, 7:32 am)
[PATCH 3/8] x86: add free_coherent dma_ops callback to Cal ...
, Joerg Roedel
, (Tue Aug 19, 7:32 am)
[PATCH 4/8] x86: add alloc_coherent dma_ops callback to NO ...
, Joerg Roedel
, (Tue Aug 19, 7:32 am)
[PATCH 5/8] x86: add free_coherent dma_ops callback to NOM ...
, Joerg Roedel
, (Tue Aug 19, 7:32 am)
[PATCH 6/8] x86: cleanup dma_*_coherent functions
, Joerg Roedel
, (Tue Aug 19, 7:32 am)
[PATCH 7/8] x86: move dma_*_coherent functions to include file
, Joerg Roedel
, (Tue Aug 19, 7:32 am)
[PATCH 8/8] x86, AMD IOMMU: remove obsolete FIXME comment
, Joerg Roedel
, (Tue Aug 19, 7:32 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, Ingo Molnar
, (Wed Aug 20, 2:46 am)
[PATCH] dma-coherent: export dma_[alloc|release]_from_cohe ...
, Ingo Molnar
, (Wed Aug 20, 3:18 am)
Re: [PATCH] dma-coherent: export dma_[alloc|release]_from_ ...
, Joerg Roedel
, (Wed Aug 20, 4:28 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, Jesse Barnes
, (Wed Aug 20, 10:39 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, Ingo Molnar
, (Thu Aug 21, 5:00 am)
Re: [PATCH 1/8] x86: add alloc_coherent dma_ops callback t ...
, FUJITA Tomonori
, (Thu Aug 21, 7:16 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, FUJITA Tomonori
, (Thu Aug 21, 7:16 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, FUJITA Tomonori
, (Thu Aug 21, 7:16 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, Jesse Barnes
, (Thu Aug 21, 8:07 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, FUJITA Tomonori
, (Thu Aug 21, 8:12 am)
Re: [PATCH 1/8] x86: add alloc_coherent dma_ops callback t ...
, Joerg Roedel
, (Thu Aug 21, 8:17 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, Joerg Roedel
, (Thu Aug 21, 8:20 am)
[PATCH] x86: make gart_alloc_coherent return zeroed memory
, Joerg Roedel
, (Thu Aug 21, 10:28 am)
Re: [PATCH] x86: make gart_alloc_coherent return zeroed memory
, FUJITA Tomonori
, (Thu Aug 21, 4:19 pm)
Re: [PATCH] x86: make gart_alloc_coherent return zeroed memory
, Joerg Roedel
, (Thu Aug 21, 11:35 pm)
Re: [PATCH] x86: make gart_alloc_coherent return zeroed memory
, Ingo Molnar
, (Thu Aug 21, 11:36 pm)
Re: [PATCH] x86: make gart_alloc_coherent return zeroed memory
, Ingo Molnar
, (Thu Aug 21, 11:41 pm)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, Ingo Molnar
, (Thu Aug 21, 11:44 pm)
Re: [PATCH] x86: make gart_alloc_coherent return zeroed memory
, Joerg Roedel
, (Thu Aug 21, 11:55 pm)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, FUJITA Tomonori
, (Thu Aug 21, 11:57 pm)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, Ingo Molnar
, (Fri Aug 22, 12:04 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, Ingo Molnar
, (Fri Aug 22, 12:09 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, FUJITA Tomonori
, (Fri Aug 22, 12:29 am)
Re: [PATCH 0/8] x86 dma_*_coherent rework patchset v2
, Ingo Molnar
, (Fri Aug 22, 1:23 am)
Navigation
Mai