Re: [PATCH v2] drm/panthor: Lock XArray when getting entries for the VM

2024-11-07 Thread Steven Price
On 06/11/2024 18:58, Liviu Dudau wrote: > Similar to 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 >

Re: [PATCH v2] drm/panthor: Lock XArray when getting entries for the VM

2024-11-07 Thread Steven Price
On 06/11/2024 18:58, Liviu Dudau wrote: > Similar to 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 >

Re: [PATCH v2] drm/panthor: Lock XArray when getting entries for the VM

2024-11-06 Thread Boris Brezillon
On Wed, 6 Nov 2024 18:58:06 + Liviu Dudau wrote: > Similar to 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 pr

[PATCH v2] drm/panthor: Lock XArray when getting entries for the VM

2024-11-06 Thread Liviu Dudau
Similar to 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