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 D292017DFF1 for ; Tue, 10 Sep 2024 07:38:15 +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=1725953895; cv=none; b=RxhRpNQ0Wf3rk8+VJrr/jgFSvAYJxIFof0TClWf3gVoF2UsXHI6lEHIMQrqSP3RxEmGKP0Y0XU0ZCU9UKvU8kuPlTsupky/1i99W9ipFKx9orwVLPMY69jEV/+JeUrJpqVvm5Uv14wRUkUfznKxkuT7VEINNLnLECcvyyIKzNJc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725953895; c=relaxed/simple; bh=sjfQ/Eoa81VAVDHDJjTjgWwLjn6c5fS0wVP0NyCXrsY=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=TvwYnGuhPfu15ZyVf4b+f5WY56nz8Td4I2WB2JEFr9+oEpTRwj7VP/5y262MfrbyWAdAA+9chL6xeuRw4qjqse4Q8eJ49Nl0us27RbJM5xxNe0k4Q8Anfi9MuJ9HGGWmt25urKZsMHMT0lHzl1nPHwf9IAew5/BqvTh72zS1I0U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PL6lg3M+; 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="PL6lg3M+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6EA53C4CEC3; Tue, 10 Sep 2024 07:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725953895; bh=sjfQ/Eoa81VAVDHDJjTjgWwLjn6c5fS0wVP0NyCXrsY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PL6lg3M+6ObMWTnavaQhSVcsyVO4NLz/pRMLedT5dmZozDn4R+NckMRptnw7bY158 VwhIDvT7Zg3kVG0tuECxSBfjOdmQP4ltymg8SSKyxwH4innqzw3Blv77XuwQDQ7GeD Mli/F63gG00M8h6p+PzbnQBi1fqSm+04KUCFui0pRXLOX2JXMIJLsXMgPW0VMEDKo7 zCgQjjwafNDvH7Q+Uw+/vjazpX8MIWyCZdlbiuh3XyPOVq/xMVExhvz2i206W/PbBA ETS31V19vn0+fq4UhYebI02KTfK+h53gMRJ1tCt4tf1SfaTOxtH0ctOdFJWg6OxB3n rR2MSkN/rA+Pw== 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 1snvS1-00Be7W-5r; Tue, 10 Sep 2024 08:38:13 +0100 Date: Tue, 10 Sep 2024 08:38:12 +0100 Message-ID: <86zfog6jrv.wl-maz@kernel.org> From: Marc Zyngier To: Sergey Shtylyov Cc: Thomas Gleixner , , Subject: Re: [PATCH] irqchip/gic: prevent buffer overflow in gic_ipi_send_mask() In-Reply-To: <052d20d5-e8e4-3133-4fa0-1c026ffb4209@omp.ru> References: <048ff3bb-09d1-2e60-4f3b-611e2bfde7aa@omp.ru> <87cyli5zj7.ffs@tglx> <86o752v8xs.wl-maz@kernel.org> <87wmjmv632.wl-maz@kernel.org> <052d20d5-e8e4-3133-4fa0-1c026ffb4209@omp.ru> 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/29.4 (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: s.shtylyov@omp.ru, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Mon, 09 Sep 2024 20:48:24 +0100, Sergey Shtylyov wrote: > > GICv2 spec does talk about 1-N and N-N interrupt handling modes; > at the same time, I can't find such words in the GICv3/4 spec. :-) See 1.2.3 "Models for handling interrupts" and the pointers this section contains. The major difference is that 1:N is enabled on a per-CPU basis instead of a per interrupt basis. Needless to say, Linux doesn't support this, although I've been pondering it at times. M. -- Without deviation from the norm, progress is not possible.