Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/xe: Add fault injection for kobj_xe_hw_engine_class
@ 2025-04-15  6:42 Sobin Thomas
  2025-04-15  6:42 ` [PATCH 2/2] drm/xe: Add fault injection for xe_hw_engine_class_to_str Sobin Thomas
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Sobin Thomas @ 2025-04-15  6:42 UTC (permalink / raw)
  To: intel-xe; +Cc: michal.wajdeczko, tejas.upadhyay

- Add NULL ptr injection for kobj_xe_hw_engine_class
- Can be tested with igt@inject-fault-probe-function-kobj_xe_hw_engine_class 

v2: Modified the Fault injection with NULL.

v1: Initial checkin for Fault Handler.

Signed-off-by: Sobin Thomas <sobin.thomas@intel.com>
---
 drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c b/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c
index 640950172088..f9616ddf4376 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c
+++ b/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c
@@ -571,6 +571,7 @@ kobj_xe_hw_engine_class(struct xe_device *xe, struct kobject *parent, const char
 
 	return keclass;
 }
+ALLOW_ERROR_INJECTION(kobj_xe_hw_engine_class, NULL);
 
 static void hw_engine_class_defaults_fini(void *arg)
 {
-- 
2.34.1


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

end of thread, other threads:[~2025-04-15 11:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15  6:42 [PATCH 1/2] drm/xe: Add fault injection for kobj_xe_hw_engine_class Sobin Thomas
2025-04-15  6:42 ` [PATCH 2/2] drm/xe: Add fault injection for xe_hw_engine_class_to_str Sobin Thomas
2025-04-15  8:56   ` Michal Wajdeczko
2025-04-15  7:03 ` ✓ CI.Patch_applied: success for series starting with [1/2] drm/xe: Add fault injection for kobj_xe_hw_engine_class Patchwork
2025-04-15  7:03 ` ✗ CI.checkpatch: warning " Patchwork
2025-04-15  7:04 ` ✓ CI.KUnit: success " Patchwork
2025-04-15  7:13 ` ✓ CI.Build: " Patchwork
2025-04-15  7:15 ` ✓ CI.Hooks: " Patchwork
2025-04-15  7:16 ` ✓ CI.checksparse: " Patchwork
2025-04-15  8:01 ` ✓ Xe.CI.BAT: " Patchwork
2025-04-15  9:14 ` [PATCH 1/2] " Michal Wajdeczko
2025-04-15 11:25 ` ✗ Xe.CI.Full: failure for series starting with [1/2] " Patchwork

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