Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Add and use TLBINVAL component
@ 2026-09-22 17:19 Michal Wajdeczko
  2026-09-22 18:58 ` ✓ CI.KUnit: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Michal Wajdeczko @ 2026-09-22 17:19 UTC (permalink / raw)
  To: intel-xe
  Cc: Michal Wajdeczko, Rodrigo Vivi, Matthew Brost,
	Tales A . Mendonça

Replace the existing TLB invalidation error message with a new one
based on the xe_log_err() macro and use the dedicated TLBINVAL log
component.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Tales A. Mendonça <talesam@gmail.com>
---
 drivers/gpu/drm/xe/abi/xe_log_abi.h | 1 +
 drivers/gpu/drm/xe/xe_tlb_inval.c   | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/abi/xe_log_abi.h b/drivers/gpu/drm/xe/abi/xe_log_abi.h
index 526aadf85fe9..adb3c2128251 100644
--- a/drivers/gpu/drm/xe/abi/xe_log_abi.h
+++ b/drivers/gpu/drm/xe/abi/xe_log_abi.h
@@ -145,6 +145,7 @@ enum xe_log_location_bits {
 	define(DRIVER, 5, WA, SW, "Workarounds")				\
 	define(DRIVER, 6, PAGEFAULT, MEM_FAULT, "Page Fault")			\
 	define(DRIVER, 7, GUCSUBMIT, GT_TDR, "GuC Submission")			\
+	define(DRIVER, 8, TLBINVAL, GT_TDR, "TLB Invalidation")			\
 	/* */									\
 	define(DRIVER_HARDWARE, 1, REGS, IO_BUS, "Registers")			\
 	define(DRIVER_HARDWARE, 2, GGTT, IO_BUS, "Global GTT")			\
diff --git a/drivers/gpu/drm/xe/xe_tlb_inval.c b/drivers/gpu/drm/xe/xe_tlb_inval.c
index dd1030de9ab6..da629d410829 100644
--- a/drivers/gpu/drm/xe/xe_tlb_inval.c
+++ b/drivers/gpu/drm/xe/xe_tlb_inval.c
@@ -11,6 +11,7 @@
 #include "xe_gt_types.h"
 #include "xe_guc_ct.h"
 #include "xe_guc_tlb_inval.h"
+#include "xe_log.h"
 #include "xe_mmio.h"
 #include "xe_pm.h"
 #include "xe_tlb_inval.h"
@@ -86,9 +87,8 @@ static void xe_tlb_inval_fence_timeout(struct work_struct *work)
 			break;
 
 		trace_xe_tlb_inval_fence_timeout(xe, fence);
-		drm_err(&xe->drm,
-			"TLB invalidation fence timeout, seqno=%d recv=%d",
-			fence->seqno, tlb_inval->seqno_recv);
+		xe_log_err(xe, TLBINVAL, -ETIME, "fence timeout, seqno=%d recv=%d",
+			   fence->seqno, tlb_inval->seqno_recv);
 
 		fence->base.error = -ETIME;
 		xe_tlb_inval_fence_signal(fence);
-- 
2.47.1


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

end of thread, other threads:[~2026-09-23 17:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-22 17:19 [PATCH] drm/xe: Add and use TLBINVAL component Michal Wajdeczko
2026-09-22 18:58 ` ✓ CI.KUnit: success for " Patchwork
2026-09-22 19:22 ` [PATCH] " Summers, Stuart
2026-09-23 16:39   ` Michal Wajdeczko
2026-09-23 17:49     ` Summers, Stuart
2026-09-22 21:05 ` ✗ Xe.CI.BAT: failure for " Patchwork
2026-09-23  8:59 ` ✗ Xe.CI.FULL: " Patchwork

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