[PATCH v3 0/4] thunderbolt: Make iommu_dma_protection more accurate

From: Robin Murphy
Date: Tue Apr 05 2022 - 21:49:36 EST


Hi all,

Here's the third and hopefully final outing for this series, addressing
Mika's review comments from last time and taking advantage of 5.18-rc1
goodies to be even cleaner and more complete. I've also picked up
Mario's AMD IOMMU patch to keep the whole topic together.

Unless there's other pending Thunderbolt development which might
conflict, I suspect it would be simplest for the whole lot to go through
the IOMMU tree.

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 | 4 +-
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +-
drivers/iommu/arm/arm-smmu/arm-smmu.c | 2 +-
drivers/iommu/arm/arm-smmu/qcom_iommu.c | 2 +-
drivers/iommu/fsl_pamu_domain.c | 2 +-
drivers/iommu/intel/iommu.c | 4 +-
drivers/iommu/iommu.c | 25 +++++++++++-
drivers/iommu/s390-iommu.c | 2 +-
drivers/thunderbolt/domain.c | 12 ++----
drivers/thunderbolt/nhi.c | 44 +++++++++++++++++++++
include/linux/iommu.h | 10 ++++-
include/linux/thunderbolt.h | 2 +
14 files changed, 100 insertions(+), 18 deletions(-)

--
2.28.0.dirty