Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp773444lqt; Fri, 19 Apr 2024 09:58:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwNBlxGwLT6RZjqVEZIUN2K186KnjBclyUnZ6h+bmv7EE54NiFKuWAk3sSTfgdnxLOs221nf0kkkMEGGkAM7hHkTJccnO7W5zbd+3ZyQ== X-Google-Smtp-Source: AGHT+IHfRLd5RTArORRnwQCF4jQiW+WHaA3HzBRQgjHjzArRvOMSWIqLEMIx5qzWymwYNGeWSxhq X-Received: by 2002:a17:903:1248:b0:1e8:5dc6:4060 with SMTP id u8-20020a170903124800b001e85dc64060mr3520394plh.33.1713545887039; Fri, 19 Apr 2024 09:58:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713545887; cv=pass; d=google.com; s=arc-20160816; b=yWYrkkAYN4mcWWjOy8pLUFs9I9E35aCNEYzff4WKb0c5j9ElugSSX9Zv+gTrjrSiiS tiWp5eYBipMtPOY8vtxrUT9NPR7QxTDwaRvtEXLCeuF0K6tV4jP6ydl9mibOqPXYo63T 6kb+ZnfCVwHGuuFRyiNxBMHPcrISwsg1ibOGA6bVMgR3xyQ9+AmW1qP8URPCnoO773ld EB7qQXQRxK//sDqtf0X0EnS1ZkkZL3jtQSplXngIWa/9telDgtU1LUuQt39wLaodRKrt KUwP7nckUzCmPxjLVmgSp/+EtoVstV/V1dBiRd5YZQIEVSiMt2GKL6YYHnvJaYH9WUxq FJSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=3EyZHG0IXbaOhcXIMk008H/ZHgwsKn8ryjmoAJpPKgA=; fh=aRP+j2eI8HLZeRlPbVNPpUzWFpzi52Y0udFwaQsFbe0=; b=0feewvuy2FmX2xiJZD9+E4iyHV/nNB4sz1ZGFCU5hNztuUBUfawHC1UqJH3JCdRi7V EzfbpMw8TuEyJK+bo5YDC/W2zj/qWUF7ZR7Tn3a+EF0STWZkb9sZ5lJh6vK0hRDSapqe Xpo0A8YqqiE5TT38F3cfx+jtWoLQK+Kf4e3qmi+kc0UAdWsf9hO+OIlv6t5WNx1OFF1Z 8ezL34GFifC8rSzsoZsS/9EePQjm87VG09y7/UL+QK5tZI3KG6CmI88mU8CAiJUwIl5j yJwsY3AkHKi/xD4OZ8UYF1dd/jEmN0ElI2jopwe37848w3yfxvnz0gVO0HGrE3Dla504 tQlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-151792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h7-20020a170902680700b001e5886e2a90si3465810plk.297.2024.04.19.09.58.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 09:58:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-151792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D901E281CD2 for ; Fri, 19 Apr 2024 16:57:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3450139CED; Fri, 19 Apr 2024 16:56:23 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C01A6138483; Fri, 19 Apr 2024 16:56:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713545783; cv=none; b=J+gk5/Itk7AF4HeYi+6HPikALHhpaTzj25lDLq1I+VCbfhBfaLsjA1fqUOvIYNovQoBg5eVccw/EucEo3+Ro4c2tre3woNuxr7fFqaHzYCLmEWalDbFuMB9WL0DQhsEbdBvMdeLIf6DxLXiP9uxY66ejvTiuRy6xoBj1+CUFZDE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713545783; c=relaxed/simple; bh=6H9tNs5Z0RVvieO0Y7v9eYCru6tnL57CLmPNvVcHMu4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=eAqdqIMSZAbPxxsP/45MjYq4fvwbLkvHs0U2FYxuVgBqeXC1xXHfXY3cJkDOh4JkdfBktMyy3z7DdUWJRuf9SsBYfp3ECRLiT6uGQ5eJWgWtqYCknhDfC5CGs0+FVNMScjK4kR59/JcFnM3ZJXd3ERenOV4hpQkxPI3dH06LwQs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 9D3F1339; Fri, 19 Apr 2024 09:56:49 -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 1EA7A3F792; Fri, 19 Apr 2024 09:56:18 -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 Subject: [PATCH 0/4] iommu: Remove iommu_fwspec ops Date: Fri, 19 Apr 2024 17:55:58 +0100 Message-Id: X-Mailer: git-send-email 2.39.2.101.g768bb238c484.dirty Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi All, Building on top of the arch_setup_dma_ops() cleanup[1], the next step down the chain is {acpi,of}_dma_configure()... There's plenty to do here, but it may as well start with this fairly self-contained little cleanup, pruning yet more redundancy and exposed API surface. Thanks, Robin. [1] https://lore.kernel.org/linux-iommu/cover.1713523152.git.robin.murphy@arm.com 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 | 38 +++++--------------- 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, 66 insertions(+), 134 deletions(-) -- 2.39.2.101.g768bb238c484.dirty