Description of problem: The Hygon DCU can not be controlled to reset. When passthrough a PCI device to the virtual machine via vfio-pci driver, the vfio-pci will reset the device, but this will cause the userspace VMM not to work when the PCI device is a Hygon DCU. In order to prevent this problem, a specific fixup driver is introduced to add flag PCI_DEV_FLAGS_NO_BUS_RESET to Hygon DCU devices and bypass the device reset. [Reference: https://bugzilla.openanolis.cn/show_bug.cgi?id=8574] Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3069