From patchwork Tue Jul 2 11:40:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Murphy X-Patchwork-Id: 13719472 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 CB02CC3064D for ; Tue, 2 Jul 2024 11:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ITSH2q9Up4Uz7r/w/4CHvQtovFpN3ZZw1ENk6wy9mPc=; b=rNk2ooni1ZDK4O+XSkgd0/ClOT MLssjS3QNscF9UlS6bMes9wrt7YiQ2htKeNoiHLW3zzVSkR98EnNoANOMSS9p2bUGMQbL2dHpNu+5 +IHhzT9IucNTflBvEuxC5RYVabI7DPkJtDOsP0PHaPqZ7hJtWQdSygqiljR0+Ol6KNvPG0G2b9zs9 tHHtjEpU105JZfINVcxkpH95DhmrLlOKGipMSBxU37ewnucTaH8PjaUVx/yt49VlQQPwaM1hI+A9U wtWokMwyrmFKyTAsv77m3uN0lGwwU4nrezlTwqItcYTfG7yf/3b9ZuFhKYiK3nAO8M63CyAnxl0g8 kXgFZsJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sObst-00000006VAP-3A1n; Tue, 02 Jul 2024 11:41:19 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sObsf-00000006V4D-0nbQ for linux-arm-kernel@lists.infradead.org; Tue, 02 Jul 2024 11:41:08 +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 A2A88339; Tue, 2 Jul 2024 04:41:26 -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 1E7473F762; Tue, 2 Jul 2024 04:40:58 -0700 (PDT) From: Robin Murphy To: Will Deacon , Joerg Roedel Cc: linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, Rob Herring , Saravana Kannan , Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , "Rafael J. Wysocki" , Len Brown , Jean-Philippe Brucker , Andy Shevchenko , Yong Wu Subject: [PATCH v3 0/5] iommu: Remove iommu_fwspec ops Date: Tue, 2 Jul 2024 12:40:46 +0100 Message-Id: X-Mailer: git-send-email 2.39.2.101.g768bb238c484.dirty MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240702_044105_289720_672E6496 X-CRM114-Status: UNSURE ( 8.61 ) 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 v2: https://lore.kernel.org/linux-iommu/cover.1718994350.git.robin.murphy@arm.com/ Hi all, Just a quick update with an extra patch to avoid the mediatek-v1 driver breaking (and I have now build-tested ARCH=arm to make sure, apologies for being lazy before...) Thanks, Robin. Robin Murphy (5): iommu/mediatek-v1: Clean up redundant fwspec checks iommu: Resolve fwspec ops automatically ACPI: Retire acpi_iommu_fwspec_ops() OF: Simplify of_iommu_configure() iommu: Remove iommu_fwspec ops drivers/acpi/arm64/iort.c | 19 +++------- drivers/acpi/scan.c | 36 +++++-------------- drivers/acpi/viot.c | 11 ++---- drivers/iommu/arm/arm-smmu/arm-smmu.c | 3 +- drivers/iommu/iommu-priv.h | 7 ++++ drivers/iommu/iommu.c | 20 +++++------ drivers/iommu/mtk_iommu_v1.c | 12 ++----- drivers/iommu/of_iommu.c | 50 ++++++++++----------------- drivers/iommu/tegra-smmu.c | 2 +- drivers/of/device.c | 30 ++++++---------- include/acpi/acpi_bus.h | 3 +- include/linux/iommu.h | 15 ++------ 12 files changed, 67 insertions(+), 141 deletions(-)