Linux kernel source tree
 
 
 
 
 
 
Go to file
Shuicheng Lin 08fdfd260e drm/xe/hw_engine_group: Fix double write lock release in error path
In xe_hw_engine_group_get_mode(), a write lock is acquired before
calling switch_mode(), which in turn invokes
xe_hw_engine_group_suspend_faulting_lr_jobs().

On failure inside xe_hw_engine_group_suspend_faulting_lr_jobs(),
the write lock is released there, and then again in
xe_hw_engine_group_get_mode(), leading to a double release.

Fix this by keeping both acquire and release operation in
xe_hw_engine_group_get_mode().

Fixes: 770bd1d341 ("drm/xe/hw_engine_group: Ensure safe transition between execution modes")
Cc: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://lore.kernel.org/r/20250925023145.1203004-2-shuicheng.lin@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit 662d98b8b3)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
2025-10-03 14:17:00 -05:00
Documentation Documentation: add initial documenation for user queues 2025-09-23 10:41:06 -04:00
LICENSES
arch Linux 6.17-rc6 2025-09-15 17:51:07 +10:00
block vfs-6.17-rc6.fixes 2025-09-08 07:53:01 -07:00
certs
crypto
drivers drm/xe/hw_engine_group: Fix double write lock release in error path 2025-10-03 14:17:00 -05:00
fs Fix a CPU topology parsing bug on AMD guests, and address 2025-09-14 08:39:48 -07:00
include drm/gpusvm, drm/xe: Fix userptr to not allow device private pages 2025-10-02 21:57:52 -07:00
init 20 hotfixes. 15 are cc:stable and the remainder address post-6.16 issues 2025-09-10 21:19:34 -07:00
io_uring vfs-6.17-rc6.fixes 2025-09-08 07:53:01 -07:00
ipc
kernel Fix a lost-timeout CPU hotplug bug in the hrtimer code, which 2025-09-14 08:38:05 -07:00
lib
mm 20 hotfixes. 15 are cc:stable and the remainder address post-6.16 issues 2025-09-10 21:19:34 -07:00
net A fix for a race condition around r_parent tracking that took a long 2025-09-13 10:45:11 -07:00
rust DRM Rust changes for v6.18 2025-09-17 16:13:49 +10:00
samples DRM Rust changes for v6.18 2025-09-17 16:13:49 +10:00
scripts Rust fixes for v6.17 (2nd) 2025-09-06 12:33:09 -07:00
security
sound
tools Including fixes from CAN, netfilter and wireless. 2025-09-11 08:54:42 -07:00
usr
virt
.clang-format
.clippy.toml
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap Linux 6.17-rc6 2025-09-15 17:51:07 +10:00
.pylintrc
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS DRM Rust changes for v6.18 2025-09-17 16:13:49 +10:00
Makefile Linux 6.17-rc6 2025-09-14 14:21:14 -07:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.