From patchwork Fri Dec 10 17:54:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Murphy X-Patchwork-Id: 12670519 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA4C9C4332F for ; Fri, 10 Dec 2021 17:55:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5787A6B0072; Fri, 10 Dec 2021 12:55:12 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 527AA6B0073; Fri, 10 Dec 2021 12:55:12 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3EF436B0074; Fri, 10 Dec 2021 12:55:12 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0079.hostedemail.com [216.40.44.79]) by kanga.kvack.org (Postfix) with ESMTP id 306C36B0072 for ; Fri, 10 Dec 2021 12:55:12 -0500 (EST) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id E613086E70 for ; Fri, 10 Dec 2021 17:55:01 +0000 (UTC) X-FDA: 78902635602.16.1B914E8 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf03.hostedemail.com (Postfix) with ESMTP id 0753420005 for ; Fri, 10 Dec 2021 17:55:00 +0000 (UTC) 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 ED03812FC; Fri, 10 Dec 2021 09:54:59 -0800 (PST) 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 B28663F73B; Fri, 10 Dec 2021 09:54:58 -0800 (PST) From: Robin Murphy To: joro@8bytes.org, will@kernel.org Cc: iommu@lists.linux-foundation.org, suravee.suthikulpanit@amd.com, baolu.lu@linux.intel.com, willy@infradead.org, linux-kernel@vger.kernel.org, john.garry@huawei.com, linux-mm@kvack.org Subject: [PATCH v2 00/11] iommu: refactor flush queues into iommu-dma Date: Fri, 10 Dec 2021 17:54:41 +0000 Message-Id: X-Mailer: git-send-email 2.28.0.dirty MIME-Version: 1.0 X-Stat-Signature: cwg86qnw9r45som77xxcwburtjeygsdf Authentication-Results: imf03.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf03.hostedemail.com: domain of robin.murphy@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=robin.murphy@arm.com X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 0753420005 X-HE-Tag: 1639158900-72898 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: v1: https://lore.kernel.org/linux-iommu/cover.1637671820.git.robin.murphy@arm.com/ Hi all, Just a minor update, pulling in Xiongfeng's fix as a basis for the subsequent patches moving that code around, and the Tegra DRM patch previously posted separately. Plus commenting the subtlety in the AMD pagetable code so it's hopefully easier to remember in future. Given that no major issues have surfaced so far, hopefully this is on track for 5.17 in parallel with the slab rework. Thanks, Robin. Matthew Wilcox (Oracle) (2): iommu/amd: Use put_pages_list iommu/vt-d: Use put_pages_list Robin Murphy (8): gpu: host1x: Add missing DMA API include drm/tegra: vic: Fix DMA API misuse iommu/iova: Squash entry_dtor abstraction iommu/iova: Squash flush_cb abstraction iommu/amd: Simplify pagetable freeing iommu/iova: Consolidate flush queue code iommu/iova: Move flush queue code to iommu-dma iommu: Move flush queue data into iommu_dma_cookie Xiongfeng Wang (1): iommu/iova: Fix race between FQ timeout and teardown drivers/gpu/drm/tegra/vic.c | 7 +- drivers/gpu/host1x/bus.c | 1 + drivers/iommu/amd/io_pgtable.c | 120 ++++++--------- drivers/iommu/dma-iommu.c | 268 +++++++++++++++++++++++++++------ drivers/iommu/intel/iommu.c | 89 ++++------- drivers/iommu/iova.c | 200 ------------------------ include/linux/iommu.h | 3 +- include/linux/iova.h | 69 +-------- 8 files changed, 303 insertions(+), 454 deletions(-)