summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorWilfred Mallawa <wilfred.mallawa@wdc.com>2026-07-27 19:26:56 +0200
committerBjorn Helgaas <bhelgaas@google.com>2026-08-04 16:34:15 -0500
commitb376b3ff9cb052709b539ddadbafc763d082f363 (patch)
tree00b42d8f405af2a621b9665b8dbacca580bc1c14 /scripts/Makefile.thinlto
parent4d88cb82a6d9fcd3815511fbf6df0fb77d9211da (diff)
downloadlinux-stable-b376b3ff9cb052709b539ddadbafc763d082f363.tar.gz
linux-stable-b376b3ff9cb052709b539ddadbafc763d082f363.zip
PCI: dw-rockchip: Implement .reset_root_port() and use for link down
The PCIe link may go down in cases like firmware crashes or unstable connections. When this occurs, the Root Port must be reset to restore the functionality. However, the current driver lacks link down handling, forcing users to reboot the system to recover. Implement the .reset_root_port() callback for link down handling for the Rockchip DWC PCIe host controller. The RC is reset, reconfigured, and link training initiated to recover from the link down event. This also by extension fixes issues with sysfs-initiated bus resets. Currently, the endpoint device is non-functional after a sysfs initiated bus reset (it may link up with downgraded link status). With the link down handling support, a sysfs initiated bus reset works as intended. Testing conducted on a ROCK5B board with an M.2 NVMe drive. Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com> Signed-off-by: Niklas Cassel <cassel@kernel.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> [bhelgaas: subject] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20260727172654.605988-4-cassel@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions