Skip to content

Rename ops->domain_alloc_user() to domain_alloc_paging_flags()

Jason Gunthorpe linux-arm-kernel linux-iommu linux-patches 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iommu: Add ops->domain_alloc_nested()drivers/iommu/intel/iommu.c drivers/iommu/intel/iommu.h drivers/iommu/intel/nested.c +3 more+29 -212 replies
2/2iommu: Rename ops->domain_alloc_user() to domain_alloc_paging_flags()drivers/iommu/amd/iommu.c drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c drivers/iommu/intel/iommu.c +4 more+32 -382 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLu Baolu
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Rename ops->domain_alloc_user() to domain_alloc_paging_flags()

This tidies some of the naming that has become messy this cycle. This series is on top of the iommufd and iommu tress as there are dependences on the iommufd selftests files changes.

I would like to push this into this merge window so that the next cycle can have the folowup got through the driver trees. Otherwise we will again have conflicts and problems. I have written additional patches to consolidate the drivers to use only domain_alloc_paging_flags() instead of implementing both.

So I propose sending this as a late pull request in the second week.

Jason Gunthorpe (2):
iommu: Add ops->domain_alloc_nested()
iommu: Rename ops->domain_alloc_user() to domain_alloc_paging_flags()

 drivers/iommu/amd/iommu.c                   |  9 +++----
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c |  9 +++----
 drivers/iommu/intel/iommu.c                 | 15 +++---------
 drivers/iommu/intel/iommu.h                 |  6 +++--
 drivers/iommu/intel/nested.c                | 11 +++++++--
 drivers/iommu/iommu.c                       |  4 +--
 drivers/iommu/iommufd/hw_pagetable.c        | 16 ++++++------
 drivers/iommu/iommufd/selftest.c            | 15 +++++-------
 include/linux/iommu.h                       | 27 ++++++++++++---------
 9 files changed, 57 insertions(+), 55 deletions(-)

base-commit: 6143bfc47c18a1505b8f4cda83432c24c842a6ce

Signature · 1 line
2.43.0