Re: [PATCH] vdpa_sim: init iommu lock

2020-08-10 Thread Jason Wang
On 2020/8/10 下午8:48, Michael S. Tsirkin wrote: The patch adding the iommu lock did not initialize it. The struct is zero-initialized so this is mostly a problem when using lockdep. Reported-by: kernel test robot Cc: Max Gurtovoy Fixes: 0ea9ee430e74 ("vdpasim: protect concurrent access to

[PATCH] vdpa_sim: init iommu lock

2020-08-10 Thread Michael S. Tsirkin
The patch adding the iommu lock did not initialize it. The struct is zero-initialized so this is mostly a problem when using lockdep. Reported-by: kernel test robot Cc: Max Gurtovoy Fixes: 0ea9ee430e74 ("vdpasim: protect concurrent access to iommu iotlb") Signed-off-by: Michael S. Tsirkin ---