PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller [Linux 3.16.72]

This Linux kernel change "PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller" is included in the Linux 3.16.72 release. This change is authored by Andre Przywara <andre.przywara [at] arm.com> on Fri Apr 5 16:20:47 2019 +0100. The commit for this change in Linux stable tree is 1a850cc (patch) which is from upstream commit 9cde402. The same Linux upstream change may have been applied to various maintained Linux releases and you can find all Linux releases containing changes from upstream 9cde402.

PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller

commit 9cde402a59770a0669d895399c13407f63d7d209 upstream.

There is a Marvell 88SE9170 PCIe SATA controller I found on a board here.
Some quick testing with the ARM SMMU enabled reveals that it suffers from
the same requester ID mixup problems as the other Marvell chips listed

Add the PCI vendor/device ID to the list of chips which need the

Signed-off-by: Andre Przywara <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/pci/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index f5d1f51..57cc4e7 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -3514,6 +3514,8 @@ static void quirk_dma_func1_alias(struct pci_dev *dev)
 /* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c14 */
+            quirk_dma_func1_alias);
 /* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c47 + c57 */

Leave a Reply

Your email address will not be published. Required fields are marked *