]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add device-specific ACS Redirect disable infrastructure
authorLogan Gunthorpe <logang@deltatee.com>
Thu, 9 Aug 2018 21:51:43 +0000 (16:51 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 9 Aug 2018 22:48:28 +0000 (17:48 -0500)
commit3e516e5bf6abe9390e477dbe3cb81b8dad30cb48
tree5b258b2b7d70ce1ac59847ceec2d0f7013297a25
parentb56f53990765cfb0dd66b09205693c78c82f5d4c
PCI: Add device-specific ACS Redirect disable infrastructure

Intel Sunrise Point (SPT) PCH hardware has an implementation of the ACS
bits that does not comply with the PCIe standard.  To deal with this we
need device-specific quirks to disable ACS redirection.

Add a new pci_dev_specific_disable_acs_redir() quirk and a new
.disable_acs_redir() function pointer for use by non-compliant devices.  No
functional change intended.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
[bhelgaas: split to separate patch, move
pci_dev_specific_disable_acs_redir() declarations to drivers/pci/pci.h]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/quirks.c