mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
accel/ivpu: Synchronize context abort work with device reset
Acquire pm->reset_lock in ivpu_context_abort_work_fn() to prevent it from running concurrently with a device reset. If the lock cannot be acquired immediately, skip the abort work to avoid racing with reset. The device power management is disabled during reset. Signed-off-by: Jozef Wludzik <jozef.wludzik@intel.com> Reviewed-by: Dawid Osuchowski <dawid.osuchowski@linux.intel.com> Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com> Link: https://patch.msgid.link/20260914083006.892645-1-karol.wachowski@linux.intel.com
This commit is contained in:
parent
efb67f52fb
commit
2c6be28cee
1 changed files with 6 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue