| From: |
| Christoph Hellwig <hch-AT-lst.de> |
| To: |
| Russell King <linux-AT-armlinux.org.uk>, Arnd Bergmann <arnd-AT-kernel.org> |
| Subject: |
| fully convert arm to use dma-direct v2 |
| Date: |
| Mon, 02 May 2022 09:43:20 -0700 |
| Message-ID: |
| <20220502164330.229685-1-hch@lst.de> |
| Cc: |
| Linus Walleij <linus.walleij-AT-linaro.org>, Andre Przywara <andre.przywara-AT-arm.com>, Andrew Lunn <andrew-AT-lunn.ch>, Gregory Clement <gregory.clement-AT-bootlin.com>, Sebastian Hesselbarth <sebastian.hesselbarth-AT-gmail.com>, Greg Kroah-Hartman <gregkh-AT-linuxfoundation.org>, Alan Stern <stern-AT-rowland.harvard.edu>, Laurentiu Tudor <laurentiu.tudor-AT-nxp.com>, Marek Szyprowski <m.szyprowski-AT-samsung.com>, Robin Murphy <robin.murphy-AT-arm.com>, iommu-AT-lists.linux-foundation.org, linux-arm-kernel-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org, linux-usb-AT-vger.kernel.org |
| Archive-link: |
| Article |
Hi all,
arm is the last platform not using the dma-direct code for directly
mapped DMA. With the dmaboune removal from Arnd we can easily switch
arm to always use dma-direct now (it already does for LPAE configs
and nommu). I'd love to merge this series through the dma-mapping tree
as it gives us the opportunity for additional core dma-mapping
improvements.
Changes since v1:
- remove another unused function
- improve a few commit logs
- add three more patches from Robin
Diffstat:
arch/arm/common/dmabounce.c | 582 -----------------
arch/arm/include/asm/dma-mapping.h | 128 ---
b/arch/arm/Kconfig | 5
b/arch/arm/common/Kconfig | 6
b/arch/arm/common/Makefile | 1
b/arch/arm/common/sa1111.c | 64 -
b/arch/arm/include/asm/device.h | 3
b/arch/arm/include/asm/dma-direct.h | 49 -
b/arch/arm/include/asm/memory.h | 2
b/arch/arm/mach-footbridge/Kconfig | 1
b/arch/arm/mach-footbridge/common.c | 19
b/arch/arm/mach-footbridge/include/mach/dma-direct.h | 8
b/arch/arm/mach-footbridge/include/mach/memory.h | 4
b/arch/arm/mach-highbank/highbank.c | 2
b/arch/arm/mach-mvebu/coherency.c | 2
b/arch/arm/mm/dma-mapping.c | 649 ++-----------------
b/drivers/usb/core/hcd.c | 17
b/drivers/usb/host/ohci-sa1111.c | 25
18 files changed, 137 insertions(+), 1430 deletions(-)