Bug 8574 - Support Hygon DCU passthrough to VMs
Summary: Support Hygon DCU passthrough to VMs
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-19 20:05 UTC by wojiaohanliyang
Modified: 2024-03-19 21:52 UTC (History)
3 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-03-19 20:05:03 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.

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-03-19 21:52:08 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2915