diff mbox

PCI: Add function 1 DMA alias quirk for Lite-On/Plextor M6e/Marvell 88SS9183

Message ID 2496384.AM4JqWABTr@dabox
State Accepted
Headers show

Commit Message

Tim Sander Jan. 15, 2016, 12:30 p.m. UTC
Add function 1 DMA alias quirk for Lite-On/Plextor M6e/Marvell 88SS9183

Signed-off-by: Tim Sander <tim@krieglstein.org>
---
 drivers/pci/quirks.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Alex Williamson Jan. 15, 2016, 5:03 p.m. UTC | #1
On Fri, 2016-01-15 at 13:30 +0100, Tim Sander wrote:
> Add function 1 DMA alias quirk for Lite-On/Plextor M6e/Marvell
> 88SS9183
> 
> Signed-off-by: Tim Sander <tim@krieglstein.org>
> ---

Acked-by: Alex Williamson <alex.williamson@redhat.com>

>  drivers/pci/quirks.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> index 7e32730..40b1dfe 100644
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -3620,6 +3620,10 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TTI,
> 0x0642,
>  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_JMICRON,
>                          PCI_DEVICE_ID_JMICRON_JMB388_ESD,
>                          quirk_dma_func1_alias);
> +/* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c117 */
> +DECLARE_PCI_FIXUP_HEADER(0x1c28, /* Lite-On */
> +                        0x0122, /* Plextor M6E (Marvell 88SS9183)*/
> +                        quirk_dma_func1_alias);
>  
>  /*
>   * Some devices DMA with the wrong devfn, not just the wrong
> function.

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bjorn Helgaas Jan. 19, 2016, 8:37 p.m. UTC | #2
On Fri, Jan 15, 2016 at 01:30:58PM +0100, Tim Sander wrote:
> Add function 1 DMA alias quirk for Lite-On/Plextor M6e/Marvell 88SS9183
> 
> Signed-off-by: Tim Sander <tim@krieglstein.org>

Applied with Alex's ack to pci/iommu for v4.5, thanks!

> ---
>  drivers/pci/quirks.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> index 7e32730..40b1dfe 100644
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -3620,6 +3620,10 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TTI, 0x0642,
>  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_JMICRON,
>                          PCI_DEVICE_ID_JMICRON_JMB388_ESD,
>                          quirk_dma_func1_alias);
> +/* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c117 */
> +DECLARE_PCI_FIXUP_HEADER(0x1c28, /* Lite-On */
> +                        0x0122, /* Plextor M6E (Marvell 88SS9183)*/
> +                        quirk_dma_func1_alias);
>  
>  /*
>   * Some devices DMA with the wrong devfn, not just the wrong function.
> -- 
> 1.9.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 7e32730..40b1dfe 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -3620,6 +3620,10 @@  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TTI, 0x0642,
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_JMICRON,
                         PCI_DEVICE_ID_JMICRON_JMB388_ESD,
                         quirk_dma_func1_alias);
+/* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c117 */
+DECLARE_PCI_FIXUP_HEADER(0x1c28, /* Lite-On */
+                        0x0122, /* Plextor M6E (Marvell 88SS9183)*/
+                        quirk_dma_func1_alias);
 
 /*
  * Some devices DMA with the wrong devfn, not just the wrong function.