Skip to content

FROMLIST: bus: mhi: host: pci_generic: Switch to async power up to avoid boot delays#945

Open
ziyuezhang-123 wants to merge 2 commits intoqualcomm-linux:tech/bus/pci/allfrom
ziyuezhang-123:cr446890
Open

FROMLIST: bus: mhi: host: pci_generic: Switch to async power up to avoid boot delays#945
ziyuezhang-123 wants to merge 2 commits intoqualcomm-linux:tech/bus/pci/allfrom
ziyuezhang-123:cr446890

Conversation

@ziyuezhang-123
Copy link
Copy Markdown

@ziyuezhang-123 ziyuezhang-123 commented Apr 15, 2026

Some modem devices can take significant time (up to 20 secs for sdx75) to
enter mission mode during initialization. Currently, mhi_sync_power_up()
waits for this entire process to complete, blocking other driver probes
and delaying system boot.

Switch to mhi_async_power_up() so probe can return immediately while MHI
initialization continues in the background. This eliminates lengthy boot
delays and allows other drivers to probe in parallel, improving overall
system boot performance.

CRs-Fixed: 4468490

Ziyue Zhang added 2 commits April 15, 2026 14:27
…oid boot delays

Some modem devices can take significant time (up to 20 secs for sdx75) to
enter mission mode during initialization. Currently, mhi_sync_power_up()
waits for this entire process to complete, blocking other driver probes
and delaying system boot.

Switch to mhi_async_power_up() so probe can return immediately while MHI
initialization continues in the background. This eliminates lengthy boot
delays and allows other drivers to probe in parallel, improving overall
system boot performance.

Link: https://lore.kernel.org/all/20260303-b4-async_power_on-v2-1-d3db81eb457d@oss.qualcomm.com/
Fixes: 5571519 ("bus: mhi: host: pci_generic: Add SDX75 based modem support")
Cc: stable@vger.kernel.org
Signed-off-by: Qiang Yu <qiang.yu@oss.qualcomm.com>
…ove callback

Add pm_runtime_forbid() to balance the pm_runtime_allow() call made
during probe. Without this, the device remains in runtime PM allowed
state after driver removal.

Link: https://lore.kernel.org/all/20260303-b4-async_power_on-v2-2-d3db81eb457d@oss.qualcomm.com/
Fixes: 855a70c ("bus: mhi: Add MHI PCI support for WWAN modems")
Signed-off-by: Qiang Yu <qiang.yu@oss.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant