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
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Stefan Richter
Re: sata & scsi suggestion for make menuconfig
Rafael J. Wysocki
[Bug #11409] build issue #564 for v2.6.27-rc4 : undefined reference to `NS8390p_in...
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Marcin Slusarz
Re: [PATCH] ufs: [bl]e*_add_cpu conversion
Andrew Morton
2.6.23-rc6-mm1
git
:
Junio C Hamano
Re: git-svnimport
Anuj Gakhar
Git Architecture Question
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Gabriel
[PATCH] When a remote is added but not fetched, tell the user.
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
[ARM] dma: use new dmabounce_sync_for_xxx() for dma_sync_single_xxx()
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Jason Dixon
Re: any web management gui for pf ?
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Marco Peereboom
Re: Singularity OS
Colocation donated by:
Syndicate