[PATCH v2 0/2] PCI: qcom: Add support for firmware-managed PCIe controller recovery
From: Mrinmay Sarkar
Date: Fri Nov 27 2026 - 09:43:32 EST
This series adds recovery support for firmware-managed Qualcomm PCIe
controllers.
For these controllers, firmware manages resources such as PHY, clocks,
resets and LTSSM through the power-domain framework.
Patch 1 adds Root Port reset support by power-cycling the controller
through Runtime PM, allowing firmware to reset and reinitialize the
hardware.
Patch 2 restores the DesignWare MSI configuration after resume, as MSI
register contents are lost across the controller power cycle.
Signed-off-by: Mrinmay Sarkar <mrinmay.sarkar@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Guard reset_root_port() registration with CONFIG_PM_SLEEP and mention
the same in commit text too.
- Link to v1: https://patch.msgid.link/20261016-pcie-controller-reset-v1-0-51779736cf12@xxxxxxxxxxxxxxxx
---
Mrinmay Sarkar (2):
PCI: qcom: Implement .reset_root_port() for firmware-managed controllers
PCI: qcom: Reinitialize MSI on resume for firmware-managed controllers
drivers/pci/controller/dwc/pcie-qcom.c | 42 +++++++++++++++++++++++++++++++++-
1 file changed, 41 insertions(+), 1 deletion(-)
---
base-commit: b810335a0699d1810683796b0e3ffe8827ddfe6c
change-id: 20261016-pcie-controller-reset-8938e4bac060
Best regards,
--
Mrinmay Sarkar <mrinmay.sarkar@xxxxxxxxxxxxxxxx>