[PATCH 04/10] iommu: Mark dev_iommu_get() with lockdep

Baolu Lu baolu.lu at linux.intel.com
Tue Nov 28 19:11:27 PST 2023


On 2023/11/29 8:48, Jason Gunthorpe wrote:
> Allocation of dev->iommu must be done under the
> iommu_probe_device_lock. Mark this with lockdep to discourage future
> mistakes.
> 
> Reviewed-by: Jerry Snitselaar<jsnitsel at redhat.com>
> Tested-by: Hector Martin<marcan at marcan.st>
> Signed-off-by: Jason Gunthorpe<jgg at nvidia.com>
> ---
>   drivers/iommu/iommu.c | 2 ++
>   1 file changed, 2 insertions(+)

Reviewed-by: Lu Baolu <baolu.lu at linux.intel.com>

Best regards,
baolu



More information about the linux-snps-arc mailing list