All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add an iommufd selftest for replacement between domain and handle
@ 2025-02-26  5:01 Yi Liu
  2025-02-26  5:01 ` [PATCH 1/2] iommufd/selftest: Add a helper to get test device Yi Liu
  2025-02-26  5:01 ` [PATCH 2/2] iommufd/selftest: Add coverage for RID replace between handle and non-handle Yi Liu
  0 siblings, 2 replies; 8+ messages in thread
From: Yi Liu @ 2025-02-26  5:01 UTC (permalink / raw)
  To: kevin.tian, jgg; +Cc: joro, baolu.lu, yi.l.liu, iommu, nicolinc

Now iommu core has two sets of group attach APIs for RID. One is with
handle and another one without handle. iommu core allows replacing a
group which has been attached via the API without handle. However, no
known code used it yet. Add an iommufd selftest to cover it.

Based on the below series:
https://lore.kernel.org/linux-iommu/20250226011849.5102-1-yi.l.liu@intel.com/

Yi Liu (2):
  iommufd/selftest: Add a helper to get test device
  iommufd/selftest: Add coverage for RID replace between handle and
    non-handle

 drivers/iommu/iommufd/iommufd_test.h          |   5 +
 drivers/iommu/iommufd/selftest.c              | 134 ++++++++++++++++--
 tools/testing/selftests/iommu/iommufd.c       |   2 +
 .../selftests/iommu/iommufd_fail_nth.c        |   3 +
 tools/testing/selftests/iommu/iommufd_utils.h |  18 +++
 5 files changed, 151 insertions(+), 11 deletions(-)

-- 
2.34.1


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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26  5:01 [PATCH 0/2] Add an iommufd selftest for replacement between domain and handle Yi Liu
2025-02-26  5:01 ` [PATCH 1/2] iommufd/selftest: Add a helper to get test device Yi Liu
2025-02-26 21:45   ` Nicolin Chen
2025-02-27  0:41     ` Yi Liu
2025-02-26  5:01 ` [PATCH 2/2] iommufd/selftest: Add coverage for RID replace between handle and non-handle Yi Liu
2025-02-26 21:58   ` Nicolin Chen
2025-02-27  1:24     ` Yi Liu
2025-02-27 20:11   ` 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.