[ Sasha's backport helper bot ]
Hi,
Summary of potential issues: ⚠️ Found matching upstream commit but patch is missing proper reference to it
Found matching upstream commit: e379856b428acafb8ed689f31d65814da6447b2e
Status in newer kernel trees: 6.14.y | Present (different SHA1: 446311aa801c)
Note: The patch differs from the upstream commit: --- 1: e379856b428ac ! 1: f19951b3eb02d drm/panthor: Replace sleep locks with spinlocks in fdinfo path @@ Commit message Reviewed-by: Steven Price steven.price@arm.com Signed-off-by: Steven Price steven.price@arm.com Link: https://patchwork.freedesktop.org/patch/msgid/20250303190923.1639985-1-adria... + (cherry picked from commit e379856b428acafb8ed689f31d65814da6447b2e)
## drivers/gpu/drm/panthor/panthor_sched.c ## @@ @@ drivers/gpu/drm/panthor/panthor_sched.c #include <linux/delay.h> #include <linux/dma-mapping.h> @@ drivers/gpu/drm/panthor/panthor_sched.c: struct panthor_group { + + /** @fdinfo: Per-file total cycle and timestamp values reference. */ + struct { +- /** @data: Total sampled values for jobs in queues from this group. */ ++ /** @fdinfo.data: Total sampled values for jobs in queues from this group. */ struct panthor_gpu_usage data;
/** @@ drivers/gpu/drm/panthor/panthor_sched.c: struct panthor_group { */ - struct mutex lock; + spinlock_t lock; + } fdinfo;
- /** @fdinfo.kbo_sizes: Aggregate size of private kernel BO's held by the group. */ - size_t kbo_sizes; + /** @state: Group state. */ @@ drivers/gpu/drm/panthor/panthor_sched.c: static void group_release_work(struct work_struct *work) release_work); u32 i; @@ drivers/gpu/drm/panthor/panthor_sched.c: void panthor_fdinfo_gather_group_sample xa_unlock(&gpool->xa); } @@ drivers/gpu/drm/panthor/panthor_sched.c: int panthor_group_create(struct panthor_file *pfile, + } mutex_unlock(&sched->reset.lock);
- add_group_kbo_sizes(group->ptdev, group); - mutex_init(&group->fdinfo.lock); + spin_lock_init(&group->fdinfo.lock);
---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.13.y | Success | Success |