From patchwork Thu Apr 21 11:36:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Murphy X-Patchwork-Id: 12821514 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 2B6E7C433F5 for ; Thu, 21 Apr 2022 11:38:19 +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=zGZLzvPGaSV9+OzkOnZ7V96nKt/Ox159SGqU06kHYWY=; b=wUoLIvmKU7ZVZR t6BVdy6xE67wAzBCkowjcDNpPe9GflMO4488bXoxkv6mJpyR8m8q4QPAH/ofjDusD6Yvi7ApbhX1h 11m1sWVfptWn+Zw5hwbJI/soJZKil/r/iuQg+xcwlEywc3WWSUffacT7znoxASlhtll+febqYz8Mn 9lfIWwJHxlLeAEuGZqMCC7bOcvIt7FyN2JXtzWKC+wBGWtTODQ1r+CTkjyk4Iri4fq8pQSUIDY0er dvb8uZLsxHP8lv61fa9X1HkyE98/JeIfgfkwtOfqppgqGQoRGCAXR2AOeDUgfJsI53r1HOt3oqOIc ffdO3EcGJXfJ+3pw1gvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhV7i-00DDVX-LF; Thu, 21 Apr 2022 11:37:22 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhV7S-00DDLv-V2 for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 11:37:09 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E42741FB; Thu, 21 Apr 2022 04:37:03 -0700 (PDT) Received: from e121345-lin.cambridge.arm.com (e121345-lin.cambridge.arm.com [10.1.196.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DB60A3F5A1; Thu, 21 Apr 2022 04:37:02 -0700 (PDT) From: Robin Murphy To: hch@lst.de, linux@armlinux.org.uk Cc: linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com, arnd@kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] More ARM DMA ops cleanup Date: Thu, 21 Apr 2022 12:36:56 +0100 Message-Id: X-Mailer: git-send-email 2.35.3.dirty MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220421_043707_116800_81AD53C9 X-CRM114-Status: UNSURE ( 8.37 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, Thanks to Christoph's latest series, I'm reminded that, if we're going to give the ARM DMA ops some cleanup this cycle, it's as good a time as any to dust off these old patches and add them on top as well. I've based these on the arm-dma-direct branch which I assume matches the patches posted at [1]. Cheers, Robin. [1] https://lore.kernel.org/linux-arm-kernel/20220421074204.1284072-1-hch@lst.de/ Robin Murphy (3): ARM/dma-mapping: Drop .dma_supported for IOMMU ops ARM/dma-mapping: Consolidate IOMMU ops callbacks ARM/dma-mapping: Merge IOMMU ops arch/arm/mm/dma-mapping.c | 286 +++++++++----------------------------- 1 file changed, 62 insertions(+), 224 deletions(-)