Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/3] Add sysfs attribute checks for gt_freq and pm_residency tests
@ 2024-07-30 16:42 Marcin Bernatowicz
  2024-07-30 16:42 ` [PATCH i-g-t 1/3] lib/igt_sysfs: Add xe_sysfs_gt_has_attr to check attribute existence Marcin Bernatowicz
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Marcin Bernatowicz @ 2024-07-30 16:42 UTC (permalink / raw)
  To: igt-dev
  Cc: riana.tauro, rodrigo.vivi, kamil.konieczny, lukasz.laguna,
	jakub1.kolakowski

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

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

 lib/igt_sysfs.c               | 25 +++++++++++++++++++++++++
 lib/igt_sysfs.h               |  1 +
 tests/intel/xe_gt_freq.c      |  1 +
 tests/intel/xe_pm_residency.c |  2 ++
 4 files changed, 29 insertions(+)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH v2 i-g-t 0/3] Add sysfs node checks for gt_freq and pm_residency tests
@ 2024-08-01 14:38 Marcin Bernatowicz
  2024-08-01 14:38 ` [PATCH v2 i-g-t 1/3] lib/igt_sysfs: Add xe_sysfs_gt_has_node to check node existence Marcin Bernatowicz
  0 siblings, 1 reply; 17+ messages in thread
From: Marcin Bernatowicz @ 2024-08-01 14:38 UTC (permalink / raw)
  To: igt-dev
  Cc: riana.tauro, rodrigo.vivi, kamil.konieczny, jonathan.cavitt,
	lukasz.laguna, jakub1.kolakowski

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(+)

-- 
2.31.1


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

end of thread, other threads:[~2024-08-01 14:39 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30 16:42 [PATCH i-g-t 0/3] Add sysfs attribute checks for gt_freq and pm_residency tests Marcin Bernatowicz
2024-07-30 16:42 ` [PATCH i-g-t 1/3] lib/igt_sysfs: Add xe_sysfs_gt_has_attr to check attribute existence Marcin Bernatowicz
2024-07-30 19:51   ` Cavitt, Jonathan
2024-07-31 18:00   ` Kamil Konieczny
2024-08-01  9:10     ` Bernatowicz, Marcin
2024-07-30 16:42 ` [PATCH i-g-t 2/3] tests/intel/xe_gt_freq: Skip test if 'freq0' attribute is missing Marcin Bernatowicz
2024-07-30 19:51   ` Cavitt, Jonathan
2024-07-30 16:42 ` [PATCH i-g-t 3/3] tests/intel/xe_pm_residency: Skip test if 'gtidle' " Marcin Bernatowicz
2024-07-30 19:54   ` Cavitt, Jonathan
2024-07-30 17:23 ` ✓ CI.xeBAT: success for Add sysfs attribute checks for gt_freq and pm_residency tests Patchwork
2024-07-30 17:36 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-07-30 18:39 ` ✗ CI.xeFULL: " Patchwork
2024-08-01 10:27 ` [PATCH v2 i-g-t 0/3] Add sysfs node " Marcin Bernatowicz
2024-08-01 10:27   ` [PATCH v2 i-g-t 1/3] lib/igt_sysfs: Add xe_sysfs_gt_has_node to check node existence Marcin Bernatowicz
2024-08-01 10:27   ` [PATCH v2 i-g-t 2/3] tests/intel/xe_gt_freq: Skip test if 'freq0' node is missing Marcin Bernatowicz
2024-08-01 10:27   ` [PATCH v2 i-g-t 3/3] tests/intel/xe_pm_residency: Skip test if 'gtidle' " Marcin Bernatowicz
  -- strict thread matches above, loose matches on Subject: below --
2024-08-01 14:38 [PATCH v2 i-g-t 0/3] Add sysfs node checks for gt_freq and pm_residency tests Marcin Bernatowicz
2024-08-01 14:38 ` [PATCH v2 i-g-t 1/3] lib/igt_sysfs: Add xe_sysfs_gt_has_node to check node existence Marcin Bernatowicz

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