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 926A8291C10; Sat, 7 Feb 2026 22:25:40 +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=1770503140; cv=none; b=YTgJZxT3e7r3c2TG0M/ce/CLCCEG/U7IqA6d9Ky9vWbohLqWUw6OoMIPCie3HToRPfVRbnhWBZ/NtPKWeXHe86+0r+P1q8Rkmca376+9fuRqNiHU/ENss/SqNeXY/Xl20Z35S7AcaetVWsIqS76gzJknbatcM22MsOMHdP7c6fw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770503140; c=relaxed/simple; bh=kXQAwNhJl5o1CPcsRe2lllaZzrdtoCrSZIZtvltgcec=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=VgBvIuj3ogWrt4i4NQ5N8PVtEh50YHJ63Ie4Lsv3Zxd5U9jWsWsMkSVVX2xZXHOXPQU7RxEBhtbhaBSS0cBsow7lShUA0QQBd2tO8+tZy7NH+ZXmELSm9PEUYSpicwZmIc7p88UJmqb4XXry45IIZqoyjLUdV9N7m8+8IUdQJgU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Em3TD45S; 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="Em3TD45S" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35A74C116D0; Sat, 7 Feb 2026 22:25:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770503140; bh=kXQAwNhJl5o1CPcsRe2lllaZzrdtoCrSZIZtvltgcec=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Em3TD45SQ8Ey9fSGx/6sZs1J8BLrrv3P0f70cf073ClXW1BqMqq1zX+aCiKnjbtGi 3MG6HO92FA1lIQf+GB8Zljk4sv2Q91zhoWDnmff/x1yQNSgRWahCFqTy81jnuypcLv Avq5jCiNwe3svoyPBVMc0OxcC/ZSaAEm8IDTNYhtQBoKMXWu4RqHncVlo9PVbLrjRX ZCRu+Eq6YjOHFdPeWHIuVKl9Ua0+og6Vwq/mA38zPIsfujUoa20XAhNRgduP8d7gGR duwUFq/FBZDxSyseE4T0tsNC8UnL0D81+9ZaliLage2Z8DSZLS7bc31ANZvoyil3zY 7S3OJ0F/eB4ag== 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 1voqkC-00000009RnD-3pZS; Sat, 07 Feb 2026 22:25:36 +0000 Date: Sat, 07 Feb 2026 22:25:29 +0000 Message-ID: <86zf5kb38m.wl-maz@kernel.org> From: Marc Zyngier To: Thomas Gleixner Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Robin Murphy , stable@vger.kernel.org Subject: Re: [PATCH] irqchip/gic-v3-its: Limit number of per-device MSIs to the range the ITS supports In-Reply-To: <87h5rsb64v.ffs@tglx> References: <20260206154816.3582887-1-maz@kernel.org> <87h5rsb64v.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) Precedence: bulk X-Mailing-List: stable@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: tglx@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robin.murphy@arm.com, stable@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 On Sat, 07 Feb 2026 21:22:56 +0000, Thomas Gleixner wrote: > > On Fri, Feb 06 2026 at 15:48, Marc Zyngier wrote: > > > The ITS driver blindly assumes that EventIDs are in abundant supply, > > to the point where it never checks how many the HW actually supports. > > > > It turns out that some pretty esoteric integrations make it so that > > only a few bits are available, all the way down to a. single. bit. > > > > Enforce the advertised limitation at the point of allocating the > > device structure, and hope that the endpoint driver can deal with > > such limitation. > > > > Signed-off-by: Marc Zyngier > > Cc: stable@vger.kernel.org > > Can you please provide a Fixes tag? That'd be Fixes: 84a6a2e7fc18d ("irqchip: GICv3: ITS: device allocation and configuration") Thanks, M. -- Without deviation from the norm, progress is not possible.