Re: [PATCH v3 3/5] iommu: Add iommu_get_domain_for_dev_locked() helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/18/25 22:40, Jason Gunthorpe wrote:
On Fri, Aug 15, 2025 at 01:28:02PM +0800, Baolu Lu wrote:

Given that iommu_group->mutex is transparent to the iommu driver, how
about
It is not actually transparent, alot of drivers are implicitly
assuming that the core single threads their struct device for alot of
the ops callbacks and we exposed the lockdep test to the drivers to
help the document this.

Fair enough. It's the role of iommu_group_mutex_assert().

Thanks,
baolu




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux