mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V1 0/3] Add DeInit support in the PCIe Endpoint framework
@ 2022-10-10 11:19 Vidya Sagar
  2022-10-10 11:19 ` [PATCH V1 1/3] PCI: endpoint: Add CORE_DEINIT callback support Vidya Sagar
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vidya Sagar @ 2022-10-10 11:19 UTC (permalink / raw)
  To: jingoohan1, gustavo.pimentel, lpieralisi, robh, kw, bhelgaas,
	mani, kishon
  Cc: thierry.reding, jonathanh, linux-pci, linux-kernel, kthota,
	mmaddireddy, vidyas, sagar.tv

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-10 11:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10 11:19 [PATCH V1 0/3] Add DeInit support in the PCIe Endpoint framework Vidya Sagar
2022-10-10 11:19 ` [PATCH V1 1/3] PCI: endpoint: Add CORE_DEINIT callback support Vidya Sagar
2022-10-10 11:19 ` [PATCH V1 2/3] PCIe: dwc: Add a DWC wrapper to pci_epc_deinit_notify() Vidya Sagar
2022-10-10 11:19 ` [PATCH V1 3/3] PCI: endpoint: Delete list entry before freeing Vidya Sagar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®