diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2023-09-13 16:43:52 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-09-25 12:41:02 +0300 |
commit | 5b167dea64a3fb72907e33f30211d4a5711076f1 (patch) | |
tree | 7d6ab27a065cf3738f3b2b1ce62adb77c7ae2ec1 /init | |
parent | b01b12573837f237cec13b9ddf8e5e623ee6f981 (diff) | |
download | linux-5b167dea64a3fb72907e33f30211d4a5711076f1.tar.xz |
iommu/sun50i: Add an IOMMU_IDENTITIY_DOMAIN
Prior to commit 1b932ceddd19 ("iommu: Remove detach_dev callbacks") the
sun50i_iommu_detach_device() function was being called by
ops->detach_dev().
This is an IDENTITY domain so convert sun50i_iommu_detach_device() into
sun50i_iommu_identity_attach() and a full IDENTITY domain and thus hook it
back up the same was as the old ops->detach_dev().
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/19-v8-81230027b2fa+9d-iommu_all_defdom_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions