mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 05:18:45 +02:00
ivpu_device->context_xa is locked both in kernel thread and IRQ context.
It requires XA_FLAGS_LOCK_IRQ flag to be passed during initialization
otherwise the lock could be acquired from a thread and interrupted by
an IRQ that locks it for the second time causing the deadlock.
This deadlock was reported by lockdep and observed in internal tests.
Fixes:
|
||
|---|---|---|
| .. | ||
| habanalabs | ||
| ivpu | ||
| qaic | ||
| drm_accel.c | ||
| Kconfig | ||
| Makefile | ||