Re: [PATCH v2] PCI: starfive: Fix Runtime PM handling and teardown ordering
Manivannan Sadhasivam <[email protected]>
| Newsgroups | org.kernel.vger.linux-pci,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178534333235.895157.11343655120755683200.b4-ty@b4> |
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,
--
மணிவண்ணன் சதாசிவம்