[PATCH v3 0/2] test/intel/xe_sysfs: Restore sysfs params correctly

Jonathan Cavitt jonathan.cavitt at intel.com
Tue Nov 5 15:48:21 UTC 2024


The xe_sysfs_timeslice_duration and xe_sysfs_preempt_timeout tests do
not correctly restore modified sysfs params on test failure.
Additionally, xe_sysfs_timeslice_duration modifies but does not restore
preempt_timeout_us.  Repair these issues.

v3: Fix several formatting issues (Kamil)

Jonathan Cavitt (2):
  tests/intel/sysfs: Restore sysfs values on test failure
  tests/intel/xe_sysfs_timeslice_duration: Restore preempt timeout

 tests/intel/xe_sysfs_preempt_timeout.c    | 43 +++++++++++++----
 tests/intel/xe_sysfs_timeslice_duration.c | 56 +++++++++++++++++++----
 2 files changed, 79 insertions(+), 20 deletions(-)

-- 
2.43.0



More information about the igt-dev mailing list