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 8A2EBC433EF for ; Thu, 21 Apr 2022 07:43:31 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qVw6pUlpB7kYBM8NtVJ1y3BCX0YwnVPz7TEpq61mD4E=; b=Gc0PJnx1zMPSM3 PtMUx1dEgrgWc6GWMkAIt/stgfRNUySe+40Wfrv4sudYADPSKT9pYcLgop7ysEPdh+8FBeHGYmVLd 7Tfin2NrFACmZ3BzDUZ4BebZE3AfH7unMM9ud0wZh/+vFmxaENPh0SqD944cZHT48BbbeLVe3nV6I LConk10UNBdidT88y3PEep0Ob2R77u1OlGgcGsDfIIi828o8ZrOv++bTnupuhr2PooxJVi0R+asSU yZeLIT7Mqc7yyTzo08BgsbmboPqwsbEQBlha4cngrLbjPePEPJH0qjIuz4rQNZyKzaSBQJ17HgRLh nyiwSxzWm+X1VFuP6Ytw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhRSF-00C7UI-I2; Thu, 21 Apr 2022 07:42:20 +0000 Received: from [2001:4bb8:191:364b:7b50:153f:5622:82f7] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhRS2-00C7P9-5g; Thu, 21 Apr 2022 07:42:06 +0000 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: fully convert arm to use dma-direct Date: Thu, 21 Apr 2022 09:41:57 +0200 Message-Id: <20220421074204.1284072-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 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 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. 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 | 381 ------------ b/drivers/usb/core/hcd.c | 17 b/drivers/usb/host/ohci-sa1111.c | 25 18 files changed, 84 insertions(+), 1215 deletions(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel