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 AB7F2C3ABD8 for ; Mon, 19 May 2025 10:17:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=w8PBRQR9Dkffmha1C/6cUrm0WkrhM9XCQ0uyIbSrDfI=; b=09ugBf8afAxOmpN2qmVuLG5gLc mw5NJMAZzpt4YVH3IRSF0SkAu378FtOqFENbkLqlC6RatjTOvrH1vKVRIWD+Au92pkD4qEJZEJVkP XhLAiIqmilHcPOOTioYNuCOs9HhPWNuHjlKJszwPPNssIxAh7fikJW7hGFj+pDLe1kiWNLYww89Ws LGxFgZFiHwDIizOqE9TWD63iEwFDDwCuiImkdqVdxBEfVWwABaSbEzR0UABCopyfAGi6Z5z9q20AB 3H/XWd+R/95+OAAv/KNxnDhKnjJqvYDpD9lAzhBqkRuk4FqXsQZmWellxKbRy7BfvD+atfrlwpOUU 7ph7lbCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uGxYn-00000008lQL-1obj; Mon, 19 May 2025 10:17:29 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uGxWl-00000008l1j-23l9 for linux-arm-kernel@lists.infradead.org; Mon, 19 May 2025 10:15:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id DFE1B61136; Mon, 19 May 2025 10:15:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D772C4CEE4; Mon, 19 May 2025 10:15:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1747649722; bh=zmhle5L+4+qv5m22mzveX9dJEVdEfimEphe3FmWOtr8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OStWKLtHJDkSh0hLs02gQ1/jU2XchxaiFeDsGaMlxlzVC5TuBUOz3r3f2jLnZuloi ymoBk1vhbSaIOejWtSyD36oT1/Ufe9wLNTbb+vhhJpgtGp6qAzMzPRoziS4e3w9pF+ NSh36GDfBLryuH7whCKq2DgzNYlnThMgkE9oMtMwlvcAxVZs2eAvtthH3X/QoTsU11 XPM5jgWT5O5ziBdafdfrt9cBHR9SijBsRruSroKuRSH1mpkrs1xGvQc+qTl4bJ+LxQ 3XoQzBTXkkx9ZrTtWe6Ba4WbACCFAq2tXFXWvfrZVYRgk+cHEA7easbOwvNWanbU8T BFG2O4R/VPnDw== 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.95) (envelope-from ) id 1uGxWi-00GByQ-CG; Mon, 19 May 2025 11:15:20 +0100 Date: Mon, 19 May 2025 11:15:20 +0100 Message-ID: <86wmacewjr.wl-maz@kernel.org> From: Marc Zyngier To: Thomas Gleixner Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Lorenzo Pieralisi , Sascha Bischoff , Timothy Hayes Subject: Re: [PATCH v2 5/5] irqchip/gic-v3-its: Use allocation size from the prepare call In-Reply-To: <8734d1iwcp.ffs@tglx> References: <20250513163144.2215824-1-maz@kernel.org> <20250513163144.2215824-6-maz@kernel.org> <8734d1iwcp.ffs@tglx> 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) 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: tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, lpieralisi@kernel.org, sascha.bischoff@arm.com, timothy.hayes@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, 18 May 2025 19:53:42 +0100, Thomas Gleixner wrote: > > On Tue, May 13 2025 at 17:31, Marc Zyngier wrote: > > > Now that .msi_prepare() gets called at the right time and not > > with semi-random parameters, remove the ugly hack that tried > > to fix up the number of allocated vectors. > > > > It is now correct by construction. > > FWIW, while looking at something related, it occured to me that with > this change you can enable MSI_FLAG_PCI_MSIX_ALLOC_DYN now on GIC ITS. Maybe. It is rather unclear to me what this "dynamic allocation" actually provides in terms of guarantees to the endpoint driver. M. -- Without deviation from the norm, progress is not possible.