Re: [PATCH RFC 16/17] iommu: Mark dev_iommu_get() with lockdep

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

[PATCH RFC 16/17] iommu: Mark dev_iommu_get() with lockdep

2023-11-03 Thread Jason Gunthorpe
Allocation of dev->iommu must be done under the iommu_probe_device_lock. Mark this with lockdep to discourage future mistakes. Signed-off-by: Jason Gunthorpe --- drivers/iommu/iommu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index