lkml.org 
[lkml]   [2020]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] PCI: endpoint: Add endpoint restart management support
Date
Add new functions to manage recovery of configuration for endpoint controller
and restart the controller when asserting bus-reset from root complex (RC).

This feature is only available if bus-reset (PERST#) line is physically
routed between RC and endpoint, and the signal from RC also resets
the endpoint controller.

This series is only for UniPhier PCIe endpoint controller at this point.

Kunihiko Hayashi (3):
PCI: endpoint: Add 'started' to pci_epc to set whether the controller
is started
PCI: endpoint: Add endpoint restart management
PCI: uniphier-ep: Add EPC restart management support

drivers/pci/controller/dwc/Kconfig | 1 +
drivers/pci/controller/dwc/pcie-uniphier-ep.c | 34 +++++++-
drivers/pci/endpoint/Kconfig | 9 ++
drivers/pci/endpoint/Makefile | 1 +
drivers/pci/endpoint/pci-epc-core.c | 2 +
drivers/pci/endpoint/pci-epc-restart.c | 114 ++++++++++++++++++++++++++
include/linux/pci-epc.h | 22 +++++
7 files changed, 181 insertions(+), 2 deletions(-)
create mode 100644 drivers/pci/endpoint/pci-epc-restart.c

--
2.7.4

\
 
 \ /
  Last update: 2020-10-02 06:49    [W:0.037 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site