summaryrefslogtreecommitdiff
path: root/include/linux/tc_act/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2026-03-17 11:54:55 +0100
committerAlex Deucher <alexander.deucher@amd.com>2026-04-03 13:59:28 -0400
commit34f31fe40f3a19cd3427130ac7558ca2504853ae (patch)
tree94734949924cf3b4a2031135655d62a814dfcff5 /include/linux/tc_act/git@git.tavy.me:linux-stable.git
parent05ce444171cf2ec89ce0f8c37700375b817454b0 (diff)
drm/amdgpu: rework userq fence driver alloc/destroy
The correct fix is to tie the global xa entry lifetime to the queue lifetime: insert in amdgpu_userq_create() and erase in amdgpu_userq_cleanup(), both at the well-defined doorbell_index key, making the operation O(1) and resolve the fence driver UAF problem by binding the userq driver fence to per queue. v2: clean up the local variables initialization. (Christian) Signed-off-by: Prike Liang <Prike.Liang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/tc_act/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions