mirror of https://gitee.com/openkylin/linux.git
iommu/tegra-smmu: Set IOMMU group name
Set the name of static IOMMU groups to help with debugging. Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20200806155404.3936074-2-thierry.reding@gmail.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
parent
f75aef392f
commit
002957020e
|
@ -847,6 +847,7 @@ static struct iommu_group *tegra_smmu_group_get(struct tegra_smmu *smmu,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
iommu_group_set_name(group->group, soc->name);
|
||||
list_add_tail(&group->list, &smmu->groups);
|
||||
mutex_unlock(&smmu->lock);
|
||||
|
||||
|
|
Loading…
Reference in New Issue