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

From: Bjorn Helgaas
Date: Tue Aug 14 2018 - 10:19:30 EST


On Mon, Aug 13, 2018 at 02:41:23PM -0500, Bjorn Helgaas wrote:
> 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.

I applied this to pci/virtualization for v4.19. Please let me know if you
see any issues.

> 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);