Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3901348rwb; Tue, 16 Aug 2022 10:35:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR7FGiEU1qURERH9/P+INkn2xnmKRYJuN+Gx5fyAIfEkI2CstUZPhkyirqP94+/x9Cx3uFhZ X-Received: by 2002:a05:6402:4504:b0:43b:4ec7:2ec1 with SMTP id ez4-20020a056402450400b0043b4ec72ec1mr19548794edb.7.1660671327442; Tue, 16 Aug 2022 10:35:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660671327; cv=none; d=google.com; s=arc-20160816; b=HGJtr1ZF9o7wnUVb/sMZSuhzoNN2W/njUF3+22SNSQnPJHU7i7vD21li7OYe/My1Gn YN3GyrDuXA/JjVjYhIxC4Yo8sPaHxxMMTYOxOsaQNCJ8IqiSmEXvsmVkBUN5hg9/N0V0 T78EwitW6fxIXohjoBmt3DoZBr6PzCDkrnaGjGsbtFsXBUrry2Ji2advS45/TztvKRZt dIgeYS7MsvtqQ1qNzCHlJ8wXbgJ02iQicXTSCjJVfylaKLtNrwhNajk+MwK8CSfW6cos 8neb5HL4YtU7VYKIIi7C1W4VIJ4SiLz1C0thpnB1MDet/4Fzyw6qwZOxdODMzoJs0Tw6 hBEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=kOTXGyTfd+i0WOg5wHIGaPcwXdPXF9FyvqN8Wgo5zfk=; b=VHTDGiv5ra+WQ0KZemY4ImSyOsgmzDA7LWrxtW7XaIJbZaa6yFKAqdEBG4lKY4/qAE zaIYABI0TovZhb/Z6a5jXoA/AagSVpIMtcdB3MSWfgYb3ca2Zx3I2nbGmmKJ3zbrXz5X a/TxeX0xu8xH69GQ3bmZQqjkeqL3NejZ+7MuOW4xFuA4m71v2Y4Rh3tUWLAsQGl2Yjqk BrnUMnLmbcGi/m6/QnS2HynGwEG2ZoJRQSrYIO+3NKV/XptyG/OjQ1avsbxUHd//Be0h qlh0sI8IZxje2pJqTQ+aJSgazR/teCppPxlqZTHxHc92wYMBLRgJ5AN7SSe5sItexI83 fU7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id re15-20020a170906d8cf00b0073117e47fe5si8934177ejb.997.2022.08.16.10.35.01; Tue, 16 Aug 2022 10:35:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236170AbiHPR2W (ORCPT + 99 others); Tue, 16 Aug 2022 13:28:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233727AbiHPR2P (ORCPT ); Tue, 16 Aug 2022 13:28:15 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1310D2BF2; Tue, 16 Aug 2022 10:28:11 -0700 (PDT) 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 E8497106F; Tue, 16 Aug 2022 10:28:11 -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 0C37E3F67D; Tue, 16 Aug 2022 10:28:08 -0700 (PDT) From: Robin Murphy To: joro@8bytes.org Cc: will@kernel.org, catalin.marinas@arm.com, jean-philippe@linaro.org, inki.dae@samsung.com, sw0312.kim@samsung.com, kyungmin.park@samsung.com, tglx@linutronix.de, maz@kernel.org, alex.williamson@redhat.com, cohuck@redhat.com, iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: [PATCH 0/3] iommu/dma: Some housekeeping Date: Tue, 16 Aug 2022 18:28:02 +0100 Message-Id: X-Mailer: git-send-email 2.36.1.dirty MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, It's been a while now since iommu-dma grew from a library of DMA ops helpers for arch code into something more abstracted and closely coupled to the IOMMU API core, so it seemed about time to do some housekeeping in the more neglected areas to reflect that. The header reorganisation does touch a range of areas (a couple of which seemingly had no reason to be involved anyway), but hopefully these are all low-impact changes that nobody minds going through the IOMMU tree. Now for the build-bots to tell me what I've missed... Thanks, Robin. Robin Murphy (3): iommu/dma: Clean up Kconfig iommu/dma: Move public interfaces to linux/iommu.h iommu/dma: Make header private arch/arm64/Kconfig | 1 - arch/arm64/mm/dma-mapping.c | 2 +- drivers/acpi/viot.c | 1 - drivers/gpu/drm/exynos/exynos_drm_dma.c | 1 - drivers/iommu/Kconfig | 3 +- drivers/iommu/amd/Kconfig | 1 - drivers/iommu/amd/iommu.c | 2 +- drivers/iommu/apple-dart.c | 3 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +- drivers/iommu/arm/arm-smmu/arm-smmu.c | 2 +- drivers/iommu/dma-iommu.c | 18 +++- drivers/iommu/dma-iommu.h | 38 +++++++++ drivers/iommu/intel/Kconfig | 1 - drivers/iommu/intel/iommu.c | 2 +- drivers/iommu/iommu.c | 3 +- drivers/iommu/virtio-iommu.c | 3 +- drivers/irqchip/irq-gic-v2m.c | 2 +- drivers/irqchip/irq-gic-v3-its.c | 2 +- drivers/irqchip/irq-gic-v3-mbi.c | 2 +- drivers/irqchip/irq-ls-scfg-msi.c | 2 +- drivers/vfio/vfio_iommu_type1.c | 1 - include/linux/dma-iommu.h | 93 --------------------- include/linux/iommu.h | 36 ++++++++ 23 files changed, 105 insertions(+), 116 deletions(-) create mode 100644 drivers/iommu/dma-iommu.h delete mode 100644 include/linux/dma-iommu.h -- 2.36.1.dirty