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

Frank Li posted 3 patches 6 days, 5 hours ago
There is a newer version of this series
drivers/pci/endpoint/functions/pci-epf-vntb.c | 149 ++++++++++++++++++++---
drivers/pci/endpoint/pci-epf-core.c           | 168 +++++++++++++++++++++-----
include/linux/pci-epf.h                       |   6 +
3 files changed, 275 insertions(+), 48 deletions(-)
[PATCH v3 0/3] pci: endpoint: vntb: add MSI doorbell support
Posted by Frank Li 6 days, 5 hours 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>
---
Changes in v3:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v2: https://lore.kernel.org/r/20250915-vntb_msi_doorbell-v2-0-ca71605e3444@nxp.com

Changes in v2:
- add help funciton to get bar's inbounce size
- fix miss x8 when caculate bits
- Link to v1: https://lore.kernel.org/r/20250815-vntb_msi_doorbell-v1-0-32df6c4bf96c@nxp.com

---
Frank Li (3):
      PCI: endpoint: Add helper function pci_epf_get_bar_required_size()
      PCI: endpoint: Add API pci_epf_assign_bar_space()
      PCI: endpoint: pci-epf-vntb: Add MSI doorbell support

 drivers/pci/endpoint/functions/pci-epf-vntb.c | 149 ++++++++++++++++++++---
 drivers/pci/endpoint/pci-epf-core.c           | 168 +++++++++++++++++++++-----
 include/linux/pci-epf.h                       |   6 +
 3 files changed, 275 insertions(+), 48 deletions(-)
---
base-commit: c2a282d1fccc53a989da61a5da4f03c9d67ee99a
change-id: 20250812-vntb_msi_doorbell-bf0fbac6d6d7

Best regards,
--
Frank Li <Frank.Li@nxp.com>