From: Riana Tauro <riana.tauro@intel.com>
To: Michal Wajdeczko <michal.wajdeczko@intel.com>,
<intel-xe@lists.freedesktop.org>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>,
Stuart Summers <stuart.summers@intel.com>
Subject: Re: [PATCH v2 1/3] drm/xe/configfs: Don't touch survivability_mode on fini
Date: Tue, 9 Sep 2025 10:46:30 +0530 [thread overview]
Message-ID: <a2ad7559-1015-4fb6-b0b0-8893088e39f0@intel.com> (raw)
In-Reply-To: <20250904103521.7130-1-michal.wajdeczko@intel.com>
On 9/4/2025 4:05 PM, Michal Wajdeczko wrote:
> This is a user controlled configfs attribute, we should not
> modify that outside the configfs attr.store() implementation.
>
> Fixes: bc417e54e24b ("drm/xe: Enable configfs support for survivability mode")
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Lucas De Marchi <lucas.demarchi@intel.com>
> Cc: Riana Tauro <riana.tauro@intel.com>
> Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Looks good to me
Reviewed-by: Riana Tauro <riana.tauro@intel.com>> ---
> v2: add Fixes tag (Lucas) and update the doc (Riana)
> ---
> drivers/gpu/drm/xe/xe_survivability_mode.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c b/drivers/gpu/drm/xe/xe_survivability_mode.c
> index 53c5af4b810c..7999cc5262a5 100644
> --- a/drivers/gpu/drm/xe/xe_survivability_mode.c
> +++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
> @@ -44,6 +44,8 @@
> *
> * # echo 1 > /sys/kernel/config/xe/0000:03:00.0/survivability_mode
> *
> + * It is the responsibility of the user to clear the mode once firmware flash is complete.
> + *
> * Refer :ref:`xe_configfs` for more details on how to use configfs
> *
> * Survivability mode is indicated by the below admin-only readable sysfs which provides additional
> @@ -180,7 +182,6 @@ static void xe_survivability_mode_fini(void *arg)
> struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
> struct device *dev = &pdev->dev;
>
> - xe_configfs_clear_survivability_mode(pdev);
> sysfs_remove_file(&dev->kobj, &dev_attr_survivability_mode.attr);
> }
>
next prev parent reply other threads:[~2025-09-09 5:16 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-02 13:17 [PATCH 0/3] Allow to filter-out some configfs attrs Michal Wajdeczko
2025-09-02 13:17 ` [PATCH 1/3] drm/xe/configfs: Don't touch survivability_mode on fini Michal Wajdeczko
2025-09-02 16:37 ` Summers, Stuart
2025-09-02 18:04 ` Lucas De Marchi
2025-09-03 5:39 ` Riana Tauro
2025-09-03 5:49 ` Michal Wajdeczko
2025-09-03 17:50 ` Lucas De Marchi
2025-09-03 19:47 ` Michal Wajdeczko
2025-09-04 4:36 ` Riana Tauro
2025-09-04 10:35 ` [PATCH v2 " Michal Wajdeczko
2025-09-04 15:56 ` Lucas De Marchi
2025-09-09 5:16 ` Riana Tauro [this message]
2025-09-02 13:17 ` [PATCH 2/3] drm/xe/configfs: Prepare to filter-out configfs attributes Michal Wajdeczko
2025-09-02 13:17 ` [PATCH 3/3] drm/xe/configfs: Don't expose survivability_mode if not applicable Michal Wajdeczko
2025-09-02 17:25 ` Summers, Stuart
2025-09-02 18:16 ` Michal Wajdeczko
2025-09-02 18:19 ` Summers, Stuart
2025-09-02 18:10 ` Lucas De Marchi
2025-09-02 15:19 ` ✓ CI.KUnit: success for Allow to filter-out some configfs attrs Patchwork
2025-09-02 15:56 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-02 20:41 ` ✗ Xe.CI.Full: failure " Patchwork
2025-09-04 10:54 ` ✓ CI.KUnit: success for Allow to filter-out some configfs attrs (rev2) Patchwork
2025-09-04 11:30 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-04 23:14 ` ✗ 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=a2ad7559-1015-4fb6-b0b0-8893088e39f0@intel.com \
--to=riana.tauro@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=lucas.demarchi@intel.com \
--cc=michal.wajdeczko@intel.com \
--cc=stuart.summers@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