Re: [RFC PATCH v3 7/8] vhost: annotate IOTLB locks

2022-04-22 Thread Maxime Coquelin
On 4/11/22 13:00, David Marchand wrote: This change simply annotates existing paths of the code leading to manipulations of the IOTLB r/w locks. clang does not support conditionally held locks, so always take iotlb locks regardless of VIRTIO_F_IOMMU_PLATFORM feature. vdpa and vhost_crypto co

[RFC PATCH v3 7/8] vhost: annotate IOTLB locks

2022-04-11 Thread David Marchand
This change simply annotates existing paths of the code leading to manipulations of the IOTLB r/w locks. clang does not support conditionally held locks, so always take iotlb locks regardless of VIRTIO_F_IOMMU_PLATFORM feature. vdpa and vhost_crypto code are annotated though they end up not takin