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 3A0EEE7BD84 for ; Mon, 16 Feb 2026 10:00:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 88C5D10E1FF; Mon, 16 Feb 2026 10:00:43 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="dQ6L/DAH"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id C7C8C10E1FF; Mon, 16 Feb 2026 10:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1771236043; x=1802772043; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=NBm5R9mJTin6OJaxYoVukxGq5JyO24G2ek1h1XtyCP4=; b=dQ6L/DAHr/IL6s2ekI+NJFcwzNLwgFkaZK0ic6I6wp15iPYCtMAWpa9Q Hh9ioGVKpkqKRyk1hYuGKo8IoZzL5KT4w+y2PAHoliwD1BinFLqBdvnre Mkat86CyJRFvjeynab9G6gavTZRg+DfhNKPZnV3BOCA4HEBHPALpiwS5s BMjDGOgz/f4CdveK3+yMJwjYf5z5H8WZXZO+Xca6lGHFYrWvyKTO2HVVi dSaHE7o7eziohvJsdsm4NgomBaLIJajqHRkgZ+OZ72ylociUpiuWHYL2z T1mDUKhYjP3qM/SI6Gct+DUTAnyKcVexA1Ybp1T37xCNH2eMFrrfNUbwA A==; X-CSE-ConnectionGUID: 6z4mZ7XoTG+GO9dhp8CskQ== X-CSE-MsgGUID: 9pH4YskNQNO6rJxeajaj/g== X-IronPort-AV: E=McAfee;i="6800,10657,11702"; a="83676443" X-IronPort-AV: E=Sophos;i="6.21,294,1763452800"; d="scan'208";a="83676443" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2026 02:00:42 -0800 X-CSE-ConnectionGUID: h+SZYqccQVKMcdeeNn2Wrg== X-CSE-MsgGUID: VOF0UHwqTC+kZO17m5jZag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,294,1763452800"; d="scan'208";a="236573462" Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2026 02:00:39 -0800 Date: Mon, 16 Feb 2026 11:00:36 +0100 From: Raag Jadav To: Riana Tauro Cc: intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, aravind.iddamsetty@linux.intel.com, anshuman.gupta@intel.com, rodrigo.vivi@intel.com, joonas.lahtinen@linux.intel.com, simona.vetter@ffwll.ch, airlied@gmail.com, pratik.bari@intel.com, joshua.santosh.ranjan@intel.com, ashwin.kumar.kulkarni@intel.com, shubham.kumar@intel.com, ravi.kishore.koppuravuri@intel.com Subject: Re: [PATCH v6 3/5] drm/xe/xe_hw_error: Integrate DRM RAS with hardware error handling Message-ID: References: <20260216064726.2542819-7-riana.tauro@intel.com> <20260216064726.2542819-10-riana.tauro@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260216064726.2542819-10-riana.tauro@intel.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Feb 16, 2026 at 12:17:29PM +0530, Riana Tauro wrote: > Initialize DRM RAS in hw error init. Map the UAPI error severities > with the hardware error severities and refactor file. ... > void xe_hw_error_init(struct xe_device *xe) > { > struct xe_tile *tile = xe_device_get_root_tile(xe); > + int ret; > > if (!IS_DGFX(xe) || IS_SRIOV_VF(xe)) > return; > > INIT_WORK(&tile->csc_hw_error_work, csc_hw_error_work); > > + ret = hw_error_info_init(xe); > + if (ret) > + drm_err(&xe->drm, "Failed to initialize XE DRM RAS\n"); Nit: Printing ret would be useful for debugging. Reviewed-by: Raag Jadav > process_hw_errors(xe); > }