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 7D298C433EF for ; Thu, 21 Apr 2022 07:42:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386051AbiDUHpU (ORCPT ); Thu, 21 Apr 2022 03:45:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386092AbiDUHpM (ORCPT ); Thu, 21 Apr 2022 03:45:12 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4F511B790; Thu, 21 Apr 2022 00:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=2mMRupdTibHP92zSqaJ1XHBYwKEXmx1jN9N5J5PfPKA=; b=a8SN8amWkK5b+WwqYYs3BkbqdD aNUpfiWWOC+FKwZNUV3qNmadhpDu7TdDmoDQHs37i8PrnBIMSNr+qv38GstUp5xDmFD6YOFe6kT7o 47IAm1qNvIXhXwE550bNDqeeZ60TUjG5g6k9XgckFo8fd6BKM9ZhjCW3EDcmlI1EeWm2lG11nOalz EvoX3CEgUuyhcQIQ/z4oVa6P/ZxRyer8BgLSgpVoF/r/adK1WFl68rF8J4qnEZhoPQcEmQKg5Qq03 qTmEtOo+Ng9dc8P/TxyqYIYTJgItF17s1SU8LFbWLE9nl5VXORrcGTZYhnaGq7hTW3eDVtVgC6H7z hbd6lo9g==; 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 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-)