]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.19.35/pci-add-function-1-dma-alias-quirk-for-marvell-9170-sata-controller.patch
Linux 4.19.35
[thirdparty/kernel/stable-queue.git] / releases / 4.19.35 / pci-add-function-1-dma-alias-quirk-for-marvell-9170-sata-controller.patch
CommitLineData
d33cec38
GKH
1From 9cde402a59770a0669d895399c13407f63d7d209 Mon Sep 17 00:00:00 2001
2From: Andre Przywara <andre.przywara@arm.com>
3Date: Fri, 5 Apr 2019 16:20:47 +0100
4Subject: PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller
5
6From: Andre Przywara <andre.przywara@arm.com>
7
8commit 9cde402a59770a0669d895399c13407f63d7d209 upstream.
9
10There is a Marvell 88SE9170 PCIe SATA controller I found on a board here.
11Some quick testing with the ARM SMMU enabled reveals that it suffers from
12the same requester ID mixup problems as the other Marvell chips listed
13already.
14
15Add the PCI vendor/device ID to the list of chips which need the
16workaround.
17
18Signed-off-by: Andre Przywara <andre.przywara@arm.com>
19Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
20CC: stable@vger.kernel.org
21Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22
23---
24 drivers/pci/quirks.c | 2 ++
25 1 file changed, 2 insertions(+)
26
27--- a/drivers/pci/quirks.c
28+++ b/drivers/pci/quirks.c
29@@ -3852,6 +3852,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_M
30 /* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c14 */
31 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9130,
32 quirk_dma_func1_alias);
33+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9170,
34+ quirk_dma_func1_alias);
35 /* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c47 + c57 */
36 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9172,
37 quirk_dma_func1_alias);