On Fri, Mar 21, 2025 at 03:42:05PM -0300, Jason Gunthorpe wrote: > On Fri, Mar 21, 2025 at 11:29:53AM -0700, Nicolin Chen wrote: > > > Yes, this is a per-device ioctl. But we defined it to use the > > device only as a bridge to get access to its IOMMU and return > > IOMMU's caps/infos. Now, we are reporting HW info about this > > bridge itself. I think it repurposes the ioctl. > > I had imagined it as both, it is called GET_HW_INFO not > GET_IOMMU_INFO.. > > Maybe all that is needed is a bit of clarity in the kdoc which items > are iommu global and which are per-device? Yea, that's my point after all. Thanks Nicolin