Re: [PATCH v2] PCI: starfive: Fix Runtime PM handling and teardown ordering
From: Manivannan Sadhasivam
Date: Wed Jul 29 2026 - 13:19:48 EST
On Sat, 18 Jul 2026 18:38:25 +0500, Ali Tariq wrote:
> The starfive_pcie_remove() path incorrectly disabled runtime PM
> before executing plda_pcie_host_deinit(),
> which can cause unmanaged hardware register access
> while power domains or clocks are disabled.
>
> Fix this by restructuring starfive_pcie_remove() to deinitialize
> the host hardware first while runtime PM is active,
> followed by a synchronous pm_runtime_put_sync() and pm_runtime_disable().
>
> [...]
Applied, thanks!
[1/1] PCI: starfive: Fix Runtime PM handling and teardown ordering
commit: fb9f7973473fc30d62e0f5f90d59df8ef5223777
Best regards,
--
மணிவண்ணன் சதாசிவம்