diff options
author | Jason Gunthorpe <[email protected]> | 2023-05-11 01:42:09 -0300 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-05-23 08:15:55 +0200 |
commit | dfddd54dc77c4519ee3c94e7462b1c035c69a031 (patch) | |
tree | 66a1edc7cfdaafb2877e548b1288f96626bffcfa /drivers/misc/pci_endpoint_test.c | |
parent | 152431e4fe7f1aac8aa6cc57bfe58d2d2596be4d (diff) |
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 <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Tested-by: Niklas Schnelle <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions