From: Raag Jadav <raag.jadav@intel.com>
To: "Tauro, Riana" <riana.tauro@intel.com>
Cc: Soham Purkait <soham.purkait@intel.com>,
intel-xe@lists.freedesktop.org, anshuman.gupta@intel.com,
aravind.iddamsetty@linux.intel.com, badal.nilawar@intel.com,
rodrigo.vivi@intel.com,
Koujalagi Mallesh <mallesh.koujalagi@intel.com>
Subject: Re: [PATCH] drm/xe/ras: Handle SPI out of flash error
Date: Wed, 25 Nov 2026 06:09:04 +0100 [thread overview]
Message-ID: <awZtcN059EejoyJI@black.igk.intel.com> (raw)
In-Reply-To: <c336f40a-457e-4a62-986c-376c153b535e@intel.com>
On Mon, Nov 23, 2026 at 12:58:49PM +0530, Tauro, Riana wrote:
> On 23-11-2026 12:32, Soham Purkait wrote:
> > Wedge the device with an unknown recovery method if Page-Offline returns
> > OUT_OF_RESOURCES, or if the offline list is full at probe.
...
> > @@ -299,6 +301,11 @@ static int send_page_offline_cmd(struct xe_device *xe, u64 page_address,
> > if (ret) {
> > xe_log_err(xe, SYSCTRL, ret, "page offline command failed with status %u\n",
> > response.status);
> > + if (response.status == XE_RAS_STATUS_OUT_OF_RESOURCES) {
> > + xe_log_err(xe, SYSCTRL, ret,
> > + "No space left in SPI flash for bad pages, manual intervention required\n");
> > + xe_wedge_declare(xe, 0);
>
> Why 0? Use the defined macros
Defined macros are for defined methods, which is the opposite of 'unknown'.
drm_dev_wedged_event() doc already explains this.
Raag
next prev parent reply other threads:[~2026-11-25 5:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 7:02 [PATCH] drm/xe/ras: Handle SPI out of flash error Soham Purkait
2026-11-23 7:17 ` ✗ CI.KUnit: failure for " Patchwork
2026-11-23 7:28 ` [PATCH] " Tauro, Riana
2026-11-25 5:09 ` Raag Jadav [this message]
2026-11-23 7:30 ` sashiko-bot
2026-11-25 5:19 ` Nilawar, Badal
2026-11-25 18:10 ` Purkait, Soham
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=awZtcN059EejoyJI@black.igk.intel.com \
--to=raag.jadav@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=mallesh.koujalagi@intel.com \
--cc=riana.tauro@intel.com \
--cc=rodrigo.vivi@intel.com \
--cc=soham.purkait@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.