[bug report] IOMMU reports data translation fault for fio testing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

My colleague Yihang Li noticed this issue when testing throughput for hisi SAS arm64 controller on v5.18-rc6:

estuary:/$ bash ./create_fio_task.sh 4k read 128 1
test2  4k
my_runtime 1500
Creat 4k_read_depth128_fiotest file successfully
job1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128
job1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128
job1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128
job1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128
job1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128
job1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128
job1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128
job1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128
job1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128
job1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=128
fio-2.2.10
Starting 10 processes
N[ 304.798377] arm-smmu-v3 arm-smmu-v3.3.auto: event 0x10 received:iops] [eta 23m:39s]
O[  304.804431] arm-smmu-v3 arm-smmu-v3.3.auto:         0x0000741000000010
T[  304.810404] arm-smmu-v3 arm-smmu-v3.3.auto:         0x000012000000007a
I[  304.816379] arm-smmu-v3 arm-smmu-v3.3.auto:         0x00000000abff6000
C[  304.822354] arm-smmu-v3 arm-smmu-v3.3.auto:         0x00000000abff6000
E[  304.828330] arm-smmu-v3 arm-smmu-v3.3.auto: event 0x10 received:
:[  304.834392] arm-smmu-v3 arm-smmu-v3.3.auto:         0x0000741000000010
[  304.840368] arm-smmu-v3 arm-smmu-v3.3.auto:         0x0000120000000058
[  304.846344] arm-smmu-v3 arm-smmu-v3.3.auto:         0x00000000abff6100
R[  304.852320] arm-smmu-v3 arm-smmu-v3.3.auto:         0x00000000abff6000
a[  304.858297] arm-smmu-v3 arm-smmu-v3.3.auto: event 0x10 received:
s[  304.864361] arm-smmu-v3 arm-smmu-v3.3.auto:         0x0000741000000010
I[  304.870337] arm-smmu-v3 arm-smmu-v3.3.auto:         0x000012000000004a
n[  304.876313] arm-smmu-v3 arm-smmu-v3.3.auto:         0x00000000abff62c0
t[  304.882289] arm-smmu-v3 arm-smmu-v3.3.auto:         0x00000000abff6000

Event 0x10 is a translation fault, meaning the DMA mapping is prob misconfigured.

I don't think it's an IOMMU issue as I tested that separately with a DMA mapping benchmark driver.

I'm told v5.17-rc7 does not have the issue. Any idea on the possible cause or if there is a fix in waiting? It could be an issue with the SCSI hba driver.

I'll bisect in the meantime.

thanks,
John



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux