mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] bus: mhi: host: pci_generic: Improve boot performance and cleanup
@ 2026-03-03  9:02 Qiang Yu
  2026-03-03  9:02 ` [PATCH v2 1/2] bus: mhi: host: pci_generic: Switch to async power up to avoid boot delays Qiang Yu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Qiang Yu @ 2026-03-03  9:02 UTC (permalink / raw)
  To: Manivannan Sadhasivam, Qiang Yu, Hemant Kumar, Bhaumik Bhatt,
	Loic Poulain
  Cc: mhi, linux-arm-msm, linux-kernel, Qiang Yu, stable

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>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-03-06  7:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-03  9:02 [PATCH v2 0/2] bus: mhi: host: pci_generic: Improve boot performance and cleanup Qiang Yu
2026-03-03  9:02 ` [PATCH v2 1/2] bus: mhi: host: pci_generic: Switch to async power up to avoid boot delays Qiang Yu
2026-03-03  9:02 ` [PATCH v2 2/2] bus: mhi: host: pci_generic: Add pm_runtime_forbid() in remove callback Qiang Yu
2026-03-06  7:42   ` Manivannan Sadhasivam
2026-03-06  7:41 ` [PATCH v2 0/2] bus: mhi: host: pci_generic: Improve boot performance and cleanup Manivannan Sadhasivam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®