Bug 1704 - SIOV - Guest Kernel dmatest failed using DSA MDEV passthrough with scalable mode vIOMMU
Summary: SIOV - Guest Kernel dmatest failed using DSA MDEV passthrough with scalable m...
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-22 14:26 UTC by Fengqian
Modified: 2023-01-17 14:44 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-22 14:26:41 UTC
Description of problem:
dmatest in guest VM report timeout using DSA MDEV passthrough with scalable mode vIOMMU 


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


How reproducible:


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

Actual results:
[   35.259035] dmatest: Added 1 threads using dma0chan0
[   35.259073] dmatest: Started 1 threads using dma0chan0
[   37.280632] dmatest: dma0chan0-copy0: result #1: 'test timed out' with src_off=0xb04 dst_off=0x994 len=0x2584 (0)
[   39.300629] dmatest: dma0chan0-copy0: result #2: 'test timed out' with src_off=0x8fe dst_off=0xa06 len=0x15a9 (0)
[   41.316630] dmatest: dma0chan0-copy0: result #3: 'test timed out' with src_off=0x20a3 dst_off=0x27f len=0x1a1e (0)
[   43.332629] dmatest: dma0chan0-copy0: result #4: 'test timed out' with src_off=0x772 dst_off=0x261b len=0x9ea (0)
[   45.348629] dmatest: dma0chan0-copy0: result #5: 'test timed out' with src_off=0x15a9 dst_off=0x43 len=0x2228 (0)
[   47.364630] dmatest: dma0chan0-copy0: result #6: 'test timed out' with src_off=0x501 dst_off=0x5a9 len=0x3961 (0)
[   49.380630] dmatest: dma0chan0-copy0: result #7: 'test timed out' with src_off=0x1e4c dst_off=0x1286 len=0xa61 (0)
[   51.392633] dmatest: dma0chan0-copy0: result #8: 'test timed out' with src_off=0x1652 dst_off=0x6e len=0x1b64 (0)


Expected results:


Additional info:
Host dmesg:
[  345.088156] Unexpected page request in Privilege Mode
[  345.088263] idxd 0000:6a:01.0: err[0]: 0x0000110300001a6d
[  345.088266] idxd 0000:6a:01.0: err[1]: 0x0000000000000000
[  345.088267] idxd 0000:6a:01.0: err[2]: 0x00000000fffff000
[  345.088268] idxd 0000:6a:01.0: err[3]: 0x0000000000000000
[  345.088270] idxd 0000:6a:01.0: err[0]: 0x0000110300001a6c
[  345.088270] idxd 0000:6a:01.0: err[1]: 0x0000000000000000
[  345.088271] idxd 0000:6a:01.0: err[2]: 0x00000000fffff000
[  345.088272] idxd 0000:6a:01.0: err[3]: 0x0000000000000000
Comment 1 maqiao alibaba_cloud_group 2023-01-17 14:44:37 UTC
merged: https://gitee.com/anolis/cloud-kernel/pulls/562