]> www.infradead.org Git - users/willy/xarray.git/commit
irqchip/gic-v3-its: Use allocation size from the prepare call
authorMarc Zyngier <maz@kernel.org>
Tue, 13 May 2025 16:31:44 +0000 (17:31 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 14 May 2025 10:36:42 +0000 (12:36 +0200)
commit7dd20bf2f010430b75b109e4d4101cd1616afba3
treead73a9d3c807d029ede5cfa0d0ba9cc71eaef97d
parent03c298760ed97c5981402d64c4eed9bc4f2f0a4e
irqchip/gic-v3-its: Use allocation size from the prepare call

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.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250513163144.2215824-6-maz@kernel.org
drivers/irqchip/irq-gic-v3-its-msi-parent.c