From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Riana Tauro <riana.tauro@intel.com>
Cc: <intel-xe@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>, <anshuman.gupta@intel.com>,
<lucas.demarchi@intel.com>, <aravind.iddamsetty@linux.intel.com>,
<raag.jadav@intel.com>, <umesh.nerlige.ramappa@intel.com>,
<frank.scarbrough@intel.com>, <sk.anirban@intel.com>,
<simona.vetter@ffwll.ch>, <maarten.lankhorst@linux.intel.com>,
<mripard@kernel.org>, <tzimmermann@suse.de>
Subject: Re: [PATCH v8 01/10] drm/xe: Add documentation for Xe Device Wedging
Date: Sun, 17 Aug 2025 12:22:44 -0400 [thread overview]
Message-ID: <aKIB1ArNJmjqbc8h@intel.com> (raw)
In-Reply-To: <20250814121448.3380784-2-riana.tauro@intel.com>
On Thu, Aug 14, 2025 at 05:44:31PM +0530, Riana Tauro wrote:
> Add documentation for Xe Device Wedging so that
> file can be referenced in following patches.
>
> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> Documentation/gpu/xe/index.rst | 1 +
> Documentation/gpu/xe/xe_device.rst | 10 ++++++++++
> drivers/gpu/drm/xe/xe_device.c | 10 ++++++++++
> 3 files changed, 21 insertions(+)
> create mode 100644 Documentation/gpu/xe/xe_device.rst
>
> diff --git a/Documentation/gpu/xe/index.rst b/Documentation/gpu/xe/index.rst
> index 42ba6c263cd0..88b22fad880e 100644
> --- a/Documentation/gpu/xe/index.rst
> +++ b/Documentation/gpu/xe/index.rst
> @@ -25,5 +25,6 @@ DG2, etc is provided to prototype the driver.
> xe_tile
> xe_debugging
> xe_devcoredump
> + xe_device
> xe-drm-usage-stats.rst
> xe_configfs
> diff --git a/Documentation/gpu/xe/xe_device.rst b/Documentation/gpu/xe/xe_device.rst
> new file mode 100644
> index 000000000000..39a937b97cd3
> --- /dev/null
> +++ b/Documentation/gpu/xe/xe_device.rst
> @@ -0,0 +1,10 @@
> +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +.. _xe-device-wedging:
> +
> +==================
> +Xe Device Wedging
> +==================
> +
> +.. kernel-doc:: drivers/gpu/drm/xe/xe_device.c
> + :doc: Xe Device Wedging
> diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> index 3e0402dff423..0ab0366c3a9d 100644
> --- a/drivers/gpu/drm/xe/xe_device.c
> +++ b/drivers/gpu/drm/xe/xe_device.c
> @@ -1157,6 +1157,16 @@ static void xe_device_wedged_fini(struct drm_device *drm, void *arg)
> xe_pm_runtime_put(xe);
> }
>
> +/**
> + * DOC: Xe Device Wedging
> + *
> + * Xe driver uses drm device wedged uevent as documented in Documentation/gpu/drm-uapi.rst.
> + * When device is in wedged state, every IOCTL will be blocked and GT cannot be
> + * used. Certain critical errors like gt reset failure, firmware failures can cause
> + * the device to be wedged. The default recovery method for a wedged state
> + * is rebind/bus-reset.
> + */
> +
> /**
> * xe_device_declare_wedged - Declare device wedged
> * @xe: xe device instance
> --
> 2.47.1
>
next prev parent reply other threads:[~2025-08-17 16:22 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-14 12:14 [PATCH v8 00/10] Handle Firmware reported Hardware Errors Riana Tauro
2025-08-14 12:14 ` [PATCH v8 01/10] drm/xe: Add documentation for Xe Device Wedging Riana Tauro
2025-08-17 16:22 ` Rodrigo Vivi [this message]
2025-08-14 12:14 ` [PATCH v8 02/10] drm: Add a vendor-specific recovery method to drm device wedged uevent Riana Tauro
2025-08-17 16:25 ` Rodrigo Vivi
2025-08-21 14:31 ` Riana Tauro
2025-08-21 15:17 ` Rodrigo Vivi
2025-08-25 15:49 ` Maxime Ripard
2025-08-14 12:14 ` [PATCH v8 03/10] drm/xe: Set GT as wedged before sending " Riana Tauro
2025-08-14 12:14 ` [PATCH v8 04/10] drm/xe: Add a helper function to set recovery method Riana Tauro
2025-08-14 12:14 ` [PATCH v8 05/10] drm/xe/xe_survivability: Refactor survivability mode Riana Tauro
2025-08-14 12:14 ` [PATCH v8 06/10] drm/xe/xe_survivability: Add support for Runtime " Riana Tauro
2025-08-14 12:14 ` [PATCH v8 07/10] drm/xe/doc: Document device wedged and runtime survivability Riana Tauro
2025-08-14 12:14 ` [PATCH v8 08/10] drm/xe: Add support to handle hardware errors Riana Tauro
2025-08-14 12:14 ` [PATCH v8 09/10] drm/xe/xe_hw_error: Handle CSC Firmware reported Hardware errors Riana Tauro
2025-08-14 12:14 ` [PATCH v8 10/10] drm/xe/xe_hw_error: Add fault injection to trigger csc error handler Riana Tauro
2025-08-14 13:28 ` ✗ CI.checkpatch: warning for Handle Firmware reported Hardware Errors (rev8) Patchwork
2025-08-14 13:30 ` ✓ CI.KUnit: success " Patchwork
2025-08-14 13:45 ` ✗ CI.checksparse: warning " Patchwork
2025-08-14 14:11 ` ✓ Xe.CI.BAT: success " Patchwork
2025-08-14 16:16 ` ✗ Xe.CI.Full: failure " 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=aKIB1ArNJmjqbc8h@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=aravind.iddamsetty@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=frank.scarbrough@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=lucas.demarchi@intel.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=raag.jadav@intel.com \
--cc=riana.tauro@intel.com \
--cc=simona.vetter@ffwll.ch \
--cc=sk.anirban@intel.com \
--cc=tzimmermann@suse.de \
--cc=umesh.nerlige.ramappa@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;
as well as URLs for NNTP newsgroup(s).