summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorRaag Jadav <raag.jadav@intel.com>2026-10-22 10:42:26 +0530
committerDave Airlie <airlied@redhat.com>2026-11-09 19:17:58 +1000
commit402567ac0875b0df4db88f907269db4a0a090810 (patch)
treed7191752eee127ef58ccc43036625c24cf80156d /rust/kernel/alloc/kvec/errors.rs
parent8801081e5991e4939dc2d04564c46f33c3efe18d (diff)
drm/xe: Drop xe_device_set_wedged_method()
Commit 60439ac3f235 ("drm/xe: Add a helper function to set recovery method") introduced xe_device_set_wedged_method() helper to allow setting preferred recovery method before wedging the device, but also introduced a flaw where the previously set method can be overwritten by concurrent racing wedge call. This can result in unintended recovery method being sent to userspace and possibly failed recovery. Drop xe_device_set_wedged_method() entirely and pass the recovery method as part of xe_device_declare_wedged() argument, which places the preferred recovery method on the stack and avoids this issue. Fixes: 60439ac3f235 ("drm/xe: Add a helper function to set recovery method") Signed-off-by: Raag Jadav <raag.jadav@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patch.msgid.link/20261022051303.282805-3-raag.jadav@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com> (cherry picked from commit 972234baa32845afe458fc547434c250035b5466) Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions