projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f75aef3
)
iommu/tegra-smmu: Set IOMMU group name
author
Thierry Reding
<treding@nvidia.com>
Thu, 6 Aug 2020 15:54:02 +0000
(17:54 +0200)
committer
Joerg Roedel
<jroedel@suse.de>
Fri, 4 Sep 2020 09:00:14 +0000
(11:00 +0200)
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>
drivers/iommu/tegra-smmu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/tegra-smmu.c
b/drivers/iommu/tegra-smmu.c
index
124c884
..
1ffdafe
100644
(file)
--- a/
drivers/iommu/tegra-smmu.c
+++ b/
drivers/iommu/tegra-smmu.c
@@
-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);