| From: |
| Marek Szyprowski <m.szyprowski@samsung.com> |
| To: |
| linux-arm-kernel@lists.infradead.org,
linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org,
linux-arch@vger.kernel.org, iommu@lists.linux-foundation.org |
| Subject: |
| [PATCHv10 00/11] ARM: DMA-mapping framework redesign |
| Date: |
| Thu, 17 May 2012 15:13:50 +0200 |
| Message-ID: |
| <1337260441-8121-1-git-send-email-m.szyprowski@samsung.com> |
| Cc: |
| Marek Szyprowski <m.szyprowski@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Arnd Bergmann <arnd@arndb.de>, Joerg Roedel <joro@8bytes.org>,
Russell King - ARM Linux <linux@arm.linux.org.uk>,
Chunsang Jeong <chunsang.jeong@linaro.org>,
Krishna Reddy <vdumpa@nvidia.com>,
KyongHo Cho <pullip.cho@samsung.com>,
Andrzej Pietrasiewicz <andrzej.p@samsung.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Hiroshi Doyu <hdoyu@nvidia.com>,
Subash Patel <subashrp@gmail.com> |
| Archive-link: |
| Article, Thread
|
Hello,
This is another update on dma-mapping redesign patches for ARM. I
integrated a few minor fixes that were needed to solve the issues
reported after putting these patches for testing in linux-next branch.
The patches are also available on my git repository at:
git://git.linaro.org/people/mszyprowski/linux-dma-mapping.git 3.4-rc7-arm-dma-v10
History of the development:
v1: (initial version of the DMA-mapping redesign patches):
http://www.spinics.net/lists/linux-mm/msg21241.html
v2:
http://lists.linaro.org/pipermail/linaro-mm-sig/2011-Sept...
http://lists.linaro.org/pipermail/linaro-mm-sig/2011-Sept...
v3:
http://www.spinics.net/lists/linux-mm/msg25490.html
v4 and v5:
http://www.spinics.net/lists/arm-kernel/msg151147.html
http://www.spinics.net/lists/arm-kernel/msg154889.html
v6:
http://www.spinics.net/lists/linux-mm/msg29903.html
v7:
http://www.spinics.net/lists/arm-kernel/msg162149.html
v8:
http://www.spinics.net/lists/arm-kernel/msg168478.html
v9:
http://www.spinics.net/lists/linux-arch/msg17443.html
Best regards
Marek Szyprowski
Samsung Poland R&D Center
Patch summary:
Marek Szyprowski (11):
common: add dma_mmap_from_coherent() function
ARM: dma-mapping: use dma_mmap_from_coherent()
ARM: dma-mapping: use pr_* instread of printk
ARM: dma-mapping: introduce DMA_ERROR_CODE constant
ARM: dma-mapping: remove offset parameter to prepare for generic
dma_ops
ARM: dma-mapping: use asm-generic/dma-mapping-common.h
ARM: dma-mapping: implement dma sg methods on top of any generic dma
ops
ARM: dma-mapping: move all dma bounce code to separate dma ops
structure
ARM: dma-mapping: remove redundant code and do the cleanup
ARM: dma-mapping: use alloc, mmap, free from dma_ops
ARM: dma-mapping: add support for IOMMU mapper
arch/arm/Kconfig | 9 +
arch/arm/common/dmabounce.c | 84 ++-
arch/arm/include/asm/device.h | 4 +
arch/arm/include/asm/dma-iommu.h | 34 ++
arch/arm/include/asm/dma-mapping.h | 407 ++++-----------
arch/arm/mm/dma-mapping.c | 1015 ++++++++++++++++++++++++++++++------
arch/arm/mm/vmregion.h | 2 +-
drivers/base/dma-coherent.c | 42 ++
include/asm-generic/dma-coherent.h | 4 +-
9 files changed, 1134 insertions(+), 467 deletions(-)
create mode 100644 arch/arm/include/asm/dma-iommu.h
--
1.7.10.1