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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 8034BC4345F for ; Thu, 18 Apr 2024 07:19:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FaQU6Sr5LvtixEp/Mi7D7b1F25Z3GN6Mt9+qrH8CNas=; b=xxU99CDuO7U11t MP2WsUgdrNNx8dj93mnnDTFQBsBRLiQnE47sv/oJkeq+yBe2MaPqoHIuavJE51N1TdqoomcmaxYeR X9xF2CI3rtBXZSYoxh4vwQ1rB8JniyDzb8WkvXevkG7E8JaeKb+X2Cl7vCLjisNSO5z9sTyRCSCLc 2nkzbl9T4p+9QiTA2njtnj2JuCHRMIsJM5XRI9NSeyoKe8JnRcqav8Y8nLBCqqOtdsq4mjo6RuT2t WcWC3cy2FmvkwtnwfSRExG0hcrKYWPuWa/N30dUSg4R8i4zFnYGmr21dTPDBO/sst9oU5Y7K4WXsd O5gQl6WMCOl7YDZO7/Cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxM3N-00000001FGr-3kKS; Thu, 18 Apr 2024 07:19:29 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxM3L-00000001FGB-1Dla for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 07:19:28 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 126C061735; Thu, 18 Apr 2024 07:19:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B369AC113CC; Thu, 18 Apr 2024 07:19:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713424765; bh=iVNEkWhaYxo85+q/ZaRi29XbrrdDZIdNKqJFHi/EYM4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=u0DL3bwIiqjxY7xLQmaSPLc4XsT2YoTyGLc68yDk5pHZyGvT3WqLHIdAvRIIUl3PS 7TNRFxfQj/vColwkosB7T5H8+4V2eVMYpe8rFJNqp3DgbnjMRopc56KHeSHHvlNKen E4vIbyc9RpLS52iShpaeFM2BVaiJ7i0cQwHDm0DaHllrTw+sOVSB9C0ymsNBy3ZmfI Ss6vVRQ40UJSQdJO1UMGtBRYftDQccXfK1u2Hur5x8Hs8yskjnegFE3hZRDBSP95wC 0uscDyNsbn9m/JL8D48UXAQzg8gz3ezH4Ig419hc5F6agHv0Z1cFaHU0TubyhBfGsF 116+QCViAV0Lw== Received: from ip-185-104-136-29.ptr.icomera.net ([185.104.136.29] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rxM3G-005e59-F5; Thu, 18 Apr 2024 08:19:23 +0100 Date: Thu, 18 Apr 2024 08:18:59 +0100 Message-ID: <8734rjrvdo.wl-maz@kernel.org> From: Marc Zyngier To: tglx@linutronix.de, Guanrui Huang Cc: yuzenghui@huawei.com, shannon.zhao@linux.alibaba.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 0/2] irqchip/gic-v3-its: Fix double free on error In-Reply-To: <20240418061053.96803-1-guanrui.huang@linux.alibaba.com> References: <20240418061053.96803-1-guanrui.huang@linux.alibaba.com> 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/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.104.136.29 X-SA-Exim-Rcpt-To: tglx@linutronix.de, guanrui.huang@linux.alibaba.com, yuzenghui@huawei.com, shannon.zhao@linux.alibaba.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_001927_402746_50C2302E X-CRM114-Status: GOOD ( 19.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 18 Apr 2024 07:10:51 +0100, Guanrui Huang wrote: > > Hello everyone, this is the v5 of the patch to fix double free > in gic driver. > > The differences from the v3 and v4: > 1. modify description: add "Fixes" in patch 1, as suggested by Markus Elfring. > > 2. improve patch granularity: split 'remove BUG_ON' into a secord patch, > as suggested by Zenghui and Markus Elfring. > > 3. modify description: explain why the BUG_ON is useless in patch 2, > as suggested by Marc Zyngier. > > Thanks, > Guanrui > > Guanrui Huang (2): > irqchip/gic-v3-its: Fix double free on error > irqchip/gic-v3-its: remove BUG_ON in its_vpe_irq_domain_alloc > > drivers/irqchip/irq-gic-v3-its.c | 11 ++--------- > 1 file changed, 2 insertions(+), 9 deletions(-) > Thomas, can you please take this in for 6.10? Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel