Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/xe: Add caller info to xe_gt_reset_async
@ 2024-10-16 14:17 Nirmoy Das
  2024-10-16 15:01 ` Matthew Auld
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Nirmoy Das @ 2024-10-16 14:17 UTC (permalink / raw)
  To: intel-xe; +Cc: Nirmoy Das, Matthew Auld

Add caller info to the xe_gt_reset_async() to help debug issues.

v2: s/%pS/%ps(Matt)

Cc: Matthew Auld <matthew.auld@intel.com>
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2874
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
---
 drivers/gpu/drm/xe/xe_gt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
index 1c79660fb086..df2fe4005d85 100644
--- a/drivers/gpu/drm/xe/xe_gt.c
+++ b/drivers/gpu/drm/xe/xe_gt.c
@@ -834,7 +834,7 @@ static void gt_reset_worker(struct work_struct *w)
 
 void xe_gt_reset_async(struct xe_gt *gt)
 {
-	xe_gt_info(gt, "trying reset\n");
+	xe_gt_info(gt, "trying reset from %ps\n", __builtin_return_address(0));
 
 	/* Don't do a reset while one is already in flight */
 	if (!xe_fault_inject_gt_reset() && xe_uc_reset_prepare(&gt->uc))
-- 
2.46.0


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

end of thread, other threads:[~2024-10-17 13:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-16 14:17 [PATCH v2] drm/xe: Add caller info to xe_gt_reset_async Nirmoy Das
2024-10-16 15:01 ` Matthew Auld
2024-10-16 15:10 ` ✓ CI.Patch_applied: success for drm/xe: Add caller info to xe_gt_reset_async (rev2) Patchwork
2024-10-16 15:11 ` ✓ CI.checkpatch: " Patchwork
2024-10-16 15:12 ` ✓ CI.KUnit: " Patchwork
2024-10-16 15:23 ` ✓ CI.Build: " Patchwork
2024-10-16 15:26 ` ✓ CI.Hooks: " Patchwork
2024-10-16 15:27 ` ✓ CI.checksparse: " Patchwork
2024-10-16 15:51 ` ✓ CI.BAT: " Patchwork
2024-10-17  7:13 ` ✗ CI.FULL: failure " Patchwork
2024-10-17 13:01   ` Nirmoy Das

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