diff options
author | Thierry Reding <treding@nvidia.com> | 2015-01-23 11:49:25 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-05-04 13:54:23 +0300 |
commit | d1313e7896e932a92e21912850ef034e58571b66 (patch) | |
tree | 2a5dcedb4eb8c1a9e32c3769bf4c818c00fce89d /include/soc | |
parent | e660df07ab90f4f61ed743522067a8dbaa6fa567 (diff) | |
download | linux-d1313e7896e932a92e21912850ef034e58571b66.tar.xz |
iommu/tegra-smmu: Add debugfs support
Provide clients and swgroups files in debugfs. These files show for
which clients IOMMU translation is enabled and which ASID is associated
with each SWGROUP.
Cc: Hiroshi Doyu <hdoyu@nvidia.com>
Acked-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/soc')
-rw-r--r-- | include/soc/tegra/mc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/soc/tegra/mc.h b/include/soc/tegra/mc.h index b2548811e1d5..e5ba518aaece 100644 --- a/include/soc/tegra/mc.h +++ b/include/soc/tegra/mc.h @@ -72,6 +72,7 @@ struct tegra_smmu; struct tegra_smmu *tegra_smmu_probe(struct device *dev, const struct tegra_smmu_soc *soc, struct tegra_mc *mc); +void tegra_smmu_remove(struct tegra_smmu *smmu); #else static inline struct tegra_smmu * tegra_smmu_probe(struct device *dev, const struct tegra_smmu_soc *soc, @@ -79,6 +80,10 @@ tegra_smmu_probe(struct device *dev, const struct tegra_smmu_soc *soc, { return NULL; } + +static inline void tegra_smmu_remove(struct tegra_smmu *smmu) +{ +} #endif struct tegra_mc_soc { |