Re: [PATCH v4 7/9] vhost: annotate IOTLB lock

2023-01-31 Thread Maxime Coquelin
On 1/19/23 19:46, David Marchand wrote: The starting point for this is __vhost_iova_to_vva() which requires the lock to be taken. Annotate all the code leading to a call to it. vdpa and vhost_crypto code are annotated but they end up not taking a IOTLB lock and have been marked with a FIXME a

[PATCH v4 7/9] vhost: annotate IOTLB lock

2023-01-19 Thread David Marchand
The starting point for this is __vhost_iova_to_vva() which requires the lock to be taken. Annotate all the code leading to a call to it. vdpa and vhost_crypto code are annotated but they end up not taking a IOTLB lock and have been marked with a FIXME at the top level. Signed-off-by: David Marcha