From: Alex Williamson Date: Tue, 9 Oct 2012 04:50:00 +0000 (-0600) Subject: iommu/amd: Properly account for virtual aliases in IOMMU groups X-Git-Tag: v3.8-rc1~25^2^3~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78bfa9f395f6bbab168b83f69b99659818517b02;p=pandora-kernel.git iommu/amd: Properly account for virtual aliases in IOMMU groups An alias doesn't always point to a physical device. When this happens we must first verify that the IOMMU group isn't rooted in a device above the alias. In this case the alias is effectively just another quirk for the devices aliased to it. Alternatively, the virtual alias itself may be the root of the IOMMU group. To support this, allow a group to be hosted on the alias dev_data for use by anything that might have the same alias. Signed-off-by: Alex williamson Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed