Skip to content

Fix ACS path checking

Alex Williamson linux-iommu linux-pci lkml 1 version Applied

Status from this message: Applied these two patches together with my ACS fix to iommu/fixes,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2intel-iommu: Fix ACS path checkingdrivers/iommu/intel-iommu.c+22 -31 reply
2/2amd-iommu: Fix ACS path checkingdrivers/iommu/amd_iommu.c+22 -30 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchDavid AhernAlex Williamson
SeriesT-b
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix ACS path checking

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 the root bus.

This works on my system, but still needs to be tested by David. I'd like to get this in for 3.6-rc2.

Joerg, I notice that ACS isn't getting enabled on my AMD system on 3.6-rc1. I'll investigate more, but mention it in case you get to it first. Thanks,

Alex

---

Alex Williamson (2):
amd-iommu: Fix ACS path checking
intel-iommu: Fix ACS path checking

 drivers/iommu/amd_iommu.c   |   25 ++++++++++++++++++++++---
 drivers/iommu/intel-iommu.c |   25 ++++++++++++++++++++++---
 2 files changed, 44 insertions(+), 6 deletions(-)