Patch "drm/xe: Make wedged_mode debugfs writable" has been added to the 6.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/xe: Make wedged_mode debugfs writable

to the 6.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-xe-make-wedged_mode-debugfs-writable.patch
and it can be found in the queue-6.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 1412933ab50d3a65df7aa668086d680f7dcc021c
Author: Matt Roper <matthew.d.roper@xxxxxxxxx>
Date:   Wed Oct 2 16:06:21 2024 -0700

    drm/xe: Make wedged_mode debugfs writable
    
    [ Upstream commit 1badf482816417dca71f8120b4c540cdc82aa03c ]
    
    The intent of this debugfs entry is to allow modification of wedging
    behavior, either from IGT tests or during manual debug; it should be
    marked as writable to properly reflect this.  In practice this hasn't
    caused a problem because we always access wedged_mode as root, which
    ignores file permissions, but it's still misleading to have the entry
    incorrectly marked as RO.
    
    Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
    Fixes: 6b8ef44cc0a9 ("drm/xe: Introduce the wedged_mode debugfs")
    Signed-off-by: Matt Roper <matthew.d.roper@xxxxxxxxx>
    Reviewed-by: Gustavo Sousa <gustavo.sousa@xxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20241002230620.1249258-2-matthew.d.roper@xxxxxxxxx
    (cherry picked from commit 93d93813422758f6c99289de446b19184019ef5a)
    Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/xe/xe_debugfs.c b/drivers/gpu/drm/xe/xe_debugfs.c
index 1011e5d281fa9..c87e6bca64d86 100644
--- a/drivers/gpu/drm/xe/xe_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_debugfs.c
@@ -190,7 +190,7 @@ void xe_debugfs_register(struct xe_device *xe)
 	debugfs_create_file("forcewake_all", 0400, root, xe,
 			    &forcewake_all_fops);
 
-	debugfs_create_file("wedged_mode", 0400, root, xe,
+	debugfs_create_file("wedged_mode", 0600, root, xe,
 			    &wedged_mode_fops);
 
 	for (mem_type = XE_PL_VRAM0; mem_type <= XE_PL_VRAM1; ++mem_type) {




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux