Bug 8783 - Support Hygon DCU passthrough to VMs
Summary: Support Hygon DCU passthrough to VMs
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-18 11:03 UTC by wojiaohanliyang
Modified: 2024-04-18 12:56 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wojiaohanliyang hygon_group 2024-04-18 11:03:43 UTC
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:
Comment 1 小龙 admin 2024-04-18 12:56:26 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3069