[PATCH v7 11/12] iommu: Assign the direct mapped domain to group->domain

2016-11-24 Thread Baoquan He
In iommu_request_dm_for_dev(), devices of group have all been attached to newly created direct mapped domain. We should store the domain into group->domain so that it works for iommu_get_domain_for_dev() and get_domain(). Signed-off-by: Baoquan He --- drivers/iommu/iommu.c | 1

[PATCH v7 11/12] iommu: Assign the direct mapped domain to group->domain

2016-11-24 Thread Baoquan He
In iommu_request_dm_for_dev(), devices of group have all been attached to newly created direct mapped domain. We should store the domain into group->domain so that it works for iommu_get_domain_for_dev() and get_domain(). Signed-off-by: Baoquan He --- drivers/iommu/iommu.c | 1 + 1 file