diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2023-12-07 21:03:11 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-12-12 12:18:48 +0300 |
commit | 64945d1b0ed169aeffa59020941e4ac45ebc315a (patch) | |
tree | 82eb65a22706e60be14eacad0cb5d22e5f17a584 /include/linux/iommu.h | |
parent | 5b4ea8b06eb79234a244ffc1f7405aa968f62069 (diff) | |
download | linux-64945d1b0ed169aeffa59020941e4ac45ebc315a.tar.xz |
iommu: Mark dev_iommu_get() with lockdep
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@redhat.com>
Tested-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Moritz Fischer <moritzf@google.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/4-v2-16e4def25ebb+820-iommu_fwspec_p1_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions