]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Drop trace_xe_hw_fence_free
authorMatthew Brost <matthew.brost@intel.com>
Mon, 8 Jul 2024 21:10:08 +0000 (14:10 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 11 Jul 2024 13:54:24 +0000 (09:54 -0400)
commit26d289158e491d5ae34b10eab40b093a40fab7d7
tree5ef45975f10fa25624b48ff5703e940c1cc5e755
parent63347fe031e3bd738a2a16aee8eba889376e49a8
drm/xe: Drop trace_xe_hw_fence_free

fence->ctx may be stale memory when trace_xe_hw_fence_free is called
resuling UAF bug when deriving the device name. This tracepoint is not
all that useful, so just drop it.

Fixes: 501c4255c409 ("drm/xe/trace: Print device_id in xe_trace events")
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Gustavo Sousa <gustavo.sousa@intel.com>
Cc: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240708211008.956384-1-matthew.brost@intel.com
(cherry picked from commit caaf1f44a6a27bae33eee189842c4d8fc21c3b02)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_hw_fence.c
drivers/gpu/drm/xe/xe_trace.h