[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220421114105.4bb06db7@donnerap.cambridge.arm.com>
Date: Thu, 21 Apr 2022 11:41:05 +0100
From: Andre Przywara <andre.przywara@....com>
To: Christoph Hellwig <hch@....de>
Cc: Russell King <linux@...linux.org.uk>,
Arnd Bergmann <arnd@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Andrew Lunn <andrew@...n.ch>,
Gregory Clement <gregory.clement@...tlin.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alan Stern <stern@...land.harvard.edu>,
Laurentiu Tudor <laurentiu.tudor@....com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Robin Murphy <robin.murphy@....com>,
iommu@...ts.linux-foundation.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org
Subject: Re: fully convert arm to use dma-direct
On Thu, 21 Apr 2022 09:41:57 +0200
Christoph Hellwig <hch@....de> wrote:
Hi,
> 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.
>
> 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
FWIW, I applied this on top of 5.18-rc3 and pushed my Midway (the Highbank
successor) a bit with it (scp-ing GBs forth and back to a SATA SSD). Not a
really conclusive test, but so far it looks all fine.
So for the Highbank part:
Acked-by: Andre Przywara <andre.przywara@....com>
Cheers,
Andre
> b/arch/arm/mach-mvebu/coherency.c | 2
> b/arch/arm/mm/dma-mapping.c | 381 ------------
> b/drivers/usb/core/hcd.c | 17
> b/drivers/usb/host/ohci-sa1111.c | 25
> 18 files changed, 84 insertions(+), 1215 deletions(-)
Powered by blists - more mailing lists