Re: [patch 24/33] PCI/MSI: Provide prepare_desc() MSI domain op

From: Thomas Gleixner
Date: Wed Nov 16 2022 - 17:42:49 EST


On Wed, Nov 16 2022 at 14:26, Bjorn Helgaas wrote:
> On Fri, Nov 11, 2022 at 02:58:49PM +0100, Thomas Gleixner wrote:
>> Dynamic MSI-X vector allocation post MSI-X allows to allocate vectors at a
>> given index or at any free index in the available table range.
>
> Is "post MSI-X" missing something? "post MSI-X enablement" or
> something?

Yes. That was the plan.

>> The latter
>> requires that the core code selects the index at descriptor allocation time.
>>
>> This requires that the PCI/MSI-X specific setup of the MSI-X descriptor,
>> which is partially depending on the chosen index happens after allocation.
>
> Is there a comma missing after "index"? I.e., setup of the descriptor
> partially depends on the chosen index? And the above requires that
> setup happens after allocation?

Yes.

Thanks,

tglx