Misc iommu_attach_handle enhancements in iommu core
Status from this message: Applied to the shared branch
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 3 repliesApplied
- v24 patches 21 repliesSuperseded
- v15 patches 28 repliesSuperseded
Changes in v3 from the cover letter
- Refine iommu_attach_handle_get() (Baolu)
- More r-b tags
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | iommu: Make @handle mandatory in iommu_{attach|replace}_group_handle()drivers/ | +8 | 0 replies | |
| 2/4 | iommu: Drop iommu_group_replace_domain()drivers/ drivers/ | +6 | 1 reply | |
| 3/4 | iommu: Store either domain or handle in group->pasid_arraydrivers/ | +31 | 1 reply | |
| 4/4 | iommu: Swap the order of setting group->pasid_array and calling attach op of iommu driversdrivers/ | +36 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Jason Gunthorpe | Nicolin Chen | Kevin Tian | Lu Baolu |
|---|---|---|---|---|
| 1/4 | R-b | R-b | R-b | R-b |
| 2/4 | R-b | R-b | R-b | R-b |
| 3/4 | R-b | R-b | R-b | R-b |
| 4/4 | R-b | R-b | 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 4 reviewers.
Cover letter [PATCH v3 0/4] Misc iommu_attach_handle enhancements in iommu core
This patch series aims to enhance the iommu_attach_handle-related APIs in the IOMMU core. The changes build upon Nic's previous series[1], which ensured that users of the attach/replace handle APIs always provide a valid handle. With this foundation, the series refactors the IOMMU core to share code between the normal attach/replace APIs and the handle-supporting APIs. Additionally, it seeks to avoid processing Page Request Interrupts (PRIs) before the attach operation succeeds.
This series also covers the prior series[2] which only takes care of the iommu_attach_device_pasid().
[1] https://lore.kernel.org/linux-iommu/[email protected]/
[2] https://lore.kernel.org/linux-iommu/[email protected]/
Change log:
v3:
- Refine iommu_attach_handle_get() (Baolu)
- More r-b tags
v2: https://lore.kernel.org/linux-iommu/[email protected]/
- Move handl->domain under group->mutex protect (Nic)
- Refine the patch 04 per the model of reserve xa first and then xa_store in the end which does not suppose to fail (Jason)
- Drop the patch 05 of v1 as retire group->domain requires further effort
- Add r-b tags
v1: https://lore.kernel.org/linux-iommu/[email protected]/
Regards,
Yi Liu
Yi Liu (4):
iommu: Make @handle mandatory in iommu_{attach|replace}_group_handle()
iommu: Drop iommu_group_replace_domain()
iommu: Store either domain or handle in group->pasid_array
iommu: Swap the order of setting group->pasid_array and calling attach
op of iommu drivers
drivers/iommu/iommu-priv.h | 3 - drivers/iommu/iommu.c | 135 +++++++++++++++++++++---------------- 2 files changed, 77 insertions(+), 61 deletions(-)
Signature · 1 line
2.34.1