Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/xe_fault_injection: Inject error for xe_sync_entry_parse
@ 2025-02-12  9:04 priyanka.dandamudi
  2025-02-12 10:09 ` ✓ i915.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: priyanka.dandamudi @ 2025-02-12  9:04 UTC (permalink / raw)
  To: priyanka.dandamudi, francois.dugast, igt-dev

From: Priyanka Dandamudi <priyanka.dandamudi@intel.com>

This will make xe_sync_entry_parse function fail to cover the unexplored
path while executing xe_vm_create_ioctl().

Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
---
 tests/intel/xe_fault_injection.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/intel/xe_fault_injection.c b/tests/intel/xe_fault_injection.c
index 7ae941367..ede483535 100644
--- a/tests/intel/xe_fault_injection.c
+++ b/tests/intel/xe_fault_injection.c
@@ -263,6 +263,7 @@ simple_vm_bind(int fd, uint32_t vm)
  * @xe_pt_update_ops_prepare:		xe_pt_update_ops_prepare
  * @xe_pt_update_ops_run:		xe_pt_update_ops_run
  * @xe_vma_ops_alloc:			xe_vma_ops_alloc
+ * @xe_sync_entry_parse:		xe_sync_entry_parse
  */
 static void
 vm_bind_fail(int fd, const char function_name[])
@@ -315,6 +316,7 @@ igt_main
 		{ "xe_pt_update_ops_prepare" },
 		{ "xe_pt_update_ops_run" },
 		{ "xe_vma_ops_alloc" },
+		{ "xe_sync_entry_parse" },
 		{ }
 	};
 
-- 
2.34.1


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

end of thread, other threads:[~2025-02-20 19:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12  9:04 [PATCH i-g-t] tests/xe_fault_injection: Inject error for xe_sync_entry_parse priyanka.dandamudi
2025-02-12 10:09 ` ✓ i915.CI.BAT: success for " Patchwork
2025-02-12 10:38 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-12 14:24 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-12 15:25 ` ✗ i915.CI.Full: " Patchwork
2025-02-20 19:55 ` [PATCH i-g-t] " Francois Dugast

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