[PATCH V1 0/3] Add DeInit support in the PCIe Endpoint framework

From: Vidya Sagar
Date: Mon Oct 10 2022 - 07:20:16 EST


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=317729

Vidya Sagar (3):
PCI: endpoint: Add CORE_DEINIT callback support
PCIe: dwc: Add a DWC wrapper to pci_epc_deinit_notify()
PCI: endpoint: Delete list entry before freeing

.../pci/controller/dwc/pcie-designware-ep.c | 8 ++++++
drivers/pci/controller/dwc/pcie-designware.h | 5 ++++
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 ++
6 files changed, 45 insertions(+), 2 deletions(-)

--
2.17.1