diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2021-09-29 10:30:50 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-10-22 12:49:14 +0200 |
commit | 0943aacf5ae10471b68a702c022b42c89e91ba9e (patch) | |
tree | 4c49b7212b76402000db34aab1f296225fabd604 /drivers/tee/optee | |
parent | vduse: Disallow injecting interrupt before DRIVER_OK is set (diff) | |
download | linux-0943aacf5ae10471b68a702c022b42c89e91ba9e.tar.xz linux-0943aacf5ae10471b68a702c022b42c89e91ba9e.zip |
vduse: Fix race condition between resetting and irq injecting
The interrupt might be triggered after a reset since there is
no synchronization between resetting and irq injecting. And it
might break something if the interrupt is delayed until a new
round of device initialization.
Fixes: c8a6153b6c59 ("vduse: Introduce VDUSE - vDPA Device in Userspace")
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20210929083050.88-1-xieyongji@bytedance.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/tee/optee')
0 files changed, 0 insertions, 0 deletions