Skip to content

Add DeInit support in the PCIe Endpoint framework

Vidya Sagar linux-pci lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* Reworded commit messages
* Added a new patch for deinit of the function driver

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PCI: endpoint: Add core_deinit() callback supportdrivers/pci/endpoint/pci-epc-core.c include/linux/pci-epc.h include/linux/pci-epf.h+29 -01 reply
2/4PCI: dwc: Add a DWC wrapper to pci_epc_deinit_notify()drivers/pci/controller/dwc/pcie-designware-ep.c drivers/pci/controller/dwc/pcie-designware.h+13 -00 replies
3/4PCI: endpoint: Delete list entry before freeingdrivers/pci/endpoint/pci-epf-core.c+3 -21 reply
4/4PCI: endpoint: Add deinit in epf test driverdrivers/pci/endpoint/functions/pci-epf-test.c+30 -01 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchManivannan Sadhasivam
1/4
2/4
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/4] Add DeInit support in the PCIe Endpoint framework

Endpoint function driver should cleanup its resources which accesses the hardware during endpoint controller deinitialization. The patches in this series address this requirement by first adding the callback notification in the endpoint code driver. This notification is invoked by the controller driver which is propagated further to the function driver.

This patch series depends on Manivanna's following series.
https://patchwork.ozlabs.org/project/linux-pci/list/?series=321660

V2:
* Reworded commit messages
* Added a new patch for deinit of the function driver

Vidya Sagar (4):
PCI: endpoint: Add core_deinit() callback support
PCI: dwc: Add a DWC wrapper to pci_epc_deinit_notify()
PCI: endpoint: Delete list entry before freeing
PCI: endpoint: Add deinit in epf test driver

 .../pci/controller/dwc/pcie-designware-ep.c   |  8 +++++
 drivers/pci/controller/dwc/pcie-designware.h  |  5 ++++
 drivers/pci/endpoint/functions/pci-epf-test.c | 30 +++++++++++++++++++
 drivers/pci/endpoint/pci-epc-core.c           | 26 ++++++++++++++++
 drivers/pci/endpoint/pci-epf-core.c           |  5 ++--
 include/linux/pci-epc.h                       |  1 +
 include/linux/pci-epf.h                       |  2 ++
 7 files changed, 75 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1