Skip to content

MHI Emergency download and flash programmer support

Bhaumik Bhatt linux-arm-msm lkml 1 version Applied

Status from this message: Applied to mhi-next!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 13 repliesApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7bus: mhi: core: Rely on accurate method to determine EDL modedrivers/bus/mhi/core/boot.c+2 -11 replyApplied
2/7bus: mhi: core: Wait for ready after an EDL firmware downloaddrivers/bus/mhi/core/boot.c+4 -41 replyApplied
3/7bus: mhi: core: Handle EDL mode entry appropriatelydrivers/bus/mhi/core/pm.c+18 -12 repliesApplied
4/7bus: mhi: core: Add support for Flash Programmer execution environmentdrivers/bus/mhi/core/init.c drivers/bus/mhi/core/internal.h drivers/bus/mhi/core/main.c +2 more+15 -12 repliesApplied
5/7bus: mhi: core: Identify Flash Programmer as a mission mode use casedrivers/bus/mhi/core/internal.h+2 -11 replyApplied
6/7bus: mhi: core: Wait for MHI READY state in most scenariosdrivers/bus/mhi/core/boot.c drivers/bus/mhi/core/pm.c+3 -42 repliesApplied
7/7bus: mhi: core: Improve state strings for debug messagesdrivers/bus/mhi/core/init.c+17 -171 replyApplied

Reviews trailers per patch

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

PatchManivannan SadhasivamLoic Poulain
1/7R-b R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b
7/7R-b R-b

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

Read the v1 thread

Cover letter [PATCH v1 0/7] MHI Emergency download and flash programmer support

Allow handling EDL mode after SYS_ERROR occurs by reading the execution environment post handling and move to power on reset state to accommodate the scenario.
Handle EDL mode properly and wait for ready instead of just exiting from the firmware load.
Allow use of the Flash Programmer execution environment as a mission mode use case for a blank NAND power up scenario.
Always attempt a wait for MHI ready state as device could be waiting for the host to do so after pass through execution environment is seen. Introduce patch to improve state awareness and aid in debugging.

This patch series was tested on x86_64 architecture.

Bhaumik Bhatt (6):
bus: mhi: core: Rely on accurate method to determine EDL mode
bus: mhi: core: Wait for ready after an EDL firmware download
bus: mhi: core: Handle EDL mode entry appropriately
bus: mhi: core: Identify Flash Programmer as a mission mode use case
bus: mhi: core: Wait for MHI READY state in most scenarios
bus: mhi: core: Improve state strings for debug messages

Carl Yin (1):
bus: mhi: core: Add support for Flash Programmer execution environment

 drivers/bus/mhi/core/boot.c     | 13 +++++++------
 drivers/bus/mhi/core/init.c     | 34 ++++++++++++++++++----------------
 drivers/bus/mhi/core/internal.h |  4 +++-
 drivers/bus/mhi/core/main.c     |  3 +++
 drivers/bus/mhi/core/pm.c       | 28 +++++++++++++++++++++++++---
 include/linux/mhi.h             |  4 +++-
 6 files changed, 59 insertions(+), 27 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project