]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-3.18/pci-add-function-1-dma-alias-quirk-for-marvell-9170-sata-controller.patch
3.18-stable patches
[thirdparty/kernel/stable-queue.git] / queue-3.18 / pci-add-function-1-dma-alias-quirk-for-marvell-9170-sata-controller.patch
1 From 9cde402a59770a0669d895399c13407f63d7d209 Mon Sep 17 00:00:00 2001
2 From: Andre Przywara <andre.przywara@arm.com>
3 Date: Fri, 5 Apr 2019 16:20:47 +0100
4 Subject: PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller
5
6 From: Andre Przywara <andre.przywara@arm.com>
7
8 commit 9cde402a59770a0669d895399c13407f63d7d209 upstream.
9
10 There is a Marvell 88SE9170 PCIe SATA controller I found on a board here.
11 Some quick testing with the ARM SMMU enabled reveals that it suffers from
12 the same requester ID mixup problems as the other Marvell chips listed
13 already.
14
15 Add the PCI vendor/device ID to the list of chips which need the
16 workaround.
17
18 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
19 Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
20 CC: stable@vger.kernel.org
21 Signed-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 @@ -3565,6 +3565,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);