iommu/amd: Fix ACS path checking
authorAlex Williamson <alex.williamson@redhat.com>
Sat, 4 Aug 2012 18:09:03 +0000 (12:09 -0600)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 6 Aug 2012 16:10:04 +0000 (18:10 +0200)
commit31fe943599b7e5870edb9decb7fbb9538b218f26
tree1119d2e2c2fe1cd7fa6911f6945611b0f7d34d7b
parenta4ff1fc2ccbd81e83ac51ea44570caa361c666af
iommu/amd: Fix ACS path checking

SR-IOV can create buses without a bridge.  There may be other cases
where this happens as well.  In these cases skip to the parent bus
and continue testing devices there.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu.c