[PATCH v2 09/13] PCI: xgene-msi: Sanitise MSI allocation and affinity setting

Marc Zyngier maz at kernel.org
Fri Jul 11 03:51:38 PDT 2025


On Fri, 11 Jul 2025 11:11:02 +0100,
Lorenzo Pieralisi <lpieralisi at kernel.org> wrote:
> 
> On Fri, Jul 11, 2025 at 11:55:17AM +0200, Lorenzo Pieralisi wrote:
> > On Tue, Jul 08, 2025 at 06:34:00PM +0100, Marc Zyngier wrote:
> 
> [...]
> 
> > We could use MSInRx_HWIRQ_MASK, I can update it.
> > 
> > More importantly, what code would set data->hwirq[6:4] (and
> > data->hwirq[7:7] below) ?
> 
> Forget it. It is the hwirq allocation itself that sets those bits,
> 256 HWIRQs you use the effective cpu affinity to steer the frame,
> it makes sense now.

Exactly.

> 
> I can update the code to use the mask above and merge it.
> 
> Sorry for the noise,

No worries, and thanks for looking at it!

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list