Skip to content

ACPI / PCI: Fix _PRT lookup for ARI enabled devices

Alex Williamson linux-acpi linux-pci lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: Move pci_ari_enabled() to global headerdrivers/pci/pci.h include/linux/pci.h+11 -110 replies
2/2ACPI / PCI: Account for ARI in _PRT lookupsdrivers/acpi/pci_irq.c+1 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBjorn Helgaas
SeriesA-b
1/2
2/2

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

Read the v2 thread

Cover letter [PATCH v2 0/2] ACPI / PCI: Fix _PRT lookup for ARI enabled devices

v2: don't modify entry->id.device

In most cases we only use ARI with SR-IOV VFs, which do not support INTx and therefore never hit this problem. However, some non-SR-IOV implementations create multiple PFs, extending beyond the standard 3-bit function numbers with ARI, and do support INTx for those additional functions. This can happen with Solarflare SFC9120 adapters. The host driver typically doesn't use INTx, so we also haven't noticed this problem on bare metal, but when we attempt to assign the device to a VM using vfio-pci, we fail trying to setup default INTx signaling. Thanks,

Alex

---

Alex Williamson (2):
PCI: Move pci_ari_enabled() to global header ACPI / PCI: Account for ARI in _PRT lookups

 drivers/acpi/pci_irq.c |    2 +-
 drivers/pci/pci.h      |   11 -----------
 include/linux/pci.h    |   11 +++++++++++
 3 files changed, 12 insertions(+), 12 deletions(-)