✗ CI.checkpatch: warning for drm/xe/pxp: Don't kill queues while holding the spinlock
Patchwork
patchwork at emeril.freedesktop.org
Thu Feb 13 00:47:38 UTC 2025
== Series Details ==
Series: drm/xe/pxp: Don't kill queues while holding the spinlock
URL : https://patchwork.freedesktop.org/series/144763/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
22f9cda3436b4fe965b5c5f31d2f2c1bcb483189
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 9596ea6bddfed5614c3bee87cb133c0b63462407
Author: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Date: Wed Feb 12 16:40:32 2025 -0800
drm/xe/pxp: Don't kill queues while holding the spinlock
xe_exec_queue_kill can sleep, so we can't call it from under the lock.
We can instead move the queues to a separate list and then kill them all
after we release the lock.
Since being in the list is used to track whether RPM cleanup is needed,
we can no longer defer that to queue_destroy, so we perform it
immediately instead.
Reported-by: Dan Carpenter <dan.carpenter at linaro.org>
Fixes: f8caa80154c4 ("drm/xe/pxp: Add PXP queue tracking and session start")
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Cc: John Harrison <John.C.Harrison at Intel.com>
+ /mt/dim checkpatch fd03884f35d18372b0f7abb2fd33c55cee599bc3 drm-intel
9596ea6bddfe drm/xe/pxp: Don't kill queues while holding the spinlock
-:14: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#14:
Reported-by: Dan Carpenter <dan.carpenter at linaro.org>
Fixes: f8caa80154c4 ("drm/xe/pxp: Add PXP queue tracking and session start")
total: 0 errors, 1 warnings, 0 checks, 93 lines checked
More information about the Intel-xe
mailing list