iommu/amd: Cleanup some of the domain_alloc_paging path
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 1 replyApplied
- v17 patches 10 repliesSuperseded
Changes in v2 from the cover letter
- Remove bitmasking from switch in amd_iommu_domain_alloc_paging_flags()
- Update commit messages with comments
v1: https://patch.msgid.link/r/[email protected]
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | iommu/amd: Remove unused amd_iommu_domain_update()drivers/ drivers/ | +0 | 0 replies | |
| 2/7 | iommu/amd: Remove domain_alloc()drivers/ | +0 | 0 replies | |
| 3/7 | iommu/amd: Remove dev == NULL checksdrivers/ | +10 | 0 replies | |
| 4/7 | iommu/amd: Remove type argument from do_iommu_domain_alloc() and relateddrivers/ drivers/ drivers/ | +13 | 0 replies | |
| 5/7 | iommu/amd: Change amd_iommu_pgtable to use enum protection_domain_modedrivers/ drivers/ drivers/ | +25 | 0 replies | |
| 6/7 | iommu/amd: Move the nid to pdom_setup_pgtable()drivers/ drivers/ drivers/ | +11 | 0 replies | |
| 7/7 | iommu/amd: Fully decode all combinations of alloc_paging_flagsdrivers/ | +15 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Vasant Hegde |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] iommu/amd: Cleanup some of the domain_alloc_paging path
This is a small collection of cleanups
- Remove amd_iommu_domain_update() (dead code)
- Remove domain_alloc()
- Remove now obsolete NULL checks
- Remove obsolete domain types in the domain_alloc_paging_flags() flow
- Use PD_MODE consistently instead of mixing with io_pgtable stuff
v2:
- Remove bitmasking from switch in amd_iommu_domain_alloc_paging_flags()
- Update commit messages with comments
v1: https://patch.msgid.link/r/[email protected]
Alejandro Jimenez (1):
iommu/amd: Remove unused amd_iommu_domain_update()
Jason Gunthorpe (6):
iommu/amd: Remove domain_alloc()
iommu/amd: Remove dev == NULL checks
iommu/amd: Remove type argument from do_iommu_domain_alloc() and
related
iommu/amd: Change amd_iommu_pgtable to use enum protection_domain_mode iommu/amd: Move the nid to pdom_setup_pgtable()
iommu/amd: Fully decode all combinations of alloc_paging_flags
drivers/iommu/amd/amd_iommu.h | 5 +- drivers/iommu/amd/init.c | 14 ++-- drivers/iommu/amd/iommu.c | 144 ++++++++++------------------------ drivers/iommu/amd/pasid.c | 3 +- 4 files changed, 54 insertions(+), 112 deletions(-)
base-commit: 40a9e0c5db5f23103fc3ebc8f27fe665b057bceb
Signature · 1 line
2.43.0