iommu: Domain allocation enhancements
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest12 patches 8 repliesApplied
- v412 patches 13 repliesSuperseded
- v312 patches 32 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 8 patches | 66 replies | Superseded | |
| v1 | 5 patches | 32 replies | Superseded |
Changes in v5 from the cover letter
- Updated amd_iommu_domain_alloc_user()
- Added Review-by tags
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | iommu: Refactor __iommu_domain_alloc()drivers/ | +25 | 0 replies | |
| 2/12 | iommu: Introduce iommu_paging_domain_alloc_flags()drivers/ include/ | +38 | 0 replies | |
| 3/12 | iommu: Add new flag to explictly request PASID capable domaindrivers/ include/ | +53 | 1 reply | |
| 4/12 | iommu/arm-smmu-v3: Enhance domain_alloc_user() to allocate PASID capable domaindrivers/ | +5 | 0 replies | |
| 5/12 | iommu/amd: Add helper function to check GIOSUP/GTSUPdrivers/ drivers/ | +7 | 0 replies | |
| 6/12 | iommu/amd: Move V2 page table support check to early_amd_iommu_init()drivers/ | +7 | 0 replies | |
| 7/12 | iommu/amd: Separate page table setup from domain allocationdrivers/ | +26 | 0 replies | |
| 8/12 | iommu/amd: Pass page table type as param to pdom_setup_pgtable()drivers/ | +19 | 0 replies | |
| 9/12 | iommu/amd: Enhance amd_iommu_domain_alloc_user()drivers/ | +27 | 1 reply | |
| 10/12 | iommu/amd: Implement global identity domaindrivers/ drivers/ drivers/ | +36 | 0 replies | |
| 11/12 | iommu: Put domain allocation in __iommu_group_alloc_blocking_domain()drivers/ | +13 | 0 replies | |
| 12/12 | iommu: Create __iommu_alloc_identity_domain()drivers/ | +29 | 5 replies |
Reviews trailers per patch
All 12 patches have a Reviewed-by or Acked-by.
| Patch | Lu Baolu | Jason Gunthorpe | Kevin Tian | Yi Liu | Jacob Pan |
|---|---|---|---|---|---|
| 1/12 | R-b | R-b | R-b | R-b | |
| 2/12 | R-b | R-b | R-b | R-b | |
| 3/12 | R-b | R-b | |||
| 4/12 | R-b | R-b | |||
| 5/12 | R-b | ||||
| 6/12 | R-b | ||||
| 7/12 | R-b | R-b | |||
| 8/12 | R-b | R-b | |||
| 9/12 | R-b | R-b | |||
| 10/12 | R-b | R-b | |||
| 11/12 | R-b | R-b | |||
| 12/12 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v5 00/12] iommu: Domain allocation enhancements
This series adds iommu_paging_domain_alloc_flags() which takes flags to pass additional details for domain allocation (like domain with PASID support). Also adjusts core code to handler variuos domain allocations.
Also updates AMD IOMMU driver domain allocation code. With this by default it will allocate domain with V2 page table for PASID capable device and v1 page table for rest of the devices.
Thanks everyone who reviewed previous version and provided valuable feedbacks.
This series is based on top of v6.12-rc3.
This is also available at github :
https://github.com/AMDESE/linux-iommu/tree/iommu_paging_domain_v5
Changes from v4 -> v5:
- Updated amd_iommu_domain_alloc_user()
- Added Review-by tags
V4 : https://lore.kernel.org/linux-iommu/[email protected]/T/#t
Changes from v3 -> v4:
- Added Review-by tags
- Updated Patch3 to handle -EOPNOTSUPP and allocate non-PASID domain
- Updated amd_iommu_domain_alloc_user() to do flags check first
- Few other minor fixes based on review comment
V3 : https://lore.kernel.org/linux-iommu/[email protected]/T/#t
Changes from V2 -> v3:
- Added Review-by tags
- Fixed warnings reported by 0-DAY CI
- Added patch to enhance arm_smmu_domain_alloc_user() to support IOMMU_HWPT_ALLOC_PASID flag
- Added new patch to check GIOSUP/GTSUP
- Added patch to move V2 page table check to early_amd_iommu_init()
- Added patch to adjust blocked/identity domain allocation in core layer
- Dropped "iommu/amd: Add iommu_ops->domain_alloc_paging support"
V2 : https://lore.kernel.org/linux-iommu/[email protected]/T/#t
Changes from v1 -> v2:
- Rebased on top of iommu/next
- Split patches into smaller patches
- Added global static identity domain support
V1 : https://lore.kernel.org/linux-iommu/[email protected]/
RFC v2: https://lore.kernel.org/linux-iommu/[email protected]/T/#t
RFC v1 : https://lore.kernel.org/linux-iommu/[email protected]/
Jason Gunthorpe (5):
iommu: Refactor __iommu_domain_alloc()
iommu: Introduce iommu_paging_domain_alloc_flags()
iommu: Add new flag to explictly request PASID capable domain
iommu: Put domain allocation in __iommu_group_alloc_blocking_domain()
iommu: Create __iommu_alloc_identity_domain()
Vasant Hegde (7):
iommu/arm-smmu-v3: Enhance domain_alloc_user() to allocate PASID
capable domain
iommu/amd: Add helper function to check GIOSUP/GTSUP iommu/amd: Move V2 page table support check to early_amd_iommu_init() iommu/amd: Separate page table setup from domain allocation iommu/amd: Pass page table type as param to pdom_setup_pgtable() iommu/amd: Enhance amd_iommu_domain_alloc_user() iommu/amd: Implement global identity domain
drivers/iommu/amd/amd_iommu.h | 8 +- drivers/iommu/amd/init.c | 18 +- drivers/iommu/amd/iommu.c | 141 ++++++++++----- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 6 +- drivers/iommu/iommu.c | 186 ++++++++++++++------ include/linux/iommu.h | 14 +- include/uapi/linux/iommufd.h | 8 + 7 files changed, 270 insertions(+), 111 deletions(-)
Signature · 1 line
2.31.1