commit | 6dd8025006021f9342207d1d910d55f63ad7fb00 | [log] [tgz] |
---|---|---|
author | Patrick Daly <pdaly@codeaurora.org> | Mon Apr 17 20:41:59 2017 -0700 |
committer | Patrick Daly <pdaly@codeaurora.org> | Mon May 08 20:11:00 2017 -0700 |
tree | 64214fdbc173df038725345c88014b57c66ac196 | |
parent | ad9df1f9e7d973543107536456cbb0267f48715c [diff] |
iommu: iommu-debug: Use iommu_attach_group instead Multiple device may be in the same iommu group. In this case iommu_attach_group must be used instead of iommu_attach_device. Additionally, check for any existing domains for the group prior to attaching a new domain, since overwriting an existing domain may cause an iommu fault. Change-Id: I4e042ae0a1fe927e8f12f999c1393b5f0526cf4d Signed-off-by: Patrick Daly <pdaly@codeaurora.org>