From: Sobin Thomas <sobin.thomas@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: michal.wajdeczko@intel.com, tejas.upadhyay@intel.com
Subject: [PATCH 1/2] drm/xe: Add fault injection for kobj_xe_hw_engine_class
Date: Tue, 15 Apr 2025 06:42:10 +0000 [thread overview]
Message-ID: <20250415064211.2889970-1-sobin.thomas@intel.com> (raw)
- 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
next reply other threads:[~2025-04-15 6:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-15 6:42 Sobin Thomas [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250415064211.2889970-1-sobin.thomas@intel.com \
--to=sobin.thomas@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=michal.wajdeczko@intel.com \
--cc=tejas.upadhyay@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.