From: Alex Williamson Date: Fri, 19 Sep 2014 16:03:13 +0000 (-0600) Subject: iommu/amd: Split init_iommu_group() from iommu_init_device() X-Git-Tag: fixes-against-v3.18-rc2~67^2^7~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25b11ce2a3607d7c39a2ca121eea0c67c722b34e;p=pandora-kernel.git iommu/amd: Split init_iommu_group() from iommu_init_device() For a PCI device, aliases from the IVRS table won't be populated into dma_alias_devfn until after iommu_init_device() is called on each device. We therefore want to split init_iommu_group() to be called from a separate loop immediately following. Signed-off-by: Alex Williamson Cc: stable@vger.kernel.org # 3.17 Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed