]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
PCI: Set Cavium ACS capability quirk flags to assert RR/CR/SV/UF
authorVadim Lomovtsev <Vadim.Lomovtsev@cavium.com>
Tue, 17 Oct 2017 12:47:38 +0000 (05:47 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Oct 2017 09:59:53 +0000 (04:59 -0500)
commit7f342678634f16795892677204366e835e450dda
tree842b44e63982ace3ab8a7c92d6a88cae22844ccc
parentff26449e415a5601c8bb5b67ac4ae801f7165696
PCI: Set Cavium ACS capability quirk flags to assert RR/CR/SV/UF

The Cavium ThunderX (CN8XXX) family of PCIe Root Ports does not advertise
an ACS capability.  However, the RTL internally implements similar
protection as if ACS had Request Redirection, Completion Redirection,
Source Validation, and Upstream Forwarding features enabled.

Change Cavium ACS capabilities quirk flags accordingly.

Fixes: b404bcfbf035 ("PCI: Add ACS quirk for all Cavium devices")
Signed-off-by: Vadim Lomovtsev <Vadim.Lomovtsev@cavium.com>
[bhelgaas: tidy changelog, comment, stable tag]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org # v4.6+: b77d537d00d0: PCI: Apply Cavium ACS quirk only to CN81xx/CN83xx/CN88xx devices
drivers/pci/quirks.c