[PATCH 00/11] [PULL REQUEST] Intel IOMMU updates for v6.17

Lu Baolu posted 11 patches 2 months, 3 weeks ago
drivers/iommu/intel/cache.c  |  55 ++----
drivers/iommu/intel/dmar.c   |   3 -
drivers/iommu/intel/iommu.c  | 336 ++++++++++++++++++++++-------------
drivers/iommu/intel/iommu.h  |  22 ++-
drivers/iommu/intel/nested.c |   4 +-
drivers/iommu/intel/pasid.c  |  17 +-
drivers/iommu/intel/pasid.h  |  11 +-
drivers/iommu/intel/svm.c    |   3 +-
drivers/iommu/intel/trace.h  |   5 -
9 files changed, 259 insertions(+), 197 deletions(-)
[PATCH 00/11] [PULL REQUEST] Intel IOMMU updates for v6.17
Posted by Lu Baolu 2 months, 3 weeks ago
Hi Joerg,

The following changes have been queued for v6.17-rc1. They are about new
features and code refactoring, including:

 - Reorganize Intel VT-d to be ready for iommupt
 - Optimize iotlb_sync_map for non-caching/non-RWBF modes
 - Fix missed PASID in dev TLB invalidation in cache_tag_flush_all()
 - Miscellaneous cleanups

These patches are based on v6.16-rc6. Please consider them for the
iommu/vt-d branch.

Best regards,
baolu

Ethan Milon (2):
  iommu/vt-d: Fix missing PASID in dev TLB flush with
    cache_tag_flush_all
  iommu/vt-d: Deduplicate cache_tag_flush_all by reusing flush_range

Jason Gunthorpe (7):
  iommu/vt-d: Lift the __pa to
    domain_setup_first_level/intel_svm_set_dev_pasid()
  iommu/vt-d: Fold domain_exit() into intel_iommu_domain_free()
  iommu/vt-d: Do not wipe out the page table NID when devices detach
  iommu/vt-d: Split intel_iommu_domain_alloc_paging_flags()
  iommu/vt-d: Create unique domain ops for each stage
  iommu/vt-d: Split intel_iommu_enforce_cache_coherency()
  iommu/vt-d: Split paging_domain_compatible()

Lu Baolu (1):
  iommu/vt-d: Optimize iotlb_sync_map for non-caching/non-RWBF modes

Vineeth Pillai (Google) (1):
  iommu/vt-d: Remove the CONFIG_X86 wrapping from iommu init hook

 drivers/iommu/intel/cache.c  |  55 ++----
 drivers/iommu/intel/dmar.c   |   3 -
 drivers/iommu/intel/iommu.c  | 336 ++++++++++++++++++++++-------------
 drivers/iommu/intel/iommu.h  |  22 ++-
 drivers/iommu/intel/nested.c |   4 +-
 drivers/iommu/intel/pasid.c  |  17 +-
 drivers/iommu/intel/pasid.h  |  11 +-
 drivers/iommu/intel/svm.c    |   3 +-
 drivers/iommu/intel/trace.h  |   5 -
 9 files changed, 259 insertions(+), 197 deletions(-)

-- 
2.43.0
Re: [PATCH 00/11] [PULL REQUEST] Intel IOMMU updates for v6.17
Posted by Will Deacon 2 months, 3 weeks ago
On Mon, 14 Jul 2025 12:50:17 +0800, Lu Baolu wrote:
> The following changes have been queued for v6.17-rc1. They are about new
> features and code refactoring, including:
> 
>  - Reorganize Intel VT-d to be ready for iommupt
>  - Optimize iotlb_sync_map for non-caching/non-RWBF modes
>  - Fix missed PASID in dev TLB invalidation in cache_tag_flush_all()
>  - Miscellaneous cleanups
> 
> [...]

Applied to iommu (intel/vt-d), thanks!

[01/11] iommu/vt-d: Remove the CONFIG_X86 wrapping from iommu init hook
        https://git.kernel.org/iommu/c/bd26cd9d815a
[02/11] iommu/vt-d: Optimize iotlb_sync_map for non-caching/non-RWBF modes
        https://git.kernel.org/iommu/c/12724ce3fe1a
[03/11] iommu/vt-d: Lift the __pa to domain_setup_first_level/intel_svm_set_dev_pasid()
        https://git.kernel.org/iommu/c/cd0d0e4e48d8
[04/11] iommu/vt-d: Fold domain_exit() into intel_iommu_domain_free()
        https://git.kernel.org/iommu/c/00939bebe51c
[05/11] iommu/vt-d: Do not wipe out the page table NID when devices detach
        https://git.kernel.org/iommu/c/5c3687d5789c
[06/11] iommu/vt-d: Split intel_iommu_domain_alloc_paging_flags()
        https://git.kernel.org/iommu/c/b9434ba97c44
[07/11] iommu/vt-d: Create unique domain ops for each stage
        https://git.kernel.org/iommu/c/b33125296b50
[08/11] iommu/vt-d: Split intel_iommu_enforce_cache_coherency()
        https://git.kernel.org/iommu/c/0fa6f0893466
[09/11] iommu/vt-d: Split paging_domain_compatible()
        https://git.kernel.org/iommu/c/85cfaacc9937
[10/11] iommu/vt-d: Fix missing PASID in dev TLB flush with cache_tag_flush_all
        https://git.kernel.org/iommu/c/3141153816bf
[11/11] iommu/vt-d: Deduplicate cache_tag_flush_all by reusing flush_range
        https://git.kernel.org/iommu/c/e934464e098e

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev