Zhenzhong Duan
08f2030a2e
virtio-iommu: Use recursive lock to avoid deadlock
...
When switching address space with mutex lock hold, mapping will be
replayed for assigned device. This will trigger relock deadlock.
Also release the mutex resource in unrealize routine.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Message-Id: <20220613061010.2674054-3-zhenzhong.duan@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-06-16 12:54:58 -04:00
..
2022-06-11 11:44:15 +02:00
2022-05-19 16:19:02 +01:00
2022-05-25 10:31:33 +02:00
2022-05-14 12:33:44 +02:00
2022-06-11 11:36:14 +02:00
2022-01-21 15:52:56 +10:00
2022-04-29 10:48:26 +10:00
2022-06-16 12:54:57 -04:00
2022-06-08 19:38:47 +01:00
2022-01-28 14:29:46 +00:00
2022-01-07 05:19:55 -05:00
2022-05-25 10:31:33 +02:00
2022-05-30 19:49:42 +02:00
2022-05-11 16:50:01 +02:00
2022-06-11 11:44:50 +02:00
2021-09-30 13:44:13 +01:00
2022-05-11 16:50:01 +02:00
2022-06-06 18:12:30 +00:00
2021-09-30 13:42:10 +01:00
2022-06-11 11:44:50 +02:00
2022-06-06 18:10:46 +00:00
2022-02-21 10:35:13 +01:00
2022-02-18 08:34:13 +01:00
2022-04-06 10:50:37 +02:00
2022-06-09 19:32:49 -04:00
2022-05-11 16:50:32 +02:00
2022-05-11 16:49:06 +02:00
2021-09-30 13:42:10 +01:00
2022-06-15 16:43:42 +01:00
2022-06-09 19:32:49 -04:00
2022-06-06 18:14:13 +00:00
2022-05-26 17:11:32 -03:00
2021-11-02 15:55:14 +00:00
2022-06-15 16:43:42 +01:00
2022-05-11 16:49:06 +02:00
2022-06-11 11:44:50 +02:00
2022-05-11 16:49:06 +02:00
2022-05-11 16:50:01 +02:00
2022-03-09 09:29:10 +00:00
2021-11-02 14:14:55 -04:00
2022-05-11 16:49:06 +02:00
2021-10-30 18:39:37 +02:00
2022-06-11 11:44:50 +02:00
2022-05-11 16:49:06 +02:00
2022-05-11 16:49:06 +02:00
2022-05-11 16:50:01 +02:00
2022-05-11 16:49:06 +02:00
2022-05-06 09:06:51 -06:00
2022-06-16 12:54:58 -04:00
2022-05-11 16:49:06 +02:00
2022-03-22 14:40:51 +04:00
2022-06-09 19:32:49 -04:00
2021-10-27 17:10:00 -07:00
2022-01-20 09:09:37 +01:00
2022-04-21 17:03:51 +04:00
2022-06-09 14:47:42 +01:00
2022-04-21 11:37:04 +01:00
2022-06-10 09:31:42 +10:00
2022-05-19 16:19:03 +01:00
2022-06-15 14:50:41 +01:00
2022-05-14 12:32:41 +02:00
2021-09-01 11:59:12 +10:00
2022-03-02 19:27:36 +00:00