Re: [PATCH 3/3] Sh: use generic per-device coherent dma allocator

From: Ingo Molnar
Date: Fri Jul 18 2008 - 15:15:28 EST



* Dmitry Baryshkov <dbaryshkov@xxxxxxxxx> wrote:

> Signed-off-by: Dmitry Baryshkov <dbaryshkov@xxxxxxxxx>
> Cc: Paul Mundt <lethal@xxxxxxxxxxxx>

applied all 3 patches to core/generic-dma-coherent, which is at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core/generic-dma-coherent

------------------>
Dmitry Baryshkov (5):
generic: per-device coherent dma allocator
x86: use generic per-device dma coherent allocator
Generic dma-coherent: fix DMA_MEMORY_EXCLUSIVE
ARM: support generic per-device coherent dma mem
Sh: use generic per-device coherent dma allocator


arch/arm/Kconfig | 1 +
arch/arm/mm/consistent.c | 8 ++
arch/sh/Kconfig | 1 +
arch/sh/mm/consistent.c | 98 +---------------------------
arch/x86/Kconfig | 1 +
arch/x86/kernel/pci-dma.c | 122 +----------------------------------
include/asm-arm/dma-mapping.h | 2 +
include/asm-generic/dma-coherent.h | 32 +++++++++
include/asm-sh/dma-mapping.h | 1 +
include/asm-x86/dma-mapping.h | 22 +------
init/Kconfig | 4 +
kernel/Makefile | 1 +
kernel/dma-coherent.c | 126 ++++++++++++++++++++++++++++++++++++
13 files changed, 183 insertions(+), 236 deletions(-)
create mode 100644 include/asm-generic/dma-coherent.h
create mode 100644 kernel/dma-coherent.c

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/