diff options
author | Oded Gabbay <ogabbay@kernel.org> | 2022-01-19 00:10:43 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2022-02-28 14:22:03 +0200 |
commit | 7a78d4d4819ec75c749d591c432d50cf7003448b (patch) | |
tree | 06c73fd87cff2b899afcf61f8b1508540522a4be /drivers/misc/ibmasm | |
parent | 54faa5607b549ef7ef735e7d0c4523cc74bd20f4 (diff) |
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: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/ibmasm')
0 files changed, 0 insertions, 0 deletions