[PATCH 0/2] pci: endpoint: vntb: add MSI doorbell support

Frank Li posted 2 patches 1 month, 2 weeks ago
There is a newer version of this series
drivers/pci/endpoint/functions/pci-epf-vntb.c | 153 +++++++++++++++++++++++---
drivers/pci/endpoint/pci-epf-core.c           |  69 +++++++++---
include/linux/pci-epc.h                       |   5 -
include/linux/pci-epf.h                       |  35 +++++-
4 files changed, 223 insertions(+), 39 deletions(-)
[PATCH 0/2] pci: endpoint: vntb: add MSI doorbell support
Posted by Frank Li 1 month, 2 weeks ago
Since commit 1c3b002c6bf68 PCI: endpoint: Add RC-to-EP doorbell support
using platform MSI controller, PCI EP can get notification from Host.

VNTB use this feature to reduce ping latency.

The first patch impove epf core API to allow set any MMIO address to specfic
bar.

The second patch add MSI doorbell support.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Frank Li (2):
      PCI: endpoint: Enhance pci_epf_alloc_space() and rename to pci_epf_set_inbound_space()
      PCI: endpoint: pci-epf-vntb: Add MSI doorbell support

 drivers/pci/endpoint/functions/pci-epf-vntb.c | 153 +++++++++++++++++++++++---
 drivers/pci/endpoint/pci-epf-core.c           |  69 +++++++++---
 include/linux/pci-epc.h                       |   5 -
 include/linux/pci-epf.h                       |  35 +++++-
 4 files changed, 223 insertions(+), 39 deletions(-)
---
base-commit: c2a282d1fccc53a989da61a5da4f03c9d67ee99a
change-id: 20250812-vntb_msi_doorbell-bf0fbac6d6d7

Best regards,
--
Frank Li <Frank.Li@nxp.com>
Re: [PATCH 0/2] pci: endpoint: vntb: add MSI doorbell support
Posted by Frank Li 1 month ago
On Fri, Aug 15, 2025 at 06:20:52PM -0400, Frank Li wrote:
> Since commit 1c3b002c6bf68 PCI: endpoint: Add RC-to-EP doorbell support
> using platform MSI controller, PCI EP can get notification from Host.
>
> VNTB use this feature to reduce ping latency.
>
> The first patch impove epf core API to allow set any MMIO address to specfic
> bar.
>
> The second patch add MSI doorbell support.

Manivannan Sadhasivam:

	Do you have time to review this patch?

Frank

>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> Frank Li (2):
>       PCI: endpoint: Enhance pci_epf_alloc_space() and rename to pci_epf_set_inbound_space()
>       PCI: endpoint: pci-epf-vntb: Add MSI doorbell support
>
>  drivers/pci/endpoint/functions/pci-epf-vntb.c | 153 +++++++++++++++++++++++---
>  drivers/pci/endpoint/pci-epf-core.c           |  69 +++++++++---
>  include/linux/pci-epc.h                       |   5 -
>  include/linux/pci-epf.h                       |  35 +++++-
>  4 files changed, 223 insertions(+), 39 deletions(-)
> ---
> base-commit: c2a282d1fccc53a989da61a5da4f03c9d67ee99a
> change-id: 20250812-vntb_msi_doorbell-bf0fbac6d6d7
>
> Best regards,
> --
> Frank Li <Frank.Li@nxp.com>
>
Re: [PATCH 0/2] pci: endpoint: vntb: add MSI doorbell support
Posted by Manivannan Sadhasivam 1 month ago
On Fri, Aug 29, 2025 at 12:35:48PM GMT, Frank Li wrote:
> On Fri, Aug 15, 2025 at 06:20:52PM -0400, Frank Li wrote:
> > Since commit 1c3b002c6bf68 PCI: endpoint: Add RC-to-EP doorbell support
> > using platform MSI controller, PCI EP can get notification from Host.
> >
> > VNTB use this feature to reduce ping latency.
> >
> > The first patch impove epf core API to allow set any MMIO address to specfic
> > bar.
> >
> > The second patch add MSI doorbell support.
> 
> Manivannan Sadhasivam:
> 
> 	Do you have time to review this patch?
> 

Sorry for the delay. It is still in my review queue. Will get to it this
weekend.

- Mani

> Frank
> 
> >
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
> > Frank Li (2):
> >       PCI: endpoint: Enhance pci_epf_alloc_space() and rename to pci_epf_set_inbound_space()
> >       PCI: endpoint: pci-epf-vntb: Add MSI doorbell support
> >
> >  drivers/pci/endpoint/functions/pci-epf-vntb.c | 153 +++++++++++++++++++++++---
> >  drivers/pci/endpoint/pci-epf-core.c           |  69 +++++++++---
> >  include/linux/pci-epc.h                       |   5 -
> >  include/linux/pci-epf.h                       |  35 +++++-
> >  4 files changed, 223 insertions(+), 39 deletions(-)
> > ---
> > base-commit: c2a282d1fccc53a989da61a5da4f03c9d67ee99a
> > change-id: 20250812-vntb_msi_doorbell-bf0fbac6d6d7
> >
> > Best regards,
> > --
> > Frank Li <Frank.Li@nxp.com>
> >

-- 
மணிவண்ணன் சதாசிவம்