commit | 65d5352f12e16dc9321b1e4f8213793565c124be | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Thu Jul 03 09:51:30 2014 -0600 |
committer | Joerg Roedel <jroedel@suse.de> | Fri Jul 04 12:35:58 2014 +0200 |
tree | 959786bc1c8f4a24a2a259e5362eafd08b596a61 | |
parent | c1931090a22b96b223f2a3b8420076f044da7531 [diff] |
iommu/amd: Use iommu_group_get_for_dev() The common iommu_group_get_for_dev() allows us to greatly simplify our group lookup for a new device. Also, since we insert IVRS aliases into the PCI DMA alias quirks, we should alway come up with the same results as the existing code. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Cc: Joerg Roedel <joro@8bytes.org> Signed-off-by: Joerg Roedel <jroedel@suse.de>