Bug 1676 - SIOV - Guest Kernel dmatest failed using DSA PF passthrough with scalable mode vIOMMU
Summary: SIOV - Guest Kernel dmatest failed using DSA PF passthrough with scalable mod...
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: virt (show other bugs) virt
Version: 5.10.y-11
Hardware: x86_64 Linux
: P3-Medium S2-major
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-15 10:27 UTC by Fengqian
Modified: 2023-01-17 10:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fengqian intel_group 2022-07-15 10:27:46 UTC
Description of problem:
dmatest in guest VM report error using DSA PF passthrough with scalable mode vIOMMU 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Boot VM with DSA PF passthrough with scalable mode vIOMMU.
2. Config DSA device with dedicated mode in guest.
3. Run dmatest

Actual results:
[   21.096853] dmatest: Added 1 threads using dma0chan0
[   21.096865] dmatest: Started 1 threads using dma0chan0
[   23.107847] dmatest: dma0chan0-copy0: result #1: 'test timed out' with src_off=0x43c dst_off=0x309 len=0x354d (0)

Expected results:


Additional info:
Some error message in guest dmesg:
[    3.361936] idxd 0000:00:04.0: iommu_enable_pasid_dma: PASID 1
[    3.362068] DMAR: VT-d detected invalid descriptor: qw0 = 100060017, qw1 = 0
[    3.362082] DMAR: DRHD: handling fault status reg 10
Comment 1 maqiao alibaba_cloud_group 2023-01-17 10:20:26 UTC
merged: https://gitee.com/anolis/cloud-kernel/pulls/524