All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Misc iommu_attach_handle enhancements in iommu core
@ 2025-02-12  6:05 Yi Liu
  2025-02-12  6:05 ` [PATCH 1/5] iommu: Make @handle mandatory in iommu_{attach|replace}_group_handle() Yi Liu
                   ` (5 more replies)
  0 siblings, 6 replies; 34+ messages in thread
From: Yi Liu @ 2025-02-12  6:05 UTC (permalink / raw)
  To: joro, jgg
  Cc: kevin.tian, baolu.lu, yi.l.liu, iommu, robin.murphy, nicolinc,
	will

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. Ultimately,
the group->domain becomes redundant and is retired.

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/cover.1738645017.git.nicolinc@nvidia.com/
[2] https://lore.kernel.org/linux-iommu/20250120030840.4171-1-yi.l.liu@intel.com/

Regards,
	Yi Liu

Yi Liu (5):
  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
  iommu: Retire group->domain

 drivers/iommu/dma-iommu.c  |   3 +-
 drivers/iommu/iommu-priv.h |   1 +
 drivers/iommu/iommu.c      | 254 +++++++++++++++++++++----------------
 3 files changed, 151 insertions(+), 107 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-02-20 16:18 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12  6:05 [PATCH 0/5] Misc iommu_attach_handle enhancements in iommu core Yi Liu
2025-02-12  6:05 ` [PATCH 1/5] iommu: Make @handle mandatory in iommu_{attach|replace}_group_handle() Yi Liu
2025-02-18 19:09   ` Jason Gunthorpe
2025-02-19 16:48   ` Nicolin Chen
2025-02-20  3:50     ` Yi Liu
2025-02-20  8:21   ` Tian, Kevin
2025-02-12  6:05 ` [PATCH 2/5] iommu: Drop iommu_group_replace_domain() Yi Liu
2025-02-18 19:10   ` Jason Gunthorpe
2025-02-19 16:53   ` Nicolin Chen
2025-02-20  3:51     ` Yi Liu
2025-02-20  8:22   ` Tian, Kevin
2025-02-12  6:05 ` [PATCH 3/5] iommu: Store either domain or handle in group->pasid_array Yi Liu
2025-02-18 19:14   ` Jason Gunthorpe
2025-02-19 17:15   ` Nicolin Chen
2025-02-20  3:51     ` Yi Liu
2025-02-20  8:28     ` Tian, Kevin
2025-02-20  8:27   ` Tian, Kevin
2025-02-12  6:05 ` [PATCH 4/5] iommu: Swap the order of setting group->pasid_array and calling attach op of iommu drivers Yi Liu
2025-02-18 19:27   ` Jason Gunthorpe
2025-02-19  4:29     ` Yi Liu
2025-02-20  8:31     ` Tian, Kevin
2025-02-12  6:05 ` [PATCH 5/5] iommu: Retire group->domain Yi Liu
2025-02-18 19:39   ` Jason Gunthorpe
2025-02-19  6:52     ` Yi Liu
2025-02-19 12:31       ` Yi Liu
2025-02-19 13:10         ` Jason Gunthorpe
2025-02-20  4:01           ` Yi Liu
2025-02-20  8:33             ` Tian, Kevin
2025-02-20 16:18             ` Jason Gunthorpe
2025-02-18 19:57   ` Jason Gunthorpe
2025-02-19 12:20     ` Yi Liu
2025-02-12 15:25 ` [PATCH 0/5] Misc iommu_attach_handle enhancements in iommu core Jason Gunthorpe
2025-02-13  3:16   ` Yi Liu
2025-02-13 15:08     ` Jason Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.