login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
13
Re: [PATCH 6/7] x86: cleanup dma_*_coherent functions
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
FUJITA Tomonori <fujita.tomonori@...>
To: <joerg.roedel@...>
Cc: <mingo@...>, <tglx@...>, <hpa@...>, <linux-kernel@...>, <iommu@...>, <muli@...>
Subject:
Re: [PATCH 6/7] x86: cleanup dma_*_coherent functions
Date: Tuesday, August 12, 2008 - 8:45 pm
On Tue, 12 Aug 2008 17:24:16 +0200 Joerg Roedel <joerg.roedel@amd.com> wrote:
quoted text
> All dma_ops implementations support the alloc_coherent and free_coherent > callbacks now. This allows a big simplification of the dma_alloc_coherent > function which is done with this patch. The dma_free_coherent functions is also > cleaned up and calls now the free_coherent callback of the dma_ops > implementation. > > Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> > --- > arch/x86/kernel/pci-dma.c | 116 ++++----------------------------------------- > 1 files changed, 10 insertions(+), 106 deletions(-) > > diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c > index f704cb5..60fa80d 100644 > --- a/arch/x86/kernel/pci-dma.c > +++ b/arch/x86/kernel/pci-dma.c
How about moving dma_free_coherent and dma_alloc_coherent to asm-x86/dma-mapping.h? It would be nice to have all the dma operations in one place. --
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/7] x86 dma_*_coherent rework patchset
, Joerg Roedel
, (Tue Aug 12, 11:24 am)
Re: [PATCH 0/7] x86 dma_*_coherent rework patchset
, FUJITA Tomonori
, (Tue Aug 12, 8:51 pm)
Re: [PATCH 0/7] x86 dma_*_coherent rework patchset
, Muli Ben-Yehuda
, (Tue Aug 12, 12:06 pm)
Re: [PATCH 0/7] x86 dma_*_coherent rework patchset
, Joerg Roedel
, (Tue Aug 12, 12:49 pm)
[PATCH 1/7] x86: add alloc_coherent dma_ops callback to GART...
, Joerg Roedel
, (Tue Aug 12, 11:24 am)
Re: [PATCH 1/7] x86: add alloc_coherent dma_ops callback to ...
, FUJITA Tomonori
, (Tue Aug 12, 8:45 pm)
Re: [PATCH 1/7] x86: add alloc_coherent dma_ops callback to ...
, Joerg Roedel
, (Wed Aug 13, 8:46 am)
Re: [PATCH 1/7] x86: add alloc_coherent dma_ops callback to ...
, FUJITA Tomonori
, (Wed Aug 13, 4:46 pm)
[PATCH 7/7] x86, AMD IOMMU: remove obsolete FIXME comment
, Joerg Roedel
, (Tue Aug 12, 11:24 am)
[PATCH 2/7] x86: add free_coherent dma_ops callback to GART ...
, Joerg Roedel
, (Tue Aug 12, 11:24 am)
Re: [PATCH 2/7] x86: add free_coherent dma_ops callback to G...
, FUJITA Tomonori
, (Tue Aug 12, 8:45 pm)
Re: [PATCH 2/7] x86: add free_coherent dma_ops callback to G...
, Joerg Roedel
, (Wed Aug 13, 8:49 am)
[PATCH 6/7] x86: cleanup dma_*_coherent functions
, Joerg Roedel
, (Tue Aug 12, 11:24 am)
Re: [PATCH 6/7] x86: cleanup dma_*_coherent functions
, FUJITA Tomonori
, (Tue Aug 12, 8:45 pm)
Re: [PATCH 6/7] x86: cleanup dma_*_coherent functions
, Joerg Roedel
, (Wed Aug 13, 8:51 am)
[PATCH 4/7] x86: add alloc_coherent dma_ops callback to NOMM...
, Joerg Roedel
, (Tue Aug 12, 11:24 am)
Re: [PATCH 4/7] x86: add alloc_coherent dma_ops callback to ...
, Joerg Roedel
, (Tue Aug 12, 2:24 pm)
[PATCH 5/7] x86: add free_coherent dma_ops callback to NOMMU...
, Joerg Roedel
, (Tue Aug 12, 11:24 am)
[PATCH 3/7] x86: add free_coherent dma_ops callback to Calga...
, Joerg Roedel
, (Tue Aug 12, 11:24 am)
Re: [PATCH 3/7] x86: add free_coherent dma_ops callback to C...
, Muli Ben-Yehuda
, (Tue Aug 12, 12:07 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Linus Torvalds
Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Linus Torvalds
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [klibc] [patch] import socket defines
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
560 guests
online.
Online users
wikaniko
Syndicate