Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] Add VF detection and skip devcoredump checks on VFs
@ 2025-02-19 11:53 Marcin Bernatowicz
  2025-02-19 11:53 ` [PATCH i-g-t 1/2] lib/igt_sriov_device: Add intel_is_vf_device helper Marcin Bernatowicz
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Marcin Bernatowicz @ 2025-02-19 11:53 UTC (permalink / raw)
  To: igt-dev
  Cc: Marcin Bernatowicz, Adam Miszczak, Jakub Kolakowski,
	Lukasz Laguna, Michał Wajdeczko, Michał Winiarski,
	Piotr Piórkowski, Satyanarayana K V P, Tomasz Lis,
	Zhanjun Dong

This series introduces a helper function to detect whether a device is a
Virtual Function (VF) and updates the xe_exec_capture test to skip
devcoredump validation steps that are not applicable for VF devices.

The first patch adds intel_is_vf_device(), which reads the
VF_CAPABILITY_REGISTER to determine if a device is a VF.
The second patch integrates this check into xe_exec_capture,
ensuring that certain devcoredump checks are skipped on VFs.

These changes align with kernel updates introduced in:
Link: https://patchwork.freedesktop.org/patch/msgid/20241022010116.342240-2-zhanjun.dong@intel.com

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: 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>
Cc: Zhanjun Dong <zhanjun.dong@intel.com>

Marcin Bernatowicz (2):
  lib/igt_sriov_device: Add intel_is_vf_device helper
  tests/xe_exec_capture: Skip checks on VF devices

 lib/igt_sriov_device.c        | 26 +++++++++++++++++++++++++
 lib/igt_sriov_device.h        |  1 +
 tests/intel/xe_exec_capture.c | 36 ++++++++++++++++++++++-------------
 3 files changed, 50 insertions(+), 13 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2025-03-04  7:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-19 11:53 [PATCH i-g-t 0/2] Add VF detection and skip devcoredump checks on VFs Marcin Bernatowicz
2025-02-19 11:53 ` [PATCH i-g-t 1/2] lib/igt_sriov_device: Add intel_is_vf_device helper Marcin Bernatowicz
2025-03-03  8:20   ` Laguna, Lukasz
2025-03-03 15:44     ` Bernatowicz, Marcin
2025-03-04  7:24       ` Laguna, Lukasz
2025-02-19 11:53 ` [PATCH i-g-t 2/2] tests/xe_exec_capture: Skip checks on VF devices Marcin Bernatowicz
2025-02-21 16:45   ` Dong, Zhanjun
2025-02-19 23:33 ` ✓ i915.CI.BAT: success for Add VF detection and skip devcoredump checks on VFs Patchwork
2025-02-19 23:50 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-20 11:30 ` ✗ i915.CI.Full: failure " Patchwork
2025-02-20 21:58 ` ✗ Xe.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