[PATCH v2 0/2] bus: mhi: host: pci_generic: Improve boot performance and cleanup

Qiang Yu posted 2 patches 1 month, 1 week ago
drivers/bus/mhi/host/pci_generic.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH v2 0/2] bus: mhi: host: pci_generic: Improve boot performance and cleanup
Posted by Qiang Yu 1 month, 1 week ago
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/20260122-mhi_async_probe-v1-1-b5cb2a3629d0@oss.qualcomm.com

Signed-off-by: Qiang Yu <qiang.yu@oss.qualcomm.com>
---
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 <qiang.yu@oss.qualcomm.com>
Re: [PATCH v2 0/2] bus: mhi: host: pci_generic: Improve boot performance and cleanup
Posted by Manivannan Sadhasivam 1 month, 1 week ago
On Tue, 03 Mar 2026 01:02:12 -0800, Qiang Yu wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/2] bus: mhi: host: pci_generic: Switch to async power up to avoid boot delays
      commit: cfdb41adf1c2822ad1b1791d4d11093edb5582b6
[2/2] bus: mhi: host: pci_generic: Add pm_runtime_forbid() in remove callback
      commit: f227b246307e0cf3091e13e7fbae3974aaf38eb9

Best regards,
-- 
Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>