tests/intel/xe_sriov_vfio: Add basic VFIO coverage
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 4 repliesIn review
- v14 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Keep as a single load/unload subtest skipping when module already loaded (Lukasz)
- Split bound-driver assertion helper and remove redundant pre-bind unbind (Lukasz)
- Simplify restore_xe_vfio_module() logic (Lukasz)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tests/intel/xe_sriov_vfio: Add VFIO module load/unload subtesttests/ tests/ | +76 | 1 reply | |
| 2/4 | tests/intel/xe_sriov_vfio: Add dynamic bind-unbind-vfs subtesttests/ | +139 | 1 reply | |
| 3/4 | tests/intel/xe_sriov_vfio: Add open-basic subtesttests/ | +136 | 1 reply | |
| 4/4 | tests/intel/xe_sriov_vfio: Add region-info subtesttests/ | +85 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Lukasz Laguna |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 i-g-t 0/4] tests/intel/xe_sriov_vfio: Add basic VFIO coverage
Add xe_sriov_vfio test covering basic xe-vfio-pci module handling and VFIO smoke-test paths for SR-IOV VFs.
The first patch adds standalone module load/unload subtest. The second adds a dynamic bind-unbind-vfs subtest that enables VFs and binds each of them to xe-vfio-pci through driver_override. The remaining patches add basic VFIO coverage by opening the VFIO group and querying VFIO region information for a VF bound to xe-vfio-pci.
v2:
- Keep as a single load/unload subtest skipping when module already loaded (Lukasz)
- Split bound-driver assertion helper and remove redundant pre-bind unbind (Lukasz)
- Simplify restore_xe_vfio_module() logic (Lukasz)
Marcin Bernatowicz (4):
tests/intel/xe_sriov_vfio: Add VFIO module load/unload subtest tests/intel/xe_sriov_vfio: Add dynamic bind-unbind-vfs subtest tests/intel/xe_sriov_vfio: Add open-basic subtest tests/intel/xe_sriov_vfio: Add region-info subtest
tests/intel/xe_sriov_vfio.c | 435 ++++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 2 files changed, 436 insertions(+) create mode 100644 tests/intel/xe_sriov_vfio.c
Signature · 1 line
2.43.0