Message ID | YZPA+gSsGWI6+xBP@work (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Bjorn Helgaas |
Headers | show |
Series | [v2] PCI: Add func1 DMA quirk for Marvell 88SE9125 SATA controller | expand |
Hi, Thank you for sending the patch over to fix this! > Like other SATA controller chips in the Marvell 88SE91xx series, the > Marvell 88SE9125 has the same DMA requester ID hardware bug that prevents > it from working under IOMMU. This patch adds its device ID 0x9125 to the > Function 1 DMA alias quirk list. [...] > Reported-by: sbingner <sam@bingner.com> > Tested-by: sbingner <sam@bingner.com> Both of these tags would require a proper full name, if possible, rather than a name that is abbreviated and/or a username. Reviewed-by: Krzysztof Wilczyński <kw@liunx.com> Krzysztof
On Tue, Nov 16, 2021 at 04:49:54PM +0100, Krzysztof Wilczyński wrote: > > Reported-by: sbingner <sam@bingner.com> > > Tested-by: sbingner <sam@bingner.com> > > Both of these tags would require a proper full name, if possible, rather > than a name that is abbreviated and/or a username. > > Reviewed-by: Krzysztof Wilczyński <kw@liunx.com> > > Krzysztof No problem, I'll send a revision to correct the tags immediately. Cheers, Yifeng Li
Hi, > On Tue, Nov 16, 2021 at 04:49:54PM +0100, Krzysztof Wilczyński wrote: > > > Reported-by: sbingner <sam@bingner.com> > > > Tested-by: sbingner <sam@bingner.com> > > > > Both of these tags would require a proper full name, if possible, rather > > than a name that is abbreviated and/or a username. > > > > Reviewed-by: Krzysztof Wilczyński <kw@liunx.com> > > > > Krzysztof > > No problem, I'll send a revision to correct the tags immediately. No worries! Thank you! Krzysztof
On Tue, Nov 16, 2021 at 02:32:26PM +0000, Yifeng Li wrote: > Like other SATA controller chips in the Marvell 88SE91xx series, the > Marvell 88SE9125 has the same DMA requester ID hardware bug that prevents > it from working under IOMMU. This patch adds its device ID 0x9125 to the > Function 1 DMA alias quirk list. Btw, do we need to prevent vfio assignment for all devices with this quirk?
On Wed, 17 Nov 2021 02:12:04 -0800 Christoph Hellwig <hch@infradead.org> wrote: > On Tue, Nov 16, 2021 at 02:32:26PM +0000, Yifeng Li wrote: > > Like other SATA controller chips in the Marvell 88SE91xx series, the > > Marvell 88SE9125 has the same DMA requester ID hardware bug that prevents > > it from working under IOMMU. This patch adds its device ID 0x9125 to the > > Function 1 DMA alias quirk list. > > Btw, do we need to prevent vfio assignment for all devices with this > quirk? No, the alias is taken into account with grouping and IOMMU programming, it should work with vfio. Thanks, Alex
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 003950c73..20a932690 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -4103,6 +4103,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9120, quirk_dma_func1_alias); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9123, quirk_dma_func1_alias); +/* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c136 */ +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9125, + quirk_dma_func1_alias); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9128, quirk_dma_func1_alias); /* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c14 */