public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [i-g-t, 0/1] Add fault-injection tests for Freq Throttle Reasons
@ 2026-03-26  5:29 Ravi Kishore Koppuravuri
  2026-03-26  5:29 ` [i-g-t, 1/1] tests/intel/xe_fault_injection: " Ravi Kishore Koppuravuri
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Ravi Kishore Koppuravuri @ 2026-03-26  5:29 UTC (permalink / raw)
  To: igt-dev
  Cc: badal.nilawar, karthik.poosa, raag.jadav, soham.purkait,
	mallesh.koujalagi, Ravi Kishore Koppuravuri, Sk Anirban,
	Tauro Riana, Gupta Anshuman

Add IGT test to verify frequency throttling reason reporting with
the help of kernel's fault-injection framework.

Dependencies:
        - Requires xe patch https://patchwork.freedesktop.org/patch/711954/
        - Kernel fault injection support (CONFIG_FAIL_FUNCTION=y)


Verified the test and below is the execution result:

$ ./build/tests/xe_fault_injection --run-subtest 'throttle*'
IGT-Version: 2.3-g06706ff21 (x86_64) (Linux: 7.0.0-rc2-throttle-reason-injection-test x86_64)
Using IGT_SRANDOM=1773144939 for randomisation
Opened device: /dev/dri/card0
Starting subtest: throttle-reason-fail-soc_thermal
Injecting error (-1) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : thermal
Subtest throttle-reason-fail-soc_thermal: SUCCESS (0.022s)
Starting subtest: throttle-reason-fail-mem_thermal
Injecting error (-2) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : none
Subtest throttle-reason-fail-mem_thermal: SUCCESS (0.023s)
Starting subtest: throttle-reason-fail-vr_thermal
Injecting error (-3) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : none
Subtest throttle-reason-fail-vr_thermal: SUCCESS (0.031s)
Starting subtest: throttle-reason-fail-iccmax
Injecting error (-4) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : none
Subtest throttle-reason-fail-iccmax: SUCCESS (0.034s)
Starting subtest: throttle-reason-fail-ratl
Injecting error (-5) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : ratl
Subtest throttle-reason-fail-ratl: SUCCESS (0.042s)
Starting subtest: throttle-reason-fail-soc_avg_thermal
Injecting error (-6) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : vr_thermalert
Subtest throttle-reason-fail-soc_avg_thermal: SUCCESS (0.042s)
Starting subtest: throttle-reason-fail-fastvmode
Injecting error (-7) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : vr_tdc
Subtest throttle-reason-fail-fastvmode: SUCCESS (0.030s)
Starting subtest: throttle-reason-fail-pl4_limit
Injecting error (-8) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : pl4
Subtest throttle-reason-fail-pl4_limit: SUCCESS (0.030s)
Starting subtest: throttle-reason-fail-max_vid
Injecting error (-9) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : none
Subtest throttle-reason-fail-max_vid: SUCCESS (0.018s)
Starting subtest: throttle-reason-fail-pkg_pl1
Injecting error (-10) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : pl1
Subtest throttle-reason-fail-pkg_pl1: SUCCESS (0.033s)
Starting subtest: throttle-reason-fail-pkg_pl2
Injecting error (-11) in function "xe_gt_throttle_inject_errno"
Reason for Throttling is : pl2

Cc: Sk Anirban <sk.anirban@intel.com>
Cc: Tauro Riana <riana.tauro@intel.com>
Cc: Gupta Anshuman <anshuman.gupta@intel.com>
Signed-off-by: Ravi Kishore Koppuravuri <ravi.kishore.koppuravuri@intel.com>

Ravi Kishore Koppuravuri (1):
  tests/intel/xe_fault_injection: Add fault-injection tests for Freq
    Throttle Reasons

 tests/intel/xe_fault_injection.c | 172 +++++++++++++++++++++++++++++++
 1 file changed, 172 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [[i-g-t] 0/1] Frequency throttle reason tests using kernel's fault-injection
@ 2026-03-26  5:06 Ravi Kishore Koppuravuri
  2026-03-26  5:06 ` [[i-g-t] 1/1] tests/intel/xe_fault_injection: Add fault-injection tests for Freq Throttle Reasons Ravi Kishore Koppuravuri
  0 siblings, 1 reply; 8+ messages in thread
From: Ravi Kishore Koppuravuri @ 2026-03-26  5:06 UTC (permalink / raw)
  To: igt-dev
  Cc: badal.nilawar, karthik.poosa, raag.jadav, soham.purkait,
	mallesh.koujalagi, Ravi Kishore Koppuravuri

Add IGT test to verify frequency throttling reason reporting with
the help of kernel's fault-injection framework. 

Dependencies:
	- Requires xe patch https://patchwork.freedesktop.org/patch/711954/
	- Kernel fault injection support (CONFIG_FAIL_FUNCTION=y)

Ravi Kishore Koppuravuri (1):
  [i-g-t] tests/intel/xe_fault_injection: Add fault-injection tests for
    Freq Throttle Reasons

 tests/intel/xe_fault_injection.c | 172 +++++++++++++++++++++++++++++++
 1 file changed, 172 insertions(+)

-- 
2.34.1


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

end of thread, other threads:[~2026-04-27  9:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-26  5:29 [i-g-t, 0/1] Add fault-injection tests for Freq Throttle Reasons Ravi Kishore Koppuravuri
2026-03-26  5:29 ` [i-g-t, 1/1] tests/intel/xe_fault_injection: " Ravi Kishore Koppuravuri
2026-04-27  9:02   ` Anirban, Sk
2026-03-26 11:15 ` ✓ i915.CI.BAT: success for " Patchwork
2026-03-26 11:17 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-26 23:58 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-27  4:21 ` ✗ i915.CI.Full: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2026-03-26  5:06 [[i-g-t] 0/1] Frequency throttle reason tests using kernel's fault-injection Ravi Kishore Koppuravuri
2026-03-26  5:06 ` [[i-g-t] 1/1] tests/intel/xe_fault_injection: Add fault-injection tests for Freq Throttle Reasons Ravi Kishore Koppuravuri

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