From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 124A9E7B5F3 for ; Wed, 4 Oct 2023 11:31:47 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=LsmyVcb3; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4S0swK160vz3vm4 for ; Wed, 4 Oct 2023 22:31:45 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=LsmyVcb3; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.vnet.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=tasmiya@linux.vnet.ibm.com; receiver=lists.ozlabs.org) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4S0sNX0Kqbz2yVd for ; Wed, 4 Oct 2023 22:07:39 +1100 (AEDT) Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 394AvoeS025206; Wed, 4 Oct 2023 11:07:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=content-type : message-id : date : mime-version : to : cc : from : subject; s=pp1; bh=StMQPfo1wL2dd+twDh/JwyRrYU8EaQfI7Wnz9i9/mhs=; b=LsmyVcb38/KUTBtUQq/AfLMcEUPLXstbdhw1f3PCzaVLXCj0OyVenZBlNr1adH3+mLsV QHzSCdmKDEvvG1AMsQ6JpXkj+8f1kXTi08bPM3CUF78TH8zaM3zzMqiqe/Caphdxd05o UrsjrKBMVivX4jd/bt7VkxhixaIeTHmqqXA0BM/Qw0CJDKBxQsev/LHDiy7U5OSy6LY5 z0Nmr3LdRUQMyl5jOcSYoVcfVTYyf20yfWGyG3CccrTKTpz9NKVTW8bN9hatyaKVuiXN mqdSUDeB4RX5druMiZH4ha1MCQqWOKXNM8mWRZ0eyUu6O4LTLbdO/7p+z8x+wO4YU+lc 9g== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3th6rtr919-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Oct 2023 11:07:23 +0000 Received: from m0353727.ppops.net (m0353727.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 394AwGuc026007; Wed, 4 Oct 2023 11:07:22 GMT Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3th6rtr90b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Oct 2023 11:07:22 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 394AqhT3017629; Wed, 4 Oct 2023 11:07:21 GMT Received: from smtprelay06.wdc07v.mail.ibm.com ([172.16.1.73]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3tey0nbed0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Oct 2023 11:07:21 +0000 Received: from smtpav04.dal12v.mail.ibm.com (smtpav04.dal12v.mail.ibm.com [10.241.53.103]) by smtprelay06.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 394B7KY43342996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 Oct 2023 11:07:20 GMT Received: from smtpav04.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8E80A58321; Wed, 4 Oct 2023 11:07:20 +0000 (GMT) Received: from smtpav04.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AF51358314; Wed, 4 Oct 2023 11:07:12 +0000 (GMT) Received: from [9.171.38.44] (unknown [9.171.38.44]) by smtpav04.dal12v.mail.ibm.com (Postfix) with ESMTP; Wed, 4 Oct 2023 11:07:12 +0000 (GMT) Content-Type: multipart/alternative; boundary="------------960zXNR6FrCGPBFVDP9KYj2A" Message-ID: Date: Wed, 4 Oct 2023 16:37:10 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US To: linux-kernel@vger.kernel.org, linux-next@vger.kernel.org From: Tasmiya Nalatwad Subject: [Bisected] [commit 2ad56efa80dba89162106c06ebc00b611325e584] [linux-next] WARNING while booting to kernel 6.6.0-rc3-next-20230929 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: XK4gPelHw2ci0cQLV-z64YNQdjWeumCk X-Proofpoint-GUID: SKNW_H9CXxuILhqDUSGPnmoB-NmefiyC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-04_01,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1011 phishscore=0 suspectscore=0 malwarescore=0 impostorscore=0 mlxlogscore=748 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310040073 X-Mailman-Approved-At: Wed, 04 Oct 2023 22:28:01 +1100 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jroedel@suse.de, gbatra@linux.vnet.ibm.com, abdhalee@linux.vnet.ibm.com, ruscur@russell.cc, jsnitsel@redhat.com, npiggin@gmail.com, sachinp@linux.vnet.com, jgg@ziepe.ca, mputtash@linux.vnet.com, jgg@nvidia.com, gregkh@linuxfoundation.org, linuxppc-dev@lists.ozlabs.org, baolu.lu@linux.intel.com Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" This is a multi-part message in MIME format. --------------960zXNR6FrCGPBFVDP9KYj2A Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Greetings, [linux-next] [6.6.0-rc3-next-20230929] [git bisect -> 2ad56efa80dba89162106c06ebc00b611325e584]WARNING: CPU: 0 PID: 8 at arch/powerpc/kernel/iommu.c:407 __iommu_free+0x1e4/0x1f0 --- Traces --- [   62.578338] WARNING: CPU: 0 PID: 8 at arch/powerpc/kernel/iommu.c:407 __iommu_free+0x1e4/0x1f0 [   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 [   62.578362] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.6.0-rc3-next-20230929-auto #1 [   62.578366] Hardware name: IBM,9080-HEX POWER10 (raw) 0x800200 0xf000006 of:IBM,FW1030.30 (NH1030_062) hv:phyp pSeries [   62.578369] Workqueue: events work_for_cpu_fn [   62.578374] NIP:  c00000000005f6d4 LR: c00000000005f6d0 CTR: 00000000005ca81c [   62.578377] REGS: c000000003a27890 TRAP: 0700   Not tainted (6.6.0-rc3-next-20230929-auto) [   62.578381] MSR:  800000000282b033   CR: 48000824  XER: 00000008 [   62.578391] CFAR: c00000000020f738 IRQMASK: 0 [   62.578391] GPR00: c00000000005f6d0 c000000003a27b30 c000000001481800 0000000000000017 [   62.578391] GPR04: 00000000ffff7fff c000000003a27950 c000000003a27948 0000000000000027 [   62.578391] GPR08: c000000c18c07c10 0000000000000001 0000000000000027 c000000002ac8a08 [   62.578391] GPR12: 0000000000000000 c000000002ff0000 c00000000019cc88 c000000003042300 [   62.578391] GPR16: 0000000000000000 0000000000000000 0000000000000000 c000000003071ab0 [   62.578391] GPR20: c00000000349f80d c000000003215440 c000000003215480 61c8864680b583eb [   62.578391] GPR24: 0000000000000000 000000007fffffff 0800000020000000 0000000000000010 [   62.578391] GPR28: 0000000000020000 0000800000020000 c00000000c5dc800 c00000000c5dc880 [   62.578428] NIP [c00000000005f6d4] __iommu_free+0x1e4/0x1f0 [   62.578432] LR [c00000000005f6d0] __iommu_free+0x1e0/0x1f0 [   62.578435] Call Trace: [   62.578437] [c000000003a27b30] [c00000000005f6d0] __iommu_free+0x1e0/0x1f0 (unreliable) [   62.578442] [c000000003a27bc0] [c00000000005f848] iommu_free+0x28/0x70 [   62.578446] [c000000003a27bf0] [c000000000061518] iommu_free_coherent+0x68/0xa0 [   62.578450] [c000000003a27c20] [c00000000005e8d4] dma_iommu_free_coherent+0x24/0x40 [   62.578455] [c000000003a27c40] [c00000000024698c] dma_free_attrs+0x10c/0x140 [   62.578459] [c000000003a27c90] [c008000000dcb8d4] mlx5_cmd_cleanup+0x5c/0x90 [mlx5_core] [   62.578512] [c000000003a27cc0] [c008000000dc45a0] mlx5_mdev_uninit+0xc8/0x100 [mlx5_core] [   62.578558] [c000000003a27d00] [c008000000dc4ac4] probe_one+0x3ec/0x530 [mlx5_core] [   62.578602] [c000000003a27d90] [c0000000008c5edc] local_pci_probe+0x6c/0x110 [   62.578607] [c000000003a27e10] [c000000000189c98] work_for_cpu_fn+0x38/0x60 [   62.578612] [c000000003a27e40] [c00000000018d1d0] process_scheduled_works+0x230/0x4f0 [   62.578616] [c000000003a27f10] [c00000000018ff14] worker_thread+0x1e4/0x500 [   62.578619] [c000000003a27f90] [c00000000019cdb8] kthread+0x138/0x140 [   62.578624] [c000000003a27fe0] [c00000000000df98] start_kernel_thread+0x14/0x18 [   62.578628] Code: 481b004d 60000000 e89e0028 3c62ffe0 3863dd20 481b0039 60000000 e89e0038 3c62ffe0 3863dd38 481b0025 60000000 <0fe00000> 4bffff20 60000000 3c4c0142 [   62.578640] ---[ end trace 0000000000000000 ]--- [   62.578646] iommu_free: invalid entry [   62.578649]     entry     = 0x8000000203d0 [   62.578650]     dma_addr  = 0x8000000203d0000 [   62.578652]     Table     = 0xc00000000c5dc800 [   62.578654]     bus#      = 0x1 [   62.578655]     size      = 0x20000 [   62.578657]     startOff  = 0x800000000000 [   62.578658]     index     = 0x70200016 [   62.578660] ------------[ cut here ]------------ gitbisect is pointing to the below commit commit 2ad56efa80dba89162106c06ebc00b611325e584     powerpc/iommu: Setup a default domain and remove set_platform_dma_ops -- Regards, Tasmiya Nalatwad IBM Linux Technology Center --------------960zXNR6FrCGPBFVDP9KYj2A Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Greetings,

[linux-next] [6.6.0-rc3-next-20230929] [git bisect -> 2ad56efa80dba89162106c06ebc00b611325e584]WARNING: CPU: 0 PID: 8 at arch/powerpc/kernel/iommu.c:407 __iommu_free+0x1e4/0x1f0

--- Traces ---

[   62.578338] WARNING: CPU: 0 PID: 8 at arch/powerpc/kernel/iommu.c:407 __iommu_free+0x1e4/0x1f0
[   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
[   62.578362] CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.6.0-rc3-next-20230929-auto #1
[   62.578366] Hardware name: IBM,9080-HEX POWER10 (raw) 0x800200 0xf000006 of:IBM,FW1030.30 (NH1030_062) hv:phyp pSeries
[   62.578369] Workqueue: events work_for_cpu_fn
[   62.578374] NIP:  c00000000005f6d4 LR: c00000000005f6d0 CTR: 00000000005ca81c
[   62.578377] REGS: c000000003a27890 TRAP: 0700   Not tainted  (6.6.0-rc3-next-20230929-auto)
[   62.578381] MSR:  800000000282b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  CR: 48000824  XER: 00000008
[   62.578391] CFAR: c00000000020f738 IRQMASK: 0
[   62.578391] GPR00: c00000000005f6d0 c000000003a27b30 c000000001481800 0000000000000017
[   62.578391] GPR04: 00000000ffff7fff c000000003a27950 c000000003a27948 0000000000000027
[   62.578391] GPR08: c000000c18c07c10 0000000000000001 0000000000000027 c000000002ac8a08
[   62.578391] GPR12: 0000000000000000 c000000002ff0000 c00000000019cc88 c000000003042300
[   62.578391] GPR16: 0000000000000000 0000000000000000 0000000000000000 c000000003071ab0
[   62.578391] GPR20: c00000000349f80d c000000003215440 c000000003215480 61c8864680b583eb
[   62.578391] GPR24: 0000000000000000 000000007fffffff 0800000020000000 0000000000000010
[   62.578391] GPR28: 0000000000020000 0000800000020000 c00000000c5dc800 c00000000c5dc880
[   62.578428] NIP [c00000000005f6d4] __iommu_free+0x1e4/0x1f0
[   62.578432] LR [c00000000005f6d0] __iommu_free+0x1e0/0x1f0
[   62.578435] Call Trace:
[   62.578437] [c000000003a27b30] [c00000000005f6d0] __iommu_free+0x1e0/0x1f0 (unreliable)
[   62.578442] [c000000003a27bc0] [c00000000005f848] iommu_free+0x28/0x70
[   62.578446] [c000000003a27bf0] [c000000000061518] iommu_free_coherent+0x68/0xa0
[   62.578450] [c000000003a27c20] [c00000000005e8d4] dma_iommu_free_coherent+0x24/0x40
[   62.578455] [c000000003a27c40] [c00000000024698c] dma_free_attrs+0x10c/0x140
[   62.578459] [c000000003a27c90] [c008000000dcb8d4] mlx5_cmd_cleanup+0x5c/0x90 [mlx5_core]
[   62.578512] [c000000003a27cc0] [c008000000dc45a0] mlx5_mdev_uninit+0xc8/0x100 [mlx5_core]
[   62.578558] [c000000003a27d00] [c008000000dc4ac4] probe_one+0x3ec/0x530 [mlx5_core]
[   62.578602] [c000000003a27d90] [c0000000008c5edc] local_pci_probe+0x6c/0x110
[   62.578607] [c000000003a27e10] [c000000000189c98] work_for_cpu_fn+0x38/0x60
[   62.578612] [c000000003a27e40] [c00000000018d1d0] process_scheduled_works+0x230/0x4f0
[   62.578616] [c000000003a27f10] [c00000000018ff14] worker_thread+0x1e4/0x500
[   62.578619] [c000000003a27f90] [c00000000019cdb8] kthread+0x138/0x140
[   62.578624] [c000000003a27fe0] [c00000000000df98] start_kernel_thread+0x14/0x18
[   62.578628] Code: 481b004d 60000000 e89e0028 3c62ffe0 3863dd20 481b0039 60000000 e89e0038 3c62ffe0 3863dd38 481b0025 60000000 <0fe00000> 4bffff20 60000000 3c4c0142
[   62.578640] ---[ end trace 0000000000000000 ]---
[   62.578646] iommu_free: invalid entry
[   62.578649]     entry     = 0x8000000203d0
[   62.578650]     dma_addr  = 0x8000000203d0000
[   62.578652]     Table     = 0xc00000000c5dc800
[   62.578654]     bus#      = 0x1
[   62.578655]     size      = 0x20000
[   62.578657]     startOff  = 0x800000000000
[   62.578658]     index     = 0x70200016
[   62.578660] ------------[ cut here ]------------

gitbisect is pointing to the below commit

commit 2ad56efa80dba89162106c06ebc00b611325e584
    powerpc/iommu: Setup a default domain and remove set_platform_dma_ops

-- 
Regards,
Tasmiya Nalatwad
IBM Linux Technology Center
--------------960zXNR6FrCGPBFVDP9KYj2A--