From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F64C334C04 for ; Thu, 19 Feb 2026 16:54:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771520073; cv=none; b=PaAXefMvLcGpLOd+cYz7j/0q17I4n3WYK2Lmlh10kR3FNWkDf2PkaA7wMq71JCg6gFG0oRwrs66tmlqyrLxPrHkLokrzde76/ZLRJM1KvMEMRdn2dDWphUl8R/Myb5+jPGqOz6s312I+ps+vdgZ4e0SKHnMfXjdPXaxPVQBEFcw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771520073; c=relaxed/simple; bh=zK95LoQDAuXJM2idbzUdfFERLSyluFISJwt0NxyVb0M=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=YXlys5YyQImzggr0XbpQVvbaP5nrpSTnRbX4VpPDYrKLzQZuKNFjCe6mZAU8m0pFpmHLJnGBwaQ6lQVkAY7ubeydLlblZ2mUup4U3rX70+pOXJm6AVYlSzqcLbT+Z6V5sDEAywBzvOI3GaY4mLiMlQh09oAypCCcch6LiL24A0I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PkBYMTTp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PkBYMTTp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 265A6C4CEF7; Thu, 19 Feb 2026 16:54:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771520073; bh=zK95LoQDAuXJM2idbzUdfFERLSyluFISJwt0NxyVb0M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PkBYMTTpIJMiwVW5g6N+0b3D9Rq7xY11ibWgSZISX5z25SRf9u1MeleQuVLxMJdYM 8pz0O90bOqxJLRwq6eQzVTvo1zoY2dd7yz4CHUX/D9/gHrmYDqf1/u1FJKt1yV775Q rcML9no6VFqG+VIExFC2vZ2efJzbOnofKunIli6Dz6NkHXUZjHWAm3shyQuu3F2oTB iTUKODXrvYrf8cRFlKRUE/OktAIxPHqCL6c/jkVpOIdXPrThYOE2qkGWe0HNJIy+t3 GLagC1bZRSyq9MqgcRKeuPugRShNePzh9nebcXYgarmRVKBa9LbujWFkttxkazOao3 zuJl5e0DWnnGg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vt7IM-0000000CDVZ-1Btr; Thu, 19 Feb 2026 16:54:30 +0000 Date: Thu, 19 Feb 2026 16:54:29 +0000 Message-ID: <86wm08ad2y.wl-maz@kernel.org> From: Marc Zyngier To: Manivannan Sadhasivam Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, Qiang Yu Subject: Re: MSIs not freed in GICv3 ITS driver In-Reply-To: <4pdu25dnnqegnd67zf4ftfvwc57bn67kp7mj2gk2cywc3hdcvr@eydar5gvuwtu> References: <20240708153933.GC5745@thinkpad> <865xtf4woi.wl-maz@kernel.org> <20240709173708.GA44420@thinkpad> <877cdupdvu.wl-maz@kernel.org> <20240721085032.GL1908@thinkpad> <4pdu25dnnqegnd67zf4ftfvwc57bn67kp7mj2gk2cywc3hdcvr@eydar5gvuwtu> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: mani@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, qiang.yu@oss.qualcomm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Fri, 16 Jan 2026 15:03:33 +0000, Manivannan Sadhasivam wrote: > > Hi Marc, > > Looks like this has fallen through the cracks and my colleage internally > reported a warning during the removal of a PCI driver and it seems to be related > to the issue we were discussing in this thread: > > [ 54.727284] WARNING: drivers/irqchip/irq-gic-v3-its.c:3639 at its_msi_teardown+0x11c/0x13c, CPU#4: kworker/u73:1/115 > [ 54.738366] Modules linked in: mhi_pci_generic mhi nvme_core usb_f_fs libcomposite sm3_ce nvmem_qcom_spmi_sdam qcom_pon rtc_pm8xxx qcom_spmi_temp_alarm qcom_stats dispcc_glymur gpi llcc_qcom phy_qcom_qmp_pcie qcom_cpucp_mbox qcom_wdt socinfo > [ 54.760588] CPU: 4 UID: 0 PID: 115 Comm: kworker/u73:1 Tainted: G W 6.18.0-next-20251210-14099-gc20082c23661-dirty #2 PREEMPT > [ 54.774067] Tainted: [W]=WARN > [ 54.777412] Hardware name: Qualcomm MTP/Qualcomm Test Device, BIOS 7.0.251121.BOOT.OSSUEFI.3.1-00008-GLYMUR-1 11/21/2025 > [ 54.788849] Workqueue: async async_run_entry_fn > [ 54.793791] pstate: 21400009 (nzCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) > [ 54.801230] pc : its_msi_teardown+0x11c/0x13c > [ 54.805997] lr : its_msi_teardown+0x54/0x13c > [ 54.810675] sp : ffff8000837cb710 > [ 54.814373] x29: ffff8000837cb710 x28: ffff00080190e410 x27: ffff0008085ba390 > [ 54.821985] x26: ffff000808629bf0 x25: 0000000000000000 x24: 0000000000000066 > [ 54.829602] x23: 0000000000000007 x22: 0000000000000020 x21: ffff000800059608 > [ 54.837209] x20: ffff000800059607 x19: ffff000800a4a300 x18: 00000000ffffffff > [ 54.844819] x17: ffff00080ec65400 x16: ffff00080ec65200 x15: ffff00080ec65000 > [ 54.852429] x14: 0000000000000004 x13: ffff0008000b8810 x12: 0000000000000000 > [ 54.860046] x11: ffff0008007798e8 x10: 0000000000000002 x9 : 0000000000000001 > [ 54.867661] x8 : ffff0008007796f8 x7 : 000000000000001f x6 : ffff8000837cb640 > [ 54.875277] x5 : ffff000801918f40 x4 : 0000000000000007 x3 : 0000000000000000 > [ 54.882891] x2 : ffff000800a037c0 x1 : 0000000000000020 x0 : 0000000000000007 > [ 54.890509] Call trace: > [ 54.893320] its_msi_teardown+0x11c/0x13c (P) > [ 54.898082] its_msi_teardown+0x34/0x44 > [ 54.902316] msi_remove_device_irq_domain+0x70/0x114 > [ 54.907701] msi_device_data_release+0x20/0x64 > [ 54.912551] devres_release_all+0xa4/0x104 That's nowhere near enough information for me to do anything about it. Unless you describe exactly what device this is, its allocation requirements, the topology of the system and finally reproduce it on a vanilla kernel and not something that I have no access to, I can't do much for you. M. -- Without deviation from the norm, progress is not possible.