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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 A0E2EC43334 for ; Wed, 29 Jun 2022 06:28:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 46FD960C13; Wed, 29 Jun 2022 06:28:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 46FD960C13 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 70i8a5Mjx3uq; Wed, 29 Jun 2022 06:28:46 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id 1A1FE60A6D; Wed, 29 Jun 2022 06:28:46 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 1A1FE60A6D Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id D8F52C0032; Wed, 29 Jun 2022 06:28:45 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6B46CC002D for ; Wed, 29 Jun 2022 06:28:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 459A2408FC for ; Wed, 29 Jun 2022 06:28:44 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 459A2408FC X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AyE23qM2FXAg for ; Wed, 29 Jun 2022 06:28:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 07AD240886 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by smtp4.osuosl.org (Postfix) with ESMTPS id 07AD240886 for ; Wed, 29 Jun 2022 06:28:42 +0000 (UTC) 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 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) Cc: Andrew Lunn , Andre Przywara , Linus Walleij , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, Alan Stern , Greg Kroah-Hartman , Robin Murphy , Gregory Clement , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" 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--- _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EDABC433EF for ; Wed, 29 Jun 2022 06:28:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231744AbiF2G2n (ORCPT ); Wed, 29 Jun 2022 02:28:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230350AbiF2G2m (ORCPT ); Wed, 29 Jun 2022 02:28:42 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8292E27B2E; Tue, 28 Jun 2022 23:28:41 -0700 (PDT) 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220614092047.572235-1-hch@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.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--- 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