[PATCH 0/2] bus: mhi: host: Do not abort system suspend when the MHI device is busy
From: Manivannan Sadhasivam via B4 Relay
Date: Wed Dec 02 2026 - 03:44:19 EST
Hi,
This series fixes the system suspend issue reported on both Qcom Glymur based
laptops and Lenovo Thinkpad T16. The MHI driver was preventing the system
suspend by erroring out the suspend callback if the device was busy. But now,
the series tries to drain the in flight uplink transfers and proceeds with the
system suspend upon timeout. During resume, the resume callback will recover
the device if needed.
This series supersedes the series from Len Brown [1], which just ignored the
error returned by the suspend callback. That lets system suspend proceed, but
the failed suspend has already cleared MHI_PCI_DEV_SUSPENDED, so the resume
callback bails out early and never recovers a device that lost power while
suspended.
[1] https://lore.kernel.org/mhi/20261113151940.2922539-1-lenb@xxxxxxxxxx
Testing
=======
I've tested this series on Glymur CRD. But testing needs to be done on Lenovo
Thinkpad T16. I hope Len can test it on his machine.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
---
Manivannan Sadhasivam (2):
bus: mhi: host: Add mhi_pm_suspend_force() API
bus: mhi: host: pci_generic: Use mhi_pm_suspend_force() for system suspend
drivers/bus/mhi/host/internal.h | 3 +++
drivers/bus/mhi/host/pci_generic.c | 18 +++++++++++++-----
drivers/bus/mhi/host/pm.c | 38 ++++++++++++++++++++++++++++++++------
include/linux/mhi.h | 14 ++++++++++++++
4 files changed, 62 insertions(+), 11 deletions(-)
---
base-commit: c1d8ed37bf1b82c83c10a390890609e1165bdca4
change-id: 20261202-mhi-suspend-fix-a80ed1ec0dd9
Best regards,
--
மணிவண்ணன் சதாசிவம்