From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AEBD9C43334 for ; Wed, 29 Jun 2022 06:29:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=joDM/Q9GyFkgM9YxsgqeIUoJF0q3dDDA4XY28srsfQk=; b=XhcgGT+2bBxAFU BvXgUtz9oy7XP82GQdI3LlJHXMPj+lS8WKEB+bfzld2goOKTAriFGrLbvWyXu5G9Z3PflgbwTGZS2 JGoCrLbcxsr/ta6imJLxJdmlCiTity2YloTDnyQDnWSguA6y56StJGD+lt1x2qKOQvNvHq+Fno2i7 minpP8jgTRtVy8oJkw/lxqYYnW8cO25TodC0euOoCZkLSrhbffH23J0Z4nUTihbkn+6XOSOUANcfu wE/1ZaQV4hZkv99xHwYAqKMlhidHvA+OMY8G4wdSIu9l9YEuoaR/t3LqVTbPsDtsOIayVukscpA+1 +pDgo415w/N5ZIrw5GpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6RBx-009m9Q-Bg; Wed, 29 Jun 2022 06:28:49 +0000 Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6RBt-009m7P-B6 for linux-arm-kernel@lists.infradead.org; Wed, 29 Jun 2022 06:28:47 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id 3AFBD67373; Wed, 29 Jun 2022 08:28:37 +0200 (CEST) Date: Wed, 29 Jun 2022 08:28:37 +0200 From: Christoph Hellwig To: Russell King , Arnd Bergmann Cc: Linus Walleij , Andre Przywara , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Greg Kroah-Hartman , Alan Stern , Laurentiu Tudor , Marek Szyprowski , Robin Murphy , iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: fully convert arm to use dma-direct v3 Message-ID: <20220629062837.GA17140@lst.de> References: <20220614092047.572235-1-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220614092047.572235-1-hch@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_232845_570968_BF4EDDB9 X-CRM114-Status: GOOD ( 20.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Any comments or additional testing? It would be really great to get this off the table. On Tue, Jun 14, 2022 at 11:20:37AM +0200, Christoph Hellwig wrote: > 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 v2: > - rebased to Linux 5.19-rc2 > > 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(-) > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ---end quoted text--- _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel