linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] PCI: endpoint: Add endpoint restart management support
@ 2020-10-02  4:48 Kunihiko Hayashi
  2020-10-02  4:48 ` [PATCH 1/3] PCI: endpoint: Add 'started' to pci_epc to set whether the controller is started Kunihiko Hayashi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2020-10-02  4:48 UTC (permalink / raw)
  To: Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas, Kishon Vijay Abraham I
  Cc: linux-pci, linux-arm-kernel, linux-kernel, Masami Hiramatsu,
	Jassi Brar, Kunihiko Hayashi

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


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

end of thread, other threads:[~2020-10-02  4:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-02  4:48 [PATCH 0/3] PCI: endpoint: Add endpoint restart management support Kunihiko Hayashi
2020-10-02  4:48 ` [PATCH 1/3] PCI: endpoint: Add 'started' to pci_epc to set whether the controller is started Kunihiko Hayashi
2020-10-02  4:48 ` [PATCH 2/3] PCI: endpoint: Add endpoint restart management Kunihiko Hayashi
2020-10-02  4:48 ` [PATCH 3/3] PCI: uniphier-ep: Add EPC restart management support Kunihiko Hayashi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).