iommu/intel: Fix ACS path checking
authorAlex Williamson <alex.williamson@redhat.com>
Sat, 4 Aug 2012 18:08:55 +0000 (12:08 -0600)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 6 Aug 2012 16:09:51 +0000 (18:09 +0200)
commita4ff1fc2ccbd81e83ac51ea44570caa361c666af
treead667523a59057c1b608ff8b41b372e9086f6736
parent1adb7d31b051cd97fbb75c46772b00c13ec29c9e
iommu/intel: 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>
Tested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/intel-iommu.c