From mboxrd@z Thu Jan 1 00:00:00 1970 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 61567C5DF94 for ; Mon, 24 Aug 2026 07:18:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 163EB10E2B5; Mon, 24 Aug 2026 07:18:21 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="h4SmgFnC"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1BA6D10E0F9 for ; Mon, 24 Aug 2026 07:18:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1787555900; x=1819091900; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FIGqgtVfmvmgU/mZXWvvoix3UfE604Ajr7xqwOaZCO8=; b=h4SmgFnCiC95n/VJpbzC3alPVZp2AZJdzm8cng/D7KHn5K/OSSxu1Do/ PkSBlnEbWsgkqzQaQjsz3GwzJORBfSVfapSlG5mZr2r65pvbf6llmrUm+ TuejME+VlmRsurXEwHCDWZISfPy/++U5ObfumK5gT109ZDfhiOm5D/o7R wszWpsVQGbxJERfDbvImQofkpvQeIcsZ8gU8XI2WycDj1xOZE7dO1UuxE M0WH59gus8v4UDb0MIldyxCOFEAoAQnXREisLHSHjtwbZIy2tZmasGDGU DEFbtV/Oz3T8AYfRdCaCvGCYj248uN+i2ReWMId8cMtSgAX0vIL0ysQYT w==; X-CSE-ConnectionGUID: v8cu0TDCSMyWxBYS+IAC1A== X-CSE-MsgGUID: 0h5LPwXGRJCZWcfavoHiSQ== X-IronPort-AV: E=McAfee;i="6800,10657,11884"; a="87116881" X-IronPort-AV: E=Sophos;i="6.25,240,1779174000"; d="scan'208";a="87116881" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Aug 2026 00:18:20 -0700 X-CSE-ConnectionGUID: wcMRTQS5SmeWGQCQJzM4Fw== X-CSE-MsgGUID: J0xy7gpySnaTemvu5/w54w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,240,1779174000"; d="scan'208";a="266393322" Received: from varungup-desk.iind.intel.com ([10.190.238.71]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Aug 2026 00:18:18 -0700 From: Arvind Yadav To: intel-xe@lists.freedesktop.org Cc: rodrigo.vivi@intel.com, badal.nilawar@intel.com, michal.wajdeczko@intel.com, himal.prasad.ghimiray@intel.com, dnyaneshwar.bhadane@intel.com, mallesh.koujalagi@intel.com, matthew.brost@intel.com Subject: [PATCH v3 1/1] drm/xe/guc: Report reset-request failure using SIGID Date: Mon, 24 Aug 2026 12:47:49 +0530 Message-ID: <20260824071749.1345374-2-arvind.yadav@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260824071749.1345374-1-arvind.yadav@intel.com> References: <20260824071749.1345374-1-arvind.yadav@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" Route the GuC engine reset-request failure through the structured SIGID logging helper. This path was already reported as an error and triggers GT reset recovery, so use the GT component and report it with XE_SIGID_GT_TDR. Cc: Mallesh Koujalagi Cc: Badal Nilawar Cc: Matthew Brost Cc: Himal Prasad Ghimiray Cc: Michal Wajdeczko Cc: Rodrigo Vivi Signed-off-by: Arvind Yadav --- v3: - Split the GuC reset-request failure conversion into a separate patch. (Michal) - Dropped GuC job-timeout warning conversions to avoid changing warn-level logs into error-level SIGID reports. (Michal) - Kept only the existing error path that maps naturally to GT_TDR. (Michal) v2: - Rebased on the latest structured SIGID logging series. - Switched from the old xe_ras_log_() helpers to the new xe_log_() helpers. - Dropped paths already covered by the base SIGID series. drivers/gpu/drm/xe/xe_guc_submit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c index 99d8c807ff05..c1d469624215 100644 --- a/drivers/gpu/drm/xe/xe_guc_submit.c +++ b/drivers/gpu/drm/xe/xe_guc_submit.c @@ -34,6 +34,7 @@ #include "xe_guc_klv_helpers.h" #include "xe_guc_submit_types.h" #include "xe_hw_engine.h" +#include "xe_log.h" #include "xe_lrc.h" #include "xe_macros.h" #include "xe_map.h" @@ -3494,8 +3495,9 @@ int xe_guc_exec_queue_reset_failure_handler(struct xe_guc *guc, u32 *msg, u32 le reason = msg[2]; /* Unexpected failure of a hardware feature, log an actual error */ - xe_gt_err(gt, "GuC engine reset request failed on %d:%d because 0x%08X", - guc_class, instance, reason); + xe_log_err(gt, GT, -EIO, + "GuC engine reset request failed on %d:%d because 0x%08X\n", + guc_class, instance, reason); xe_gt_reset_async(gt); -- 2.43.0