iommu/qcom_iommu: Add an IOMMU_IDENTITIY_DOMAIN
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 13 Sep 2023 13:43:49 +0000 (10:43 -0300)
committerJoerg Roedel <jroedel@suse.de>
Mon, 25 Sep 2023 09:41:01 +0000 (11:41 +0200)
commit786478a90294ea5b149ed1156a43e82d63ea61ff
tree9b630b15f3c10d45900578b81a731fee30be4e85
parent24b1d476167df3e30c7a53b67765bf3c787c5160
iommu/qcom_iommu: Add an IOMMU_IDENTITIY_DOMAIN

This brings back the ops->detach_dev() code that commit
1b932ceddd19 ("iommu: Remove detach_dev callbacks") deleted and turns it
into an IDENTITY domain.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/16-v8-81230027b2fa+9d-iommu_all_defdom_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm/arm-smmu/qcom_iommu.c