Skip to content
Commit 7a78d4d4 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: fix race between wait and irq



There is a race in the user interrupts code, where between checking
the target value and adding the new pend to the list, there is a chance
the interrupt happened.

In that case, no one will complete the node, and we will get a timeout
on it.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 54faa560
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment