<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Greetings,</p>
<p>[linux-next] [6.6.0-rc3-next-20230929] [git bisect ->
2ad56efa80dba89162106c06ebc00b611325e584]WARNING: CPU: 0 PID: 8 at
arch/powerpc/kernel/<a class="moz-txt-link-freetext" href="iommu.c:407">iommu.c:407</a> __iommu_free+0x1e4/0x1f0</p>
<p>--- Traces ---</p>
<p>[ 62.578338] WARNING: CPU: 0 PID: 8 at
arch/powerpc/kernel/<a class="moz-txt-link-freetext" href="iommu.c:407">iommu.c:407</a> __iommu_free+0x1e4/0x1f0<br>
[ 62.578345] Modules linked in: sd_mod t10_pi crc64_rocksoft
crc64 sg ibmvfc mlx5_core(+) scsi_transport_fc ibmveth mlxfw
psample dm_multipath dm_mirror dm_region_hash dm_log dm_mod fuse<br>
[ 62.578362] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted
6.6.0-rc3-next-20230929-auto #1<br>
[ 62.578366] Hardware name: IBM,9080-HEX POWER10 (raw) 0x800200
0xf000006 <a class="moz-txt-link-freetext" href="of:IBM,FW1030.30">of:IBM,FW1030.30</a> (NH1030_062) <a class="moz-txt-link-freetext" href="hv:phyp">hv:phyp</a> pSeries<br>
[ 62.578369] Workqueue: events work_for_cpu_fn<br>
[ 62.578374] NIP: c00000000005f6d4 LR: c00000000005f6d0 CTR:
00000000005ca81c<br>
[ 62.578377] REGS: c000000003a27890 TRAP: 0700 Not tainted
(6.6.0-rc3-next-20230929-auto)<br>
[ 62.578381] MSR: 800000000282b033
<SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE> CR: 48000824 XER:
00000008<br>
[ 62.578391] CFAR: c00000000020f738 IRQMASK: 0 <br>
[ 62.578391] GPR00: c00000000005f6d0 c000000003a27b30
c000000001481800 0000000000000017 <br>
[ 62.578391] GPR04: 00000000ffff7fff c000000003a27950
c000000003a27948 0000000000000027 <br>
[ 62.578391] GPR08: c000000c18c07c10 0000000000000001
0000000000000027 c000000002ac8a08 <br>
[ 62.578391] GPR12: 0000000000000000 c000000002ff0000
c00000000019cc88 c000000003042300 <br>
[ 62.578391] GPR16: 0000000000000000 0000000000000000
0000000000000000 c000000003071ab0 <br>
[ 62.578391] GPR20: c00000000349f80d c000000003215440
c000000003215480 61c8864680b583eb <br>
[ 62.578391] GPR24: 0000000000000000 000000007fffffff
0800000020000000 0000000000000010 <br>
[ 62.578391] GPR28: 0000000000020000 0000800000020000
c00000000c5dc800 c00000000c5dc880 <br>
[ 62.578428] NIP [c00000000005f6d4] __iommu_free+0x1e4/0x1f0<br>
[ 62.578432] LR [c00000000005f6d0] __iommu_free+0x1e0/0x1f0<br>
[ 62.578435] Call Trace:<br>
[ 62.578437] [c000000003a27b30] [c00000000005f6d0]
__iommu_free+0x1e0/0x1f0 (unreliable)<br>
[ 62.578442] [c000000003a27bc0] [c00000000005f848]
iommu_free+0x28/0x70<br>
[ 62.578446] [c000000003a27bf0] [c000000000061518]
iommu_free_coherent+0x68/0xa0<br>
[ 62.578450] [c000000003a27c20] [c00000000005e8d4]
dma_iommu_free_coherent+0x24/0x40<br>
[ 62.578455] [c000000003a27c40] [c00000000024698c]
dma_free_attrs+0x10c/0x140<br>
[ 62.578459] [c000000003a27c90] [c008000000dcb8d4]
mlx5_cmd_cleanup+0x5c/0x90 [mlx5_core]<br>
[ 62.578512] [c000000003a27cc0] [c008000000dc45a0]
mlx5_mdev_uninit+0xc8/0x100 [mlx5_core]<br>
[ 62.578558] [c000000003a27d00] [c008000000dc4ac4]
probe_one+0x3ec/0x530 [mlx5_core]<br>
[ 62.578602] [c000000003a27d90] [c0000000008c5edc]
local_pci_probe+0x6c/0x110<br>
[ 62.578607] [c000000003a27e10] [c000000000189c98]
work_for_cpu_fn+0x38/0x60<br>
[ 62.578612] [c000000003a27e40] [c00000000018d1d0]
process_scheduled_works+0x230/0x4f0<br>
[ 62.578616] [c000000003a27f10] [c00000000018ff14]
worker_thread+0x1e4/0x500<br>
[ 62.578619] [c000000003a27f90] [c00000000019cdb8]
kthread+0x138/0x140<br>
[ 62.578624] [c000000003a27fe0] [c00000000000df98]
start_kernel_thread+0x14/0x18<br>
[ 62.578628] Code: 481b004d 60000000 e89e0028 3c62ffe0 3863dd20
481b0039 60000000 e89e0038 3c62ffe0 3863dd38 481b0025 60000000
<0fe00000> 4bffff20 60000000 3c4c0142 <br>
[ 62.578640] ---[ end trace 0000000000000000 ]---<br>
[ 62.578646] iommu_free: invalid entry<br>
[ 62.578649] entry = 0x8000000203d0<br>
[ 62.578650] dma_addr = 0x8000000203d0000<br>
[ 62.578652] Table = 0xc00000000c5dc800<br>
[ 62.578654] bus# = 0x1<br>
[ 62.578655] size = 0x20000<br>
[ 62.578657] startOff = 0x800000000000<br>
[ 62.578658] index = 0x70200016<br>
[ 62.578660] ------------[ cut here ]------------<br>
<br class="Apple-interchange-newline">
</p>
<p>gitbisect is pointing to the below commit</p>
<p>commit 2ad56efa80dba89162106c06ebc00b611325e584<br>
Author: Jason Gunthorpe <a class="moz-txt-link-rfc2396E" href="mailto:jgg@nvidia.com"><jgg@nvidia.com></a><br>
Date: Wed Sep 13 10:43:36 2023 -0300<br>
<br>
powerpc/iommu: Setup a default domain and remove
set_platform_dma_ops<br>
<br>
</p>
<p></p>
<pre class="moz-signature" cols="72">--
Regards,
Tasmiya Nalatwad
IBM Linux Technology Center</pre>
</body>
</html>