[v13,0/2] PCI: endpoint: pci-epf-vntb: using platform MSI as doorbell

Message ID 20221124055036.1630573-1-Frank.Li@nxp.com
Headers
Series PCI: endpoint: pci-epf-vntb: using platform MSI as doorbell |

Message

Frank Li Nov. 24, 2022, 5:50 a.m. UTC
  This patch continue https://lore.kernel.org/linux-pci/20220922163206.21281-1-Frank.Li@nxp.com/
The above patch series fork to two parts. clean up and use msi as
doorbell.

clean up patch already been in https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.git/commit/?h=pci/endpoint

These patches based on the above git branch.

Change from v12 to v13:
fixed Lorenzo Pieralisi comments in https://lore.kernel.org/imx/Yz%2FuMiElbqB3ThGd@lpieralisi/T/#u
- update diagram
- Add platform_msi_domain_free_irqs at failure path
- sizeof(u32) is because hardcode by ntb_hw_epf.c


Frank Li (2):
  PCI: endpoint: pci-epf-vntb: change doorbell register offset calc
    mathod
  PCI: endpoint: pci-epf-vntb: using platform MSI as doorbell

 drivers/pci/endpoint/functions/pci-epf-vntb.c | 150 +++++++++++++++---
 1 file changed, 127 insertions(+), 23 deletions(-)