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 14DE1C27C4F for ; Fri, 21 Jun 2024 18:47:17 +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=uLdRp78My/oa0wG3sfUEDU8/WWP1ozmiSwfIHRJClHU=; b=C9919kbqnEqxHSm3BsPPJxffTT 0sjmMuum3x0CCut944O42j44RBcv/tW5meTYRuijm3Tc2v0/JMVxS1K2qgyDHNC7g6YiroesDqRYU 8iWpCkag5HJZZWTN1zrSJir06siW+i4OqojnVOjufea8+XkqbrHChAFjcXaT4aVtRraoy4Lad8N2d o6kJT3rnXm4gEzgzStNmiJ5reiniLH9Do3P2lcMJTi6UmLsdaDoCKYZ0hKWL8/kRCW/pXzfVWoFyb xr91WrhQ9gWm+ntEERHcelknBOtCZBR/vEcVoZ0xBKdYDafh9smIo4FcSeoZNCjJIBXMt0ocDy4Dx 9t/0EPnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKjHu-0000000AGXL-1S4m; Fri, 21 Jun 2024 18:47:06 +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 1sKjHn-0000000AGUk-0DaW for linux-arm-kernel@lists.infradead.org; Fri, 21 Jun 2024 18:47:00 +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 632E4DA7; Fri, 21 Jun 2024 11:47:20 -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 34B373F6A8; Fri, 21 Jun 2024 11:46:53 -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 Subject: [PATCH v2 0/4] iommu: Remove iommu_fwspec ops Date: Fri, 21 Jun 2024 19:46:35 +0100 Message-Id: X-Mailer: git-send-email 2.39.2.101.g768bb238c484.dirty MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240621_114659_294054_FD82F1EC X-CRM114-Status: UNSURE ( 6.90 ) 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 v1: https://lore.kernel.org/linux-iommu/cover.1713523251.git.robin.murphy@arm.com Hi all, Here's v2 of this little cleanup, with acks and the additional cosmetic tweak suggested by Andy. There were some slightly non-trivial changes in the rebase so I've left off Jean-Philippe's tested-by from v1, but I've given it a quick spin on arm64 ACPI and DT and all seems well still. Thanks, Robin. Robin Murphy (4): 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 | 2 +- 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, 65 insertions(+), 133 deletions(-) -- 2.39.2.101.g768bb238c484.dirty