Re: [PATCH v6 1/2] genirq/msi: add wrapper msi allocation API and export msi functions

From: Alex Williamson
Date: Mon Apr 29 2024 - 14:55:33 EST


On Tue, 23 Apr 2024 15:09:20 -0600
Alex Williamson <alex.williamson@xxxxxxxxxx> wrote:

> On Tue, 23 Apr 2024 16:40:20 +0530
> Nipun Gupta <nipun.gupta@xxxxxxx> wrote:
>
> > SI functions for allocation and free can be directly used by
>
> We lost the ^M in this version.
>
> > the device drivers without any wrapper provided by bus drivers.
> > So export these MSI functions.
> >
> > Also, add a wrapper API to allocate MSIs providing only the
> > number of interrupts rather than range for simpler driver usage.
> >
> > Signed-off-by: Nipun Gupta <nipun.gupta@xxxxxxx>
> > Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> > ---
> >
> > No change in v5->v6
> >
> > Changes in v4->v5:
> > - updated commit description as per the comments.
>
> I see in https://lore.kernel.org/all/87edbyfj0d.ffs@tglx/ that Thomas
> also suggested a new subject:
>
> genirq/msi: Add MSI allocation helper and export MSI functions
>
> I'll address both of these on commit if there are no objections or
> further comments. Patch 2/ looks ok to me now as well. Thanks,

Applied series to vfio next branch for v6.10. Thanks,

Alex