From patchwork Mon Apr 25 12:42:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Murphy X-Patchwork-Id: 12825725 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3054C433F5 for ; Mon, 25 Apr 2022 12:42:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233056AbiDYMpS (ORCPT ); Mon, 25 Apr 2022 08:45:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231204AbiDYMpO (ORCPT ); Mon, 25 Apr 2022 08:45:14 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B3350D891A; Mon, 25 Apr 2022 05:42:10 -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 7A817ED1; Mon, 25 Apr 2022 05:42:10 -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 01FFE3F5A1; Mon, 25 Apr 2022 05:42:08 -0700 (PDT) From: Robin Murphy To: joro@8bytes.org Cc: baolu.lu@linux.intel.com, andreas.noever@gmail.com, michael.jamet@intel.com, mika.westerberg@linux.intel.com, YehezkelShB@gmail.com, iommu@lists.linux-foundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, mario.limonciello@amd.com, hch@lst.de Subject: [PATCH v4 0/4] iommu, thunderbolt: Make iommu_dma_protection more accurate Date: Mon, 25 Apr 2022 13:42:01 +0100 Message-Id: X-Mailer: git-send-email 2.35.3.dirty MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi all, As promised, here's the really-actually-final version, cleaning up the new interface in patch #1 to not introduce the new parameter before it's ready, and rebased to make sure it correctly applies on -rc3. Thanks, Robin. Mario Limonciello (1): iommu/amd: Indicate whether DMA remap support is enabled Robin Murphy (3): iommu: Introduce device_iommu_capable() iommu: Add capability for pre-boot DMA protection thunderbolt: Make iommu_dma_protection more accurate drivers/iommu/amd/amd_iommu_types.h | 4 +++ drivers/iommu/amd/init.c | 3 ++ drivers/iommu/amd/iommu.c | 2 ++ drivers/iommu/intel/iommu.c | 2 ++ drivers/iommu/iommu.c | 23 +++++++++++++++ drivers/thunderbolt/domain.c | 12 ++------ drivers/thunderbolt/nhi.c | 44 +++++++++++++++++++++++++++++ include/linux/iommu.h | 8 ++++++ include/linux/thunderbolt.h | 2 ++ 9 files changed, 91 insertions(+), 9 deletions(-)