diff options
| author | Yi Liu <[email protected]> | 2023-07-18 03:55:36 -0700 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2023-07-25 10:17:52 -0600 |
| commit | 86b0a96c2952fa07b782b37f6ec783ace63a01a6 (patch) | |
| tree | eec72297c54a71f2094af4277704f777b9639403 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | eda175dfe2484c1e79afaee0f65eeebfb9f89a53 (diff) | |
iommufd: Add iommufd_ctx_has_group()
This adds the helper to check if any device within the given iommu_group
has been bound with the iommufd_ctx. This is helpful for the checking on
device ownership for the devices which have not been bound but cannot be
bound to any other iommufd_ctx as the iommu_group has been bound.
Reviewed-by: Jason Gunthorpe <[email protected]>
Tested-by: Yanting Jiang <[email protected]>
Tested-by: Terrence Xu <[email protected]>
Tested-by: Zhenzhong Duan <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions