OSDN Git Service

iommu/iommu-debug: Only uniquify directory names for dynamic domains
authorMitchel Humpherys <mitchelh@codeaurora.org>
Wed, 26 Aug 2015 18:52:57 +0000 (11:52 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:06 +0000 (11:14 -0700)
commit95166863001eb12e8634cb9946ac805b5894fe21
treeadc82df1275266062180ee8d4d7cd05728f95abd
parent31cff0aa7f187d580cf6af267c50b0ffc0e64738
iommu/iommu-debug: Only uniquify directory names for dynamic domains

The subdirectories under "attach" currently get a UUID appended to their
name to ensure that there won't be any collisions when multiple domains
are attached to the same device.  This is only needed for dynamic
domains since those are the only types of domains that can be attached
to the same device concurrently.  Only do the uniquification for dynamic
domains since the resulting directory name is a bit messy with the UUID.

Change-Id: Ia86b192e5b9d6a63132228fa86549a2977ec74a4
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
drivers/iommu/iommu-debug.c