gnif / vendor-reset

Linux kernel vendor specific hardware reset module for sequences that are too complex/complicated to land in pci_quirks.c
GNU General Public License v2.0
764 stars 65 forks source link

Navi 14 - Radeon Pro W5500 Support ? #55

Open ph-Os opened 2 years ago

ph-Os commented 2 years ago

Hi,

I see that there is some Navi 14 devices supported, but not the Radeon Pro W5500. I wonder if it is not listed as "not tested", or is this reset specific for each card, meaning it will not work for sure and you should not bother trying ?

Many thanks in advance !

lae commented 2 years ago

It may just not be listed as "not tested". I use a Radeon Pro WX3200 and it seems to get reset by this project as a Polaris 12 card.

[   38.785863] vfio-pci 0000:2e:00.0: AMD_POLARIS12: version 1.1
[   38.792389] vfio-pci 0000:2e:00.0: AMD_POLARIS12: performing pre-reset
[   38.825819] vfio-pci 0000:2e:00.0: AMD_POLARIS12: performing reset
[   38.832546] vfio-pci 0000:2e:00.0: AMD_POLARIS12: CLOCK_CNTL: 0x0, PC: 0x27a0
[   38.840214] vfio-pci 0000:2e:00.0: AMD_POLARIS12: performing post-reset
[   38.885908] vfio-pci 0000:2e:00.0: AMD_POLARIS12: reset result = 0
[   50.205638] vfio-pci 0000:2e:00.0: enabling device (0400 -> 0403)
[   50.211967] vfio-pci 0000:2e:00.0: AMD_POLARIS12: version 1.1
[   50.217720] vfio-pci 0000:2e:00.0: AMD_POLARIS12: performing pre-reset
[   50.241685] vfio-pci 0000:2e:00.0: AMD_POLARIS12: performing reset
[   50.247872] vfio-pci 0000:2e:00.0: AMD_POLARIS12: CLOCK_CNTL: 0x0, PC: 0x27a0
[   50.255008] vfio-pci 0000:2e:00.0: AMD_POLARIS12: performing post-reset
[   50.302071] vfio-pci 0000:2e:00.0: AMD_POLARIS12: reset result = 0
[   50.337398] vfio-pci 0000:2e:00.0: vfio_ecap_init: hiding ecap 0x19@0x270
[   50.345831] vfio-pci 0000:2e:00.0: vfio_ecap_init: hiding ecap 0x1b@0x2d0
[   50.353891] vfio-pci 0000:2e:00.0: vfio_ecap_init: hiding ecap 0x1e@0x370
[   51.950042] vfio-pci 0000:2e:00.0: AMD_POLARIS12: version 1.1
[   51.955828] vfio-pci 0000:2e:00.0: AMD_POLARIS12: performing pre-reset
[   51.962844] vfio-pci 0000:2e:00.0: AMD_POLARIS12: performing reset
[   51.969046] vfio-pci 0000:2e:00.0: AMD_POLARIS12: CLOCK_CNTL: 0x0, PC: 0x27ac
[   51.976199] vfio-pci 0000:2e:00.0: AMD_POLARIS12: performing post-reset
[   52.021821] vfio-pci 0000:2e:00.0: AMD_POLARIS12: reset result = 0