PCI: Add function 1 DMA alias quirk for Marvell 88SS9183

From: Bjorn Helgaas
Date: Mon Aug 13 2018 - 15:41:27 EST


Hi,

Thanks a lot for your new report
(https://bugzilla.kernel.org/show_bug.cgi?id=42679#c134).

Can you confirm that the patch below is equivalent to what you tested and
it resolves the problem? If so, I'll try to include it for v4.19.


commit dd4e0ad485e12c9c04eb7a21ba69c24f12cb1918
Author: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
Date: Mon Aug 13 14:30:41 2018 -0500

PCI: Add function 1 DMA alias quirk for Marvell 88SS9183

Add function 1 DMA alias quirk for Marvell 88SS9183 PCIe SSD Controller.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=42679#c134
Reported-by: <f.bluethner@xxxxxxxxxxx>
Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index deb051583eda..6994544125ff 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -3845,6 +3845,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x917a,
/* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c78 */
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9182,
quirk_dma_func1_alias);
+/* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c134 */
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9183,
+ quirk_dma_func1_alias);
/* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c46 */
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x91a0,
quirk_dma_func1_alias);