]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/pci/quirks.c
PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432
authorSinan Kaya <okaya@codeaurora.org>
Thu, 16 Feb 2017 22:01:45 +0000 (17:01 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Feb 2017 20:00:33 +0000 (14:00 -0600)
commit33be632b8443b6ac74aa293504f430604fb9abeb
treec77f634fffe435139df1119fcd599252bc4bf1fa
parent5b0948dfe138f0837699f46f5877f4f81c252dac
PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432

The Qualcomm QDF2xxx root ports don't advertise an ACS capability, but they
do provide ACS-like features to disable peer transactions and validate bus
numbers in requests.

To be specific:
* Hardware supports source validation but it will report the issue as
Completer Abort instead of ACS Violation.

* Hardware doesn't support peer-to-peer and each root port is a root
complex with unique segment numbers.

* It is not possible for one root port to pass traffic to the other root
port.  All PCIe transactions are terminated inside the root port.

Add an ACS quirk for the QDF2400 and QDF2432 products.

[bhelgaas: changelog]
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
drivers/pci/quirks.c