media: cx23885: reset DMA on AMD Renior/Cezanne IOMMU due to RiSC engine stall
authorDaniel Lee Kruse <daniel.lee.kruse@proton.me>
Fri, 19 Aug 2022 03:59:18 +0000 (05:59 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 30 Aug 2022 05:35:21 +0000 (07:35 +0200)
MythTv is unable to scan channels with APUs with the Renior IOMMU
that is also contained in the Cezanne line of APUs.  This issue
was discovered on the 5.15 version the kernel.  This patch adds
the IOMMU PCI ID to the broken_dev_id array.

This patch was developed with 5.19 of the media_tree repo.

[hverkuil: cleaned up the commit log a bit]

Signed-off-by: Daniel Lee Kruse <daniel.lee.kruse@proton.me>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/pci/cx23885/cx23885-core.c

index a07b18f..9232a96 100644 (file)
@@ -2086,6 +2086,9 @@ static struct {
        /* 0x1419 is the PCI ID for the IOMMU found on 15h (Models 10h-1fh) family
         */
        { PCI_VENDOR_ID_AMD, 0x1419 },
+       /* 0x1631 is the PCI ID for the IOMMU found on Renoir/Cezanne
+        */
+       { PCI_VENDOR_ID_AMD, 0x1631 },
        /* 0x5a23 is the PCI ID for the IOMMU found on RD890S/RD990
         */
        { PCI_VENDOR_ID_ATI, 0x5a23 },