commit | 25b11ce2a3607d7c39a2ca121eea0c67c722b34e | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Fri Sep 19 10:03:13 2014 -0600 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Sep 25 16:39:07 2014 +0200 |
tree | 82ad9200a08180f07e1751f1ac0d537aa27adc33 | |
parent | f096c061f5525d1b35a65b793057b52061dcb486 [diff] |
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 <alex.williamson@redhat.com> Cc: stable@vger.kernel.org # 3.17 Signed-off-by: Joerg Roedel <jroedel@suse.de>