[PATCH v2 0/3] PCI: endpoint: Add endpoint restart management support
Kunihiko Hayashi
hayashi.kunihiko at socionext.com
Sun Jan 24 10:09:34 EST 2021
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.
Changes since v1:
- Update the patches to rebase onto the latest tree
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 | 44 +++++++++-
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, 192 insertions(+), 1 deletion(-)
create mode 100644 drivers/pci/endpoint/pci-epc-restart.c
--
2.7.4
More information about the linux-arm-kernel
mailing list