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
---
drivers/iommu/amd_iommu.c | 25 ++---
1 file changed, 22 insert
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
---
drivers/iommu/intel-iommu.c | 25 ++---
1 file changed, 22 insertio
David Ahern reported an oops caused by passing a NULL start device
to pci_acs_path_enabled(). This can happen when a bus is created
for sr-iov devices without an associated bridge. To handle this,
skip over to the parent bus and look for a bridge there. Continue
until we find something or reach