Re: [PATCH 1/3] PCI: endpoint: Add RC-to-EP doorbell support using platform MSI controller

From: Frank Li
Date: Wed Sep 06 2023 - 11:36:46 EST


On Wed, Sep 06, 2023 at 08:57:04PM +0530, Manivannan Sadhasivam wrote:
> On Wed, Sep 06, 2023 at 11:00:12AM -0400, Frank Li wrote:
> > On Wed, Sep 06, 2023 at 08:22:27PM +0530, Manivannan Sadhasivam wrote:
> > > > >
> > > > > Can't you assign it in the EPF driver itself? I do not want any OF reference in
> > > > > the EPF core since it has no OF support.
> > > >
> > > > If that, Each EPF driver need do duplicate work.
> > > >
> > >
> > > Yes, and that's how it should be. EPF core has no job in supplying the of_node.
> > > It is the responsibility of the EPF drivers as they depend on OF for platform
> > > support.
> >
> > EPF driver still not depend on OF. such pci-epf-test, which was probed by
> > configfs.
> >
>
> Hmm, yeah. Then it should be part of the EPC driver.
>
> Sorry for the confusion.

EPC can't get epf->msg data. It is too long time. I can't remember the
detail.

Let try to move to epc again.

>
> - Mani
>
> > Frank
> >
> > >
> > > - Mani
> > >
> > > > IMS will support per-device MSI domain, then we can implement customized
> > > > MSI irq allocated. But so far, it is simplest solution, we can update it
> > > > after IMS implementation at kernel. Only one place need be changed.
> > > >
> > > மணிவண்ணன் சதாசிவம்
>
> --
> மணிவண்ணன் சதாசிவம்