iommu/amd: Improve amd_iommu_release_device()
Previous patch added ops->release_domain support. Core will attach devices to release_domain->attach_dev() before calling this function. Devices are already detached their current domain and attached to blocked domain. This is mostly dummy function now. Just throw warning if device is still attached to domain. Suggested-by:Jason Gunthorpe <jgg@nvidia.com> Signed-off-by:
Vasant Hegde <vasant.hegde@amd.com> Reviewed-by:
Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20241030063556.6104-13-vasant.hegde@amd.com Signed-off-by:
Joerg Roedel <jroedel@suse.de>
Loading
Please sign in to comment