Skip to content

Polling for MHI ready

Bhaumik Bhatt linux-arm-msm lkml 5 versions – Applied

Status from this message: Applied to mhi-next!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 3 repliesApplied 2/2
  2. v52 patches 4 repliesSuperseded
  3. v43 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v33 patches7 repliesSuperseded
v23 patches0 repliesSuperseded

Changes in v6 from the cover letter

-Fix return error code for mhi_poll_reg_field()
-Do not recode when returning from mhi_ready_state_transition() if polling fails

Patches in v6 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bus: mhi: core: Introduce internal register poll helper functiondrivers/bus/mhi/core/internal.h drivers/bus/mhi/core/main.c+26 -01 replyApplied
2/2bus: mhi: core: Move to polling method to wait for MHI readydrivers/bus/mhi/core/pm.c+16 -181 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLoic PoulainManivannan Sadhasivam
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/2] Polling for MHI ready

v6:
-Fix return error code for mhi_poll_reg_field()
-Do not recode when returning from mhi_ready_state_transition() if polling fails

v5:
-Use fsleep in place of udelay or usleep_range to accommodate better delay use -Drop patch for polling during RDDM panic path as new API cannot be used there

v4:
-Added reviewed-by tag
-Return appropriate error code from mhi_poll_reg_field() -Fixed bug where mhi_poll_reg_field() returns success if polling times out -Added an interval_us variable in mhi_ready_state_transition()

v3:
-Removed config changes that crept in in the first patch

v2:
-Addressed review comments
-Introduce new patch for to use controller defined read_reg() for polling -Add usage in RDDM download panic path as well

Bhaumik Bhatt (2):
bus: mhi: core: Introduce internal register poll helper function
bus: mhi: core: Move to polling method to wait for MHI ready

 drivers/bus/mhi/core/internal.h |  3 +++
 drivers/bus/mhi/core/main.c     | 23 +++++++++++++++++++++++
 drivers/bus/mhi/core/pm.c       | 34 ++++++++++++++++------------------
 3 files changed, 42 insertions(+), 18 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project