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
merged: https://gitee.com/anolis/cloud-kernel/pulls/524