Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 i-g-t 0/7] Add xe_sriov_auto_provisioning tests
@ 2025-01-14 15:08 Marcin Bernatowicz
  2025-01-14 15:08 ` [PATCH v2 i-g-t 1/7] lib/xe/xe_sriov_debugfs: Add debugfs get/set functions for u32, u64, bool Marcin Bernatowicz
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: Marcin Bernatowicz @ 2025-01-14 15:08 UTC (permalink / raw)
  To: igt-dev
  Cc: Marcin Bernatowicz, Adam Miszczak, Jakub Kolakowski,
	Lukasz Laguna, Michał Wajdeczko, Michał Winiarski,
	Narasimha C V, Piotr Piórkowski, Satyanarayana K V P,
	Tomasz Lis

This patch series introduces several enhancements to the SR-IOV
provisioning and validation functionalities. The changes include
debugfs accessors, quota/spare attribute accessors, shared resource
provisionability checks, and helper functions for VF range validation.

Additionally, the xe_sriov_auto_provisioning tests validate the
following scenarios:
- Auto-provisioned resources are allocated by the PF driver in a fair
  manner.
- Auto-provisioned resources are released once VFs are disabled.
- Verify that ranges of auto-provisioned resources are exclusive.

v2:
- Update DEFINE_XE_SRIOV_PF_DEBUGFS_FUNC macro comment (Lukasz)
- Simplify range validation in test (Lukasz)
  (moved validation of provisioned ranges to library
  `xe_sriov_pf_debugfs_read_check_ranges`)
- Rename subtests for clarity (Lukasz)
- Add 'extended' command line option to enable dynamic subtests with
  arbitrary num_vfs

Cc: Adam Miszczak <adam.miszczak@linux.intel.com>
Cc: Jakub Kolakowski <jakub1.kolakowski@intel.com>
Cc: Lukasz Laguna <lukasz.laguna@intel.com>
Cc: Michał Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Narasimha C V <narasimha.c.v@intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Tomasz Lis <tomasz.lis@intel.com>

Marcin Bernatowicz (7):
  lib/xe/xe_sriov_debugfs: Add debugfs get/set functions for u32, u64,
    bool
  lib/xe/xe_sriov_debugfs: Add validation for provisioned ranges
  lib/xe/xe_sriov_provisioning: Add accessors for quota/spare attributes
  lib/xe/xe_sriov_provisioning: Add shared resource provisionability
    check
  lib/igt_sriov_device: Add helper functions for VF range validation
  tests/xe_sriov_auto_provisioning: Add tests for SR-IOV
    auto-provisioning
  tests/xe_sriov_auto_provisioning: Add 'extended' command line option

 lib/igt_sriov_device.h                   |  82 +++++-
 lib/xe/xe_sriov_debugfs.c                | 267 ++++++++++++++++++
 lib/xe/xe_sriov_debugfs.h                |  22 ++
 lib/xe/xe_sriov_provisioning.c           | 146 ++++++++++
 lib/xe/xe_sriov_provisioning.h           |  43 +++
 tests/intel/xe_sriov_auto_provisioning.c | 328 +++++++++++++++++++++++
 tests/meson.build                        |   1 +
 7 files changed, 882 insertions(+), 7 deletions(-)
 create mode 100644 tests/intel/xe_sriov_auto_provisioning.c

-- 
2.31.1


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

end of thread, other threads:[~2025-01-15 16:07 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 15:08 [PATCH v2 i-g-t 0/7] Add xe_sriov_auto_provisioning tests Marcin Bernatowicz
2025-01-14 15:08 ` [PATCH v2 i-g-t 1/7] lib/xe/xe_sriov_debugfs: Add debugfs get/set functions for u32, u64, bool Marcin Bernatowicz
2025-01-14 15:08 ` [PATCH v2 i-g-t 2/7] lib/xe/xe_sriov_debugfs: Add validation for provisioned ranges Marcin Bernatowicz
2025-01-15 15:55   ` Laguna, Lukasz
2025-01-14 15:08 ` [PATCH v2 i-g-t 3/7] lib/xe/xe_sriov_provisioning: Add accessors for quota/spare attributes Marcin Bernatowicz
2025-01-14 15:08 ` [PATCH v2 i-g-t 4/7] lib/xe/xe_sriov_provisioning: Add shared resource provisionability check Marcin Bernatowicz
2025-01-14 15:08 ` [PATCH v2 i-g-t 5/7] lib/igt_sriov_device: Add helper functions for VF range validation Marcin Bernatowicz
2025-01-14 15:08 ` [PATCH v2 i-g-t 6/7] tests/xe_sriov_auto_provisioning: Add tests for SR-IOV auto-provisioning Marcin Bernatowicz
2025-01-15 15:57   ` Laguna, Lukasz
2025-01-14 15:08 ` [PATCH v2 i-g-t 7/7] tests/xe_sriov_auto_provisioning: Add 'extended' command line option Marcin Bernatowicz
2025-01-15 16:06   ` Laguna, Lukasz
2025-01-14 18:17 ` ✓ i915.CI.BAT: success for Add xe_sriov_auto_provisioning tests (rev2) Patchwork
2025-01-14 18:24 ` ✓ Xe.CI.BAT: " Patchwork
2025-01-14 20:53 ` ✗ Xe.CI.Full: failure " Patchwork
2025-01-15 13:04 ` ✗ i915.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox