All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Miszczak <adam.miszczak@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: marcin.bernatowicz@linux.intel.com, kamil.konieczny@linux.intel.com
Subject: [PATCH i-g-t 0/3] vmtb: SR-IOV VF migration test suite
Date: Thu, 16 Apr 2026 10:35:41 +0200	[thread overview]
Message-ID: <20260416083544.2441874-1-adam.miszczak@linux.intel.com> (raw)

Introduce VF migration (save/restore) validation coverage by adding a dedicated migration test suite.

At a high level:
- implement VF migration test scenarios (vmm_flows/test_migration.py):
  idle and busy migration, double migration, checkpointing and auxiliary subtests
- extend IgtExecutor with new mappings for IGT tests intended as busy migration workloads,
  covering subtests from xe_exec_reset, xe_exec_threads, xe_ccs, and xe_compute_preempt
- add IGT/gem_wsim workload descriptor files, providing few workload profiles per platform (BMG/PTL):
  short/long preemptable and non-preemptable GPU batches, and an idle-with-contexts scenario

Most of provided test cases support parametrization with various VF/VM configurations.

Signed-off-by: Adam Miszczak <adam.miszczak@linux.intel.com>
Cc: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>

Adam Miszczak (3):
  tools/vmtb: Define IGT tests used as VF migration workloads
  tools/vmtb: Provide VF busy migration IGT/gem_wsim workloads
  tools/vmtb: Add VF migration tests

 tools/vmtb/MANIFEST.in                        |    1 +
 tools/vmtb/bench/executors/igt.py             |   96 +-
 .../resources/wsim/bmg/idle_ctxs.wsim         |   22 +
 .../resources/wsim/bmg/long_nonpreempt.wsim   |   18 +
 .../resources/wsim/bmg/long_preempt.wsim      |   17 +
 .../resources/wsim/bmg/short_nonpreempt.wsim  |   18 +
 .../resources/wsim/bmg/short_preempt.wsim     |   17 +
 .../resources/wsim/ptl/idle_ctxs.wsim         |   21 +
 .../resources/wsim/ptl/long_nonpreempt.wsim   |   17 +
 .../resources/wsim/ptl/long_preempt.wsim      |   16 +
 .../resources/wsim/ptl/short_nonpreempt.wsim  |   17 +
 .../resources/wsim/ptl/short_preempt.wsim     |   16 +
 tools/vmtb/vmm_flows/test_migration.py        | 1199 +++++++++++++++++
 13 files changed, 1469 insertions(+), 6 deletions(-)
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/bmg/idle_ctxs.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/bmg/long_nonpreempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/bmg/long_preempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/bmg/short_nonpreempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/bmg/short_preempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/ptl/idle_ctxs.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/ptl/long_nonpreempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/ptl/long_preempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/ptl/short_nonpreempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/ptl/short_preempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/test_migration.py

-- 
2.39.1


             reply	other threads:[~2026-04-16  9:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-16  8:35 Adam Miszczak [this message]
2026-04-16  8:35 ` [PATCH i-g-t 1/3] tools/vmtb: Define IGT tests used as VF migration workloads Adam Miszczak
2026-04-20 18:27   ` Kamil Konieczny
2026-05-14 13:18   ` Bernatowicz, Marcin
2026-04-16  8:35 ` [PATCH i-g-t 2/3] tools/vmtb: Provide VF busy migration IGT/gem_wsim workloads Adam Miszczak
2026-05-14 13:20   ` Bernatowicz, Marcin
2026-04-16  8:35 ` [PATCH i-g-t 3/3] tools/vmtb: Add VF migration tests Adam Miszczak
2026-05-14 13:21   ` Bernatowicz, Marcin
2026-04-16 15:40 ` ✓ i915.CI.BAT: success for vmtb: SR-IOV VF migration test suite Patchwork
2026-04-16 15:50 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-16 17:34 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-17  3:47 ` ✗ i915.CI.Full: " 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=20260416083544.2441874-1-adam.miszczak@linux.intel.com \
    --to=adam.miszczak@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=marcin.bernatowicz@linux.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 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.