All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mallesh, Koujalagi" <mallesh.koujalagi@intel.com>
To: Riana Tauro <riana.tauro@intel.com>
Cc: <anshuman.gupta@intel.com>, <aravind.iddamsetty@linux.intel.com>,
	<raag.jadav@intel.com>, <badal.nilawar@intel.com>,
	<ravi.kishore.koppuravuri@intel.com>, <soham.purkait@intel.com>,
	<tejas.upadhyay@intel.com>,
	"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH v5 1/4] drm/xe/ras: Fail probe if the device is wedged
Date: Wed, 2 Dec 2026 10:55:54 +0530	[thread overview]
Message-ID: <36eb7319-7e86-4690-b92f-c7e1083dbb17@intel.com> (raw)
In-Reply-To: <20261201094549.3158286-7-riana.tauro@intel.com>


On 01-12-2026 03:15 pm, Riana Tauro wrote:
> RAS error processing during probe may wedge the device when errors like
> Punit, CSC and Memory errors are reported.
> Stop initialization and fail probe for such errors.
>
> Fixes: 573f9e7ed1a9 ("drm/xe/xe_ras: Handle uncorrectable SoC Internal errors")
> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
LGTM,
Reviewed-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com>
> ---
>   drivers/gpu/drm/xe/xe_ras.c | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
> index d14ee40d0440..b75294401af8 100644
> --- a/drivers/gpu/drm/xe/xe_ras.c
> +++ b/drivers/gpu/drm/xe/xe_ras.c
> @@ -1526,6 +1526,10 @@ int xe_ras_init(struct xe_device *xe)
>   	 */
>   	xe_ras_process_errors(xe);
>   
> +	/* Fail probe if the device is already wedged due to errors */
> +	if (xe_wedged(xe))
> +		return -ENOTRECOVERABLE;
> +
>   	ret = devm_device_add_group(xe->drm.dev, &gpu_health_group);
>   	if (ret)
>   		return ret;

  parent reply	other threads:[~2026-12-02  5:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  9:45 [PATCH v5 0/4] Handle sysctrl event for page offline full Riana Tauro
2026-12-01  9:45 ` [PATCH v5 1/4] drm/xe/ras: Fail probe if the device is wedged Riana Tauro
2026-12-01 10:06   ` sashiko-bot
2026-12-02  5:25   ` Mallesh, Koujalagi [this message]
2026-12-01  9:45 ` [PATCH v5 2/4] drm/xe/ras: Wedge for Critical BO page offline failures Riana Tauro
2026-12-01  9:45 ` [PATCH v5 3/4] drm/xe/sysctrl: Drain page offline queue on queue-full event Riana Tauro
2026-12-01  9:45 ` [PATCH v5 4/4] drm/xe/ras: Serialize RAS workers on an ordered workqueue Riana Tauro
2026-12-01 10:01   ` sashiko-bot
2026-12-01 13:23   ` Raag Jadav
2026-12-01 14:03     ` Tauro, Riana
2026-12-01 10:11 ` ✓ CI.KUnit: success for Handle sysctrl event for page offline full (rev2) Patchwork
2026-12-01 10:49 ` ✓ Xe.CI.BAT: " Patchwork
2026-12-01 22:45 ` ✓ Xe.CI.FULL: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36eb7319-7e86-4690-b92f-c7e1083dbb17@intel.com \
    --to=mallesh.koujalagi@intel.com \
    --cc=anshuman.gupta@intel.com \
    --cc=aravind.iddamsetty@linux.intel.com \
    --cc=badal.nilawar@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=raag.jadav@intel.com \
    --cc=ravi.kishore.koppuravuri@intel.com \
    --cc=riana.tauro@intel.com \
    --cc=soham.purkait@intel.com \
    --cc=tejas.upadhyay@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.