From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hiroshi Doyu Subject: Re: [PATCHv3 14/19] iommu/tegra: smmu: Get "nvidia,memory-clients" from DT Date: Fri, 1 Nov 2013 09:46:47 +0200 Message-ID: <20131101094647.440857f48f94daabde1ef1f2@nvidia.com> References: <1382092020-13170-1-git-send-email-hdoyu@nvidia.com> <1382092020-13170-15-git-send-email-hdoyu@nvidia.com> <52718BB4.4090007@wwwdotorg.org> <20131031.101808.1830527808656695540.hdoyu@nvidia.com> <20131031174028.GF3037@kartoffel> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131031174028.GF3037@kartoffel> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mark Rutland Cc: "swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org" , "joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org" , Stephen Warren , "grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , "rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org" , "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Will Deacon List-Id: devicetree@vger.kernel.org On Thu, 31 Oct 2013 18:40:29 +0100 Mark Rutland wrote: > For the ARM SMMU binding, each device has a #stream-id-cells property > describing how many IDs it has, and then the SMMU node has a phandle+args > linkage to each of the devices attached to it, describing their stream IDs. > While this does have some limitations (a device can't be plugged into multiple > SMMUs with a different number of IDs), it seems generally sane. I may guess that the concept of "iommu domain" can hold the nested IOMMU in an unified way?