aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2025-04-02 22:38:05 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2025-04-07 14:22:35 -0700
commit1e1981b16bb1bbe2fafa57ed439b45cb5b34e32d (patch)
tree43849cee41995d4290832c1cc10e419a65520ef8 /scripts/lib/kdoc/kdoc_output.py
parentdrm/xe: Ensure XE_BO_FLAG_CPU_ADDR_MIRROR has a unique value (diff)
downloadlinux-rng-1e1981b16bb1bbe2fafa57ed439b45cb5b34e32d.tar.xz
linux-rng-1e1981b16bb1bbe2fafa57ed439b45cb5b34e32d.zip
drm/xe: Fix taking invalid lock on wedge
If device wedges on e.g. GuC upload, the submission is not yet enabled and the state is not even initialized. Protect the wedge call so it does nothing in this case. It fixes the following splat: [] xe 0000:bf:00.0: [drm] device wedged, needs recovery [] ------------[ cut here ]------------ [] DEBUG_LOCKS_WARN_ON(lock->magic != lock) [] WARNING: CPU: 48 PID: 312 at kernel/locking/mutex.c:564 __mutex_lock+0x8a1/0xe60 ... [] RIP: 0010:__mutex_lock+0x8a1/0xe60 [] mutex_lock_nested+0x1b/0x30 [] xe_guc_submit_wedge+0x80/0x2b0 [xe] Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com> Link: https://lore.kernel.org/r/20250402-warn-after-wedge-v1-1-93e971511fa5@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions