summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/io-pgtable-dart.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2023-05-11 06:42:09 +0200
committerJoerg Roedel <jroedel@suse.de>2023-05-23 08:15:55 +0200
commitdfddd54dc77c4519ee3c94e7462b1c035c69a031 (patch)
tree66a1edc7cfdaafb2877e548b1288f96626bffcfa /drivers/iommu/io-pgtable-dart.c
parentiommu: Do iommu_group_create_direct_mappings() before attach (diff)
downloadlinux-dfddd54dc77c4519ee3c94e7462b1c035c69a031.tar.xz
linux-dfddd54dc77c4519ee3c94e7462b1c035c69a031.zip
iommu: Remove the assignment of group->domain during default domain alloc
group->domain should only be set once all the device's drivers have had their ops->attach_dev() called. iommu_group_alloc_default_domain() doesn't do this, so it shouldn't set the value. The previous patches organized things so that each caller of iommu_group_alloc_default_domain() follows up with calling __iommu_group_set_domain_internal() that does set the group->domain. Reviewed-by: Kevin Tian <kevin.tian@intel.com> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/11-v5-1b99ae392328+44574-iommu_err_unwind_jgg@nvidia.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/io-pgtable-dart.c')
0 files changed, 0 insertions, 0 deletions