[PATCH v2 0/2] bus: mhi: host: pci_generic: Improve boot performance and cleanup
Qiang Yu <[email protected]> Tue, 03 Mar 2026 01:02:12 -0800
| Newsgroups | dev.linux.lists.mhi,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
This series addresses boot performance issues with MHI PCI generic driver and adds proper cleanup in the remove path. Some modems like SDX75 take up to 20 seconds to initialize, which blocks system boot while waiting for them to reach mission mode. The first patch switches to async power up so the driver can return immediately and let initialization happen in the background. The second patch adds the missing pm_runtime_forbid() call in remove to balance the pm_runtime_allow() from probe. Changes in v2: - Make a separated patch for pm_runtime_forbid in remove callback. - Link to v1: https://lore.kernel.org/r/[email protected] Signed-off-by: Qiang Yu <[email protected]> --- Qiang Yu (2): bus: mhi: host: pci_generic: Switch to async power up to avoid boot delays bus: mhi: host: pci_generic: Add pm_runtime_forbid() in remove callback drivers/bus/mhi/host/pci_generic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- base-commit: 6a7084102bb9659f699005c420eb59eade6d3b4f change-id: 20260303-b4-async_power_on-9191ce9e8e2e Best regards, -- Qiang Yu <[email protected]>