Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
To: Zhanjun Dong <zhanjun.dong@intel.com>, <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH v7 1/1] drm/xe/guc: Handle GuC local uncorrectable error notifications
Date: Thu, 9 Jul 2026 13:24:49 -0700	[thread overview]
Message-ID: <94211fd4-dccb-40c7-bc79-088c18258dc0@intel.com> (raw)
In-Reply-To: <20260706234353.3874355-1-zhanjun.dong@intel.com>



On 7/6/2026 4:43 PM, Zhanjun Dong wrote:
> Add support for the GuC uncorrectable local error G2H notification and
> opt in to the feature when the submission ABI exposes it.
>
> When the notification targets a known exec queue, treat it like an
> engine reset request and route it through the existing timeout cleanup
> path. This keeps the queue teardown, pending job cancellation and error
> capture in one place instead of open-coding a parallel recovery flow.
>
> Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com>
> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> ---
> Changes to previous version:
> v6: Updated unknown GuC id error message (Daniele)
>      Updated length check (Daniele)
> v5: Switch to opt-in by has_uncorrectable_error_reporting in gt structure
> v4: Optimized GT and silicon version check.
>      Remove wedged mode==2 handling, which is handled by other feature
> v3: Remove not used flag bit and timeout worker check (Daniele)
>      Remove wedged mode==2 check, which will be handled in separate patch(Daniele)
> v2: Opt in for Xe3p only, excluding media GTs on NovaLake-P which don't support the feature
>      Remove timeout bypass, which is outside the scope of this patch and can be added separately
> ---
<snip>
> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
> index 12416bfa3255..49c5cf764e70 100644
> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
> @@ -9,6 +9,7 @@
>   #include <linux/bitmap.h>
>   #include <linux/circ_buf.h>
>   #include <linux/dma-fence-array.h>
> +#include <linux/workqueue.h>

When merging I noticed that this new include is no longer required in 
the latest rev, so I dropped it after confirming with Zhanjun and then 
pushed.

Daniele

      parent reply	other threads:[~2026-07-09 20:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-06 23:43 [PATCH v7 1/1] drm/xe/guc: Handle GuC local uncorrectable error notifications Zhanjun Dong
2026-07-07  0:04 ` ✓ CI.KUnit: success for series starting with [v7,1/1] " Patchwork
2026-07-07  0:39 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-07  3:50 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-09 20:24 ` Daniele Ceraolo Spurio [this message]

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=94211fd4-dccb-40c7-bc79-088c18258dc0@intel.com \
    --to=daniele.ceraolospurio@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=zhanjun.dong@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox