Skip to content

Add an iommufd selftest for replacement between domain and handle

Yi Liu linux-iommu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iommufd/selftest: Add a helper to get test devicedrivers/iommu/iommufd/selftest.c+21 -112 replies
2/2iommufd/selftest: Add coverage for RID replace between handle and non-handledrivers/iommu/iommufd/iommufd_test.h drivers/iommu/iommufd/selftest.c tools/testing/selftests/iommu/iommufd.c +2 more+130 -03 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchNicolin Chen
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Add an iommufd selftest for replacement between domain and handle

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/[email protected]/

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(-)
Signature · 1 line
2.34.1