From: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: kamil.konieczny@linux.intel.com, adam.miszczak@linux.intel.com,
jakub1.kolakowski@intel.com, lukasz.laguna@intel.com,
Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Subject: [PATCH v2 i-g-t 0/4] tests/intel/xe_sriov_vfio: Add basic VFIO coverage
Date: Fri, 27 Mar 2026 15:06:23 +0100 [thread overview]
Message-ID: <20260327140627.64574-1-marcin.bernatowicz@linux.intel.com> (raw)
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
--
2.43.0
next reply other threads:[~2026-03-27 14:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-27 14:06 Marcin Bernatowicz [this message]
2026-03-27 14:06 ` [PATCH v2 i-g-t 1/4] tests/intel/xe_sriov_vfio: Add VFIO module load/unload subtest Marcin Bernatowicz
2026-03-30 8:18 ` Laguna, Lukasz
2026-03-27 14:06 ` [PATCH v2 i-g-t 2/4] tests/intel/xe_sriov_vfio: Add dynamic bind-unbind-vfs subtest Marcin Bernatowicz
2026-03-30 8:18 ` Laguna, Lukasz
2026-03-27 14:06 ` [PATCH v2 i-g-t 3/4] tests/intel/xe_sriov_vfio: Add open-basic subtest Marcin Bernatowicz
2026-03-30 8:19 ` Laguna, Lukasz
2026-03-27 14:06 ` [PATCH v2 i-g-t 4/4] tests/intel/xe_sriov_vfio: Add region-info subtest Marcin Bernatowicz
2026-03-30 8:19 ` Laguna, Lukasz
2026-03-27 22:25 ` ✓ Xe.CI.BAT: success for tests/intel/xe_sriov_vfio: Add basic VFIO coverage (rev2) Patchwork
2026-03-27 22:57 ` ✓ i915.CI.BAT: " Patchwork
2026-03-28 15:53 ` ✓ Xe.CI.FULL: " Patchwork
2026-03-29 3:48 ` ✗ i915.CI.Full: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260327140627.64574-1-marcin.bernatowicz@linux.intel.com \
--to=marcin.bernatowicz@linux.intel.com \
--cc=adam.miszczak@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jakub1.kolakowski@intel.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=lukasz.laguna@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox