patches.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Reorganize Intel VT-D to be ready for iommupt
@ 2025-06-09 19:58 Jason Gunthorpe
  2025-06-09 19:58 ` [PATCH 1/7] iommu/vtd: Lift the __pa to domain_setup_first_level/intel_svm_set_dev_pasid() Jason Gunthorpe
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: Jason Gunthorpe @ 2025-06-09 19:58 UTC (permalink / raw)
  To: Lu Baolu, David Woodhouse, iommu, Joerg Roedel, Robin Murphy,
	Will Deacon
  Cc: patches, Wei Wang

This is similar to a series I sent for AMD.

Lightly reorganize some of the page table related code so there is greater
isolation between the first and second stage logic. iommupt will introduce
distinct types and code flows for first and second stages, having them all
combined together is difficult.

Splitting actually makes things generally more understandable anyhow as
they do share only a little code. Most of the registers and logic are in
fact different. That was being obscured by small helper functions that
combine the first and second stage information.

This would replace some of the patches recently sent by Wei.

The full branch including the iommput conversion is here:

    https://github.com/jgunthorpe/linux/commits/iommu_pt_vtd

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

 drivers/iommu/intel/cache.c  |   5 +-
 drivers/iommu/intel/iommu.c  | 321 +++++++++++++++++++++--------------
 drivers/iommu/intel/iommu.h  |   9 +-
 drivers/iommu/intel/nested.c |   3 +-
 drivers/iommu/intel/pasid.c  |  17 +-
 drivers/iommu/intel/pasid.h  |  11 +-
 drivers/iommu/intel/svm.c    |   3 +-
 7 files changed, 221 insertions(+), 148 deletions(-)


base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
-- 
2.43.0


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2025-06-13  3:16 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-09 19:58 [PATCH 0/7] Reorganize Intel VT-D to be ready for iommupt Jason Gunthorpe
2025-06-09 19:58 ` [PATCH 1/7] iommu/vtd: Lift the __pa to domain_setup_first_level/intel_svm_set_dev_pasid() Jason Gunthorpe
2025-06-10 18:34   ` Jason Gunthorpe
2025-06-09 19:58 ` [PATCH 2/7] iommu/vtd: Fold domain_exit() into intel_iommu_domain_free() Jason Gunthorpe
2025-06-10  9:15   ` Wang, Wei W
2025-06-10 13:29     ` Jason Gunthorpe
2025-06-09 19:58 ` [PATCH 3/7] iommu/vtd: Do not wipe out the page table NID when devices detach Jason Gunthorpe
2025-06-10  6:41   ` Baolu Lu
2025-06-10 13:18     ` Jason Gunthorpe
2025-06-10  9:14   ` Wang, Wei W
2025-06-09 19:58 ` [PATCH 4/7] iommu/vtd: Split intel_iommu_domain_alloc_paging_flags() Jason Gunthorpe
2025-06-10  9:14   ` Wang, Wei W
2025-06-10 13:25     ` Jason Gunthorpe
2025-06-09 19:58 ` [PATCH 5/7] iommu/vtd: Create unique domain ops for each stage Jason Gunthorpe
2025-06-10  9:14   ` Wang, Wei W
2025-06-10 13:26     ` Jason Gunthorpe
2025-06-09 19:58 ` [PATCH 6/7] iommu/vtd: Split intel_iommu_enforce_cache_coherency() Jason Gunthorpe
2025-06-09 19:58 ` [PATCH 7/7] iommu/vtd: Split paging_domain_compatible() Jason Gunthorpe
2025-06-10  7:12   ` Baolu Lu
2025-06-10 23:51     ` Jason Gunthorpe
2025-06-11  4:50       ` Baolu Lu
2025-06-12 13:47         ` Jason Gunthorpe
2025-06-13  3:15           ` Baolu Lu
2025-06-12  7:18 ` [PATCH 0/7] Reorganize Intel VT-D to be ready for iommupt Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).