Skip to content

Add parameter for disabling ACS redirection for P2P

Logan Gunthorpe linux-doc linux-pci lkml 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest4 patches 7 repliesIn review
  2. v74 patches 16 repliesSuperseded
  3. v64 patches 4 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v53 patches6 repliesSuperseded
v43 patches5 repliesSuperseded
v33 patches9 repliesSuperseded
v23 patches6 repliesSuperseded
v13 patches3 repliesSuperseded

Changes since v6 from the cover letter

* Fixed order of operations for device specific disable function as noticed by Alex
* Rebased onto v4.18-rc5 (no conflicts)

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PCI: Make specifying PCI devices in kernel parameters reusableDocumentation/admin-guide/kernel-parameters.txt drivers/pci/pci.c+126 -592 replies
2/4PCI: Allow specifying devices using a base bus and path of devfnsDocumentation/admin-guide/kernel-parameters.txt drivers/pci/pci.c+103 -220 replies
3/4PCI: Introduce disable_acs_redir quirkdrivers/pci/quirks.c include/linux/pci.h+71 -122 replies
4/4PCI: Introduce the disable_acs_redir parameterDocumentation/admin-guide/kernel-parameters.txt drivers/pci/pci.c+83 -20 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchStephen BatesChristian KönigAlex Williamson
1/4R-b A-b R-b
2/4R-b A-b R-b
3/4R-b
4/4R-b A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v8 thread

Cover letter [PATCH v8 0/4] Add parameter for disabling ACS redirection for P2P

Changes since v6:
* Fixed order of operations for device specific disable function as noticed by Alex
* Rebased onto v4.18-rc5 (no conflicts)

Changes since v5:
* Add a quirk to handle the Intel SPT PCH case (as pointed out by Alex)
* Warn in the case that we try to disable ACS redirect on a device that doesn't have the ACS capability (also suggested by Alex)
* Collect reviewed-by tag from Alex
* Rebased onto v4.18-rc4 (no conflicts)

Changes since v4:
* Fixed a couple documentation mistakes spotted by Randy

Changes since v3:
* Removed some of the cruft that was copied from the resource_alignment paramater (per Alex)
* A number of docuemntation fixes as noticed by Alex and Willy

Changes since v2:
* Rebased onto v4.18-rc1 (no conflicts)
* Minor tweaks to the documentation per Andy
* Removed the "path:" prefix and use the path parsing code for simple devices (as it works the same). Per a suggestion from Alex

Changes since v1:
* Reworked pci_dev_str_match_path using strrchr as suggested by Alex
* Collected Christian's Acks

Logan Gunthorpe (4):
PCI: Make specifying PCI devices in kernel parameters reusable
PCI: Allow specifying devices using a base bus and path of devfns
PCI: Introduce disable_acs_redir quirk
PCI: Introduce the disable_acs_redir parameter

 Documentation/admin-guide/kernel-parameters.txt |  41 +++-
 drivers/pci/pci.c                               | 310 +++++++++++++++++++-----
 drivers/pci/quirks.c                            |  78 +++++-
 include/linux/pci.h                             |   5 +
 4 files changed, 361 insertions(+), 73 deletions(-)

--
2.11.0