]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: j721e: Add suspend and resume support
authorThéo Lebrun <theo.lebrun@bootlin.com>
Wed, 19 Jun 2024 10:15:15 +0000 (12:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 12:53:50 +0000 (13:53 +0100)
commit47f82c6925fcd9b5402912c98b4fa22b9bd481b6
tree789a7ff8ace855c86ac131ee0adf73ac00274857
parentebd19cb3488c8259a0d032977483f78ad3477aac
PCI: j721e: Add suspend and resume support

[ Upstream commit c538d40f365b5b6d7433d371710f58e8b266fb19 ]

Add suspend and resume support. Only the Root Complex mode is supported.

During the suspend stage PERST# is asserted, then deasserted during the
resume stage.

Link: https://lore.kernel.org/linux-pci/20240102-j7200-pcie-s2r-v7-7-a2f9156da6c3@bootlin.com
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
[kwilczynski: commit log, update references to the PCI SIG specification]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Stable-dep-of: 22a9120479a4 ("PCI: j721e: Deassert PERST# after a delay of PCIE_T_PVPERL_MS milliseconds")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/controller/cadence/pci-j721e.c