Re: [PATCH v2 5/5] irqchip/gic-v3-its: Use allocation size from the prepare call

From: Marc Zyngier
Date: Mon May 19 2025 - 06:15:27 EST


On Sun, 18 May 2025 19:53:42 +0100,
Thomas Gleixner <tglx@xxxxxxxxxxxxx> 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.