diff options
author | Liviu Dudau <liviu.dudau@arm.com> | 2024-11-06 21:58:06 +0300 |
---|---|---|
committer | Steven Price <steven.price@arm.com> | 2024-11-07 18:23:54 +0300 |
commit | 444fa5b100e5c90550d6bccfe4476efb0391b3ca (patch) | |
tree | 16ade418aeb6641f46702d81ecee327d43cda204 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 052ef642bd6c108a24f375f9ad174b97b425a50b (diff) | |
download | linux-444fa5b100e5c90550d6bccfe4476efb0391b3ca.tar.xz |
drm/panthor: Lock XArray when getting entries for the VM
Similar to commit cac075706f29 ("drm/panthor: Fix race when converting
group handle to group object") we need to use the XArray's internal
locking when retrieving a vm pointer from there.
v2: Removed part of the patch that was trying to protect fetching
the heap pointer from XArray, as that operation is protected by
the @pool->lock.
Fixes: 647810ec2476 ("drm/panthor: Add the MMU/VM logical block")
Reported-by: Jann Horn <jannh@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241106185806.389089-1-liviu.dudau@arm.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions