Skip to content

Add sysfs node checks for gt_freq and pm_residency tests

Marcin Bernatowicz igt-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 1 replyIn review
  2. v2 posting 1/23 patches 0 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/igt_sysfs: Add xe_sysfs_gt_has_node to check node existencelib/igt_sysfs.c lib/igt_sysfs.h+27 -00 replies
2/3tests/intel/xe_gt_freq: Skip test if 'freq0' node is missingtests/intel/xe_gt_freq.c+1 -00 replies
3/3tests/intel/xe_pm_residency: Skip test if 'gtidle' node is missingtests/intel/xe_pm_residency.c+2 -00 replies

Reviews trailers per patch

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

PatchJonathan CavittKamil Konieczny
1/3R-b R-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH v2 i-g-t 0/3] Add sysfs node checks for gt_freq and pm_residency tests

This patch series introduces necessary node checks to ensure that tests are only executed when specific sysfs nodes are present. This prevents test failures on Virtual Function (VF) devices where these nodes might be missing.

v2: Use "node" instead of "attribute" for more accuracy

Marcin Bernatowicz (3):
lib/igt_sysfs: Add xe_sysfs_gt_has_node to check node existence tests/intel/xe_gt_freq: Skip test if 'freq0' node is missing tests/intel/xe_pm_residency: Skip test if 'gtidle' node is missing

 lib/igt_sysfs.c               | 26 ++++++++++++++++++++++++++
 lib/igt_sysfs.h               |  1 +
 tests/intel/xe_gt_freq.c      |  1 +
 tests/intel/xe_pm_residency.c |  2 ++
 4 files changed, 30 insertions(+)
Signature · 1 line
2.31.1