PCI: Add ACS quirk for Zhaoxin multi-function devices
authorRaymond Pang <RaymondPang-oc@zhaoxin.com>
Fri, 27 Mar 2020 09:11:47 +0000 (17:11 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 May 2020 06:50:50 +0000 (08:50 +0200)
commit1db302420b7f63b98edea7f90ca5a9cd1ee64cb0
treec4c7ab29ab6a053907ec40d1a6295b4088ecbe21
parentf7505d3113423a1b90c24aa3dea05f1b58be1d59
PCI: Add ACS quirk for Zhaoxin multi-function devices

commit 0325837c51cb7c9a5bd3e354ac0c0cda0667d50e upstream.

Some Zhaoxin endpoints are implemented as multi-function devices without an
ACS capability, but they actually don't support peer-to-peer transactions.
Add ACS quirks to declare DMA isolation.

Link: https://lore.kernel.org/r/20200327091148.5190-3-RaymondPang-oc@zhaoxin.com
Signed-off-by: Raymond Pang <RaymondPang-oc@zhaoxin.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/quirks.c