media: cx23885: add more quirks for reset DMA on some AMD IOMMU
authorBrad Love <brad@nextdimension.cc>
Tue, 26 Jan 2021 04:52:05 +0000 (05:52 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Mar 2021 10:59:45 +0000 (11:59 +0100)
The folowing AMD IOMMU are affected by the RiSC engine stall, requiring a
reset to maintain continual operation. After being added to the
broken_dev_id list the systems are functional long term.

0x1481 is the PCI ID for the IOMMU found on Starship/Matisse

0x1419 is the PCI ID for the IOMMU found on 15h (Models 10h-1fh) family

0x5a23 is the PCI ID for the IOMMU found on RD890S/RD990

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/cx23885/cx23885-core.c

index 22f55a7..d0ca260 100644 (file)
@@ -2077,6 +2077,15 @@ static struct {
         * 0x1423 is the PCI ID for the IOMMU found on Kaveri
         */
        { PCI_VENDOR_ID_AMD, 0x1423 },
+       /* 0x1481 is the PCI ID for the IOMMU found on Starship/Matisse
+        */
+       { PCI_VENDOR_ID_AMD, 0x1481 },
+       /* 0x1419 is the PCI ID for the IOMMU found on 15h (Models 10h-1fh) family
+        */
+       { PCI_VENDOR_ID_AMD, 0x1419 },
+       /* 0x5a23 is the PCI ID for the IOMMU found on RD890S/RD990
+        */
+       { PCI_VENDOR_ID_ATI, 0x5a23 },
 };
 
 static bool cx23885_does_need_dma_reset(void)