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 A8FE3C79FAD for ; Tue, 8 Sep 2026 10:46:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5D72510EAF7; Tue, 8 Sep 2026 10:46:05 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="jCdJO0fP"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id D380E10E0E2 for ; Tue, 8 Sep 2026 10:46:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1788864365; x=1820400365; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=h66M8dfP/HxsO9O7DUaSY77OSdvFJlSwcZsUNlyEDmo=; b=jCdJO0fP5cOOqGV6P7Ab050bc9+sMikobAnZckWoeABa/u3VZ1lAJMhE TmjDMtYP/oW99wyafVqFosbCfHVGy41oAwphgUq/sHVAgHydx+Y8gSRR5 iN9KH5qQtEMNTUuCI2DYZSU8JStldppz6r/CSzEeDC4rMlk4iwY4PevlE 9V+WLh+0fqL0ToiWgjcrRZT4Fb/UnWeian988IFd1h8Bh8jALG90QipX/ 9L9ChUglejUJhdaXxc8v9LPShWANGcRklRuotIceWrrnICu301Cod0UXh mbtddhGt2efaues7Z4WVdlOopXuf5UimObpSEX53AsV9qUenPrso6CslP w==; X-CSE-ConnectionGUID: 9dZGcfvHQKiUDJ6Ymd+5QA== X-CSE-MsgGUID: hGEkanarS8q3UdxYeTDoUg== X-IronPort-AV: E=McAfee;i="6800,10657,11899"; a="91773085" X-IronPort-AV: E=Sophos;i="6.25,268,1779174000"; d="scan'208";a="91773085" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2026 03:46:05 -0700 X-CSE-ConnectionGUID: CCgl+PNxRVmfzGdkWOu6JA== X-CSE-MsgGUID: yCRJpmWeR3efdiYsbIPlcQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,268,1779174000"; d="scan'208";a="264759133" Received: from dbhadane-mobl1.iind.intel.com ([10.190.239.58]) by fmviesa009.fm.intel.com with ESMTP; 08 Sep 2026 03:46:04 -0700 From: Dnyaneshwar Bhadane To: intel-xe@lists.freedesktop.org Cc: Dnyaneshwar Bhadane Subject: [PATCH v3 11/13] drm/xe/lmtt: Report invalidation errors using structured xe_log API Date: Tue, 8 Sep 2026 16:15:48 +0530 Message-ID: <20260908104550.1283933-12-dnyaneshwar.bhadane@intel.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260908104550.1283933-1-dnyaneshwar.bhadane@intel.com> References: <20260908104550.1283933-1-dnyaneshwar.bhadane@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" Replace xe_tile_sriov_err() with xe_log_err() using the LMTT component tag for LMTT and MERT invalidation failures, preserving the SR-IOV prefix in the log message. v2: - Drop logging error type in log (Mallesh) Signed-off-by: Dnyaneshwar Bhadane --- drivers/gpu/drm/xe/xe_lmtt.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_lmtt.c b/drivers/gpu/drm/xe/xe_lmtt.c index 0c726eda9390..fe77b3ec0680 100644 --- a/drivers/gpu/drm/xe/xe_lmtt.c +++ b/drivers/gpu/drm/xe/xe_lmtt.c @@ -14,6 +14,7 @@ #include "xe_bo.h" #include "xe_tlb_inval.h" #include "xe_lmtt.h" +#include "xe_log.h" #include "xe_map.h" #include "xe_mert.h" #include "xe_mmio.h" @@ -302,14 +303,15 @@ void xe_lmtt_invalidate_hw(struct xe_lmtt *lmtt) err = lmtt_invalidate_hw(lmtt); if (err) - xe_tile_sriov_err(tile, "LMTT invalidation failed (%pe)", - ERR_PTR(err)); + xe_log_err(tile, LMTT, err, "%s invalidation failed.", + xe_sriov_printk_prefix(xe)); if (xe_device_has_mert(xe) && xe_tile_is_root(tile)) { err = xe_mert_invalidate_lmtt(xe); if (err) - xe_tile_sriov_err(tile, "MERT LMTT invalidation failed (%pe)", - ERR_PTR(err)); + xe_log_err(tile, LMTT, err, + "%s MERT invalidation failed.\n", + xe_sriov_printk_prefix(xe)); } } -- 2.54.0