Other Parts Discussed in Thread: XIO2000A
Hi,
We are having C6674 based custom PCIe board. We are trying to use the device in Linux KVM/Qemu virtual machine. So on the host Linux machine, there are vfio kernel modules. When virtual machine is started vfio calls Linux kernel pci_try_reset_bus (kernel.org) to do bus reset. At this point device disappears. Lspci on the host shows:
# lspci -v -s 11:00.0
11:00.0 Multimedia controller: Texas Instruments Device b005 (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
PCI config space looks to be just 0xffff ffff.
If “quirk” is added to Linux kernel drivers/pci/quirk.c to prevent bus reset
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TI, 0xb005, quirk_no_bus_reset);
Device shows up in the virtual machine and can be accessed.
Should C6674 support bus reset over PCIe? Or any idea what might be wrong?
Br, Antti