[PATCHv7 12/12] iommu/tegra: smmu: add SMMU to an global iommu list

2013-12-12 Thread Hiroshi Doyu
This allows to inquire if SMMU is populated or not. Suggested by Thierry Reding and copied his example code. Signed-off-by: Hiroshi Doyu Cc: Thierry Reding --- v6: New for v6. Signed-off-by: Hiroshi Doyu --- drivers/iommu/tegra-smmu.c | 55 +- 1

[PATCHv7 12/12] iommu/tegra: smmu: add SMMU to an global iommu list

2013-12-12 Thread Hiroshi Doyu
This allows to inquire if SMMU is populated or not. Suggested by Thierry Reding and copied his example code. Signed-off-by: Hiroshi Doyu hd...@nvidia.com Cc: Thierry Reding thierry.red...@gmail.com --- v6: New for v6. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- drivers/iommu/tegra-smmu.c