Skip to content

Add VF detection and skip devcoredump checks on VFs

Marcin Bernatowicz igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/igt_sriov_device: Add intel_is_vf_device helperlib/igt_sriov_device.c lib/igt_sriov_device.h+27 -03 replies
2/2tests/xe_exec_capture: Skip checks on VF devicestests/intel/xe_exec_capture.c+23 -131 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchZhanjun DongLukasz Laguna
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH i-g-t 0/2] Add VF detection and skip devcoredump checks on VFs

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:

Cc Adam Miszczak <[email protected]>
Cc Jakub Kolakowski <[email protected]>
Cc Lukasz Laguna <[email protected]>
Cc Michał Wajdeczko <[email protected]>
Cc Michał Winiarski <[email protected]>
Cc Piotr Piórkowski <[email protected]>
Cc Satyanarayana K V P <[email protected]>
Cc Tomasz Lis <[email protected]>
Cc Zhanjun Dong <[email protected]>

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(-)
Signature · 1 line
2.31.1