Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A9CDC531FA for ; Thu, 23 Jul 2026 20:38:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4CAED10F20C; Thu, 23 Jul 2026 20:38:46 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="dgJy5ZKl"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by gabe.freedesktop.org (Postfix) with ESMTPS id D53DE10F1FC for ; Thu, 23 Jul 2026 20:38:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1784839118; x=1816375118; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Yfn5KVmDrI7roSBwjCOcbteaqoz9KPZf53HP+hq4uFw=; b=dgJy5ZKlpbvO4RGWg1jlJ5bEfODBOPpVvN15Zqa86TcXtr6PzWspmQHu I0J9suuEaR2jRLzFuZ4/h7vIb6go7PdTikGSPOf65o0ErBWNZCUlCBPIJ EUac2Rv1AKy2bXvoQAXkHhjVgcP8QLQRy2d+Y+UdfkhGBdtrt4PFQ/0bj BcPWTqbJ8FzY7divE+CvF2P9IUO28jPfPHHyTjsN56DV9tBuM54k63ZRw 0RLETwZ87AAxNmU18/ymkX5VPSj7XkKW474z8ZZCTXUEMTVACViRRQoF+ pxO4lGT68s+GpN1U6ylCfZEe6snZaK7SiWkHiEUWajdsqy+erJkVdULS0 g==; X-CSE-ConnectionGUID: O8V8J1+qTOGbjljH5B0cyQ== X-CSE-MsgGUID: /yzHRxJwR4KBsFSMp+p7+g== X-IronPort-AV: E=McAfee;i="6800,10657,11854"; a="84484323" X-IronPort-AV: E=Sophos;i="6.25,181,1779174000"; d="scan'208";a="84484323" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2026 13:38:37 -0700 X-CSE-ConnectionGUID: tPnJwUnSQ9CAEUiSpS+bTg== X-CSE-MsgGUID: n0xDmIjcQE2ujyzmLqIDjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,181,1779174000"; d="scan'208";a="254578633" Received: from psiebies-mobl1.ger.corp.intel.com (HELO mwajdecz-hp.clients.intel.com) ([10.94.250.135]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2026 13:38:36 -0700 From: Michal Wajdeczko To: intel-xe@lists.freedesktop.org Cc: Michal Wajdeczko , Rodrigo Vivi , Matthew Brost , Daniele Ceraolo Spurio , Aravind Iddamsetty , Mallesh Koujalagi Subject: [PATCH 17/19] drm/xe/gt: Report 'reset failed' errors using SIGID Date: Thu, 23 Jul 2026 22:37:50 +0200 Message-ID: <20260723203754.3782-18-michal.wajdeczko@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260723203754.3782-1-michal.wajdeczko@intel.com> References: <20260723203754.3782-1-michal.wajdeczko@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" Report 'reset' related err/info messages using xe_log() helpers. Signed-off-by: Michal Wajdeczko Cc: Rodrigo Vivi Cc: Matthew Brost Cc: Daniele Ceraolo Spurio Cc: Aravind Iddamsetty Cc: Mallesh Koujalagi --- drivers/gpu/drm/xe/xe_gt.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c index dfdacc0f6de9..6805e0d3bf21 100644 --- a/drivers/gpu/drm/xe/xe_gt.c +++ b/drivers/gpu/drm/xe/xe_gt.c @@ -48,6 +48,7 @@ #include "xe_hw_engine_class_sysfs.h" #include "xe_irq.h" #include "xe_lmtt.h" +#include "xe_log.h" #include "xe_lrc.h" #include "xe_map.h" #include "xe_migrate.h" @@ -925,7 +926,7 @@ static void gt_reset_worker(struct work_struct *w) if (!xe_device_uc_enabled(gt_to_xe(gt))) goto err_pm_put; - xe_gt_info(gt, "reset started\n"); + xe_log_info(gt, GT, "reset started\n"); if (xe_fault_gt_reset()) { err = -ECANCELED; @@ -964,7 +965,7 @@ static void gt_reset_worker(struct work_struct *w) /* Pair with get while enqueueing the work in xe_gt_reset_async() */ xe_pm_runtime_put(gt_to_xe(gt)); - xe_gt_info(gt, "reset done\n"); + xe_log_info(gt, GT, "reset done\n"); return; @@ -973,7 +974,7 @@ static void gt_reset_worker(struct work_struct *w) XE_WARN_ON(xe_uc_start(>->uc)); err_fail: - xe_gt_err(gt, "reset failed (%pe)\n", ERR_PTR(err)); + xe_log_err_fatal(gt, GT, err, "reset failed\n"); xe_device_declare_wedged(gt_to_xe(gt)); err_pm_put: xe_pm_runtime_put(gt_to_xe(gt)); -- 2.47.1