Skip to content

Add modem debug features

Sibi Sankar linux-arm-msm linux-remoteproc lkml stable 3 versions – Applied

Status from this message: This series was applied to andersson/remoteproc.git (refs/heads/for-next).

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesApplied
  2. v22 patches 3 repliesSuperseded
  3. v13 patches 10 repliesSuperseded

Changes in v3 from the cover letter

* Drop mba text log extraction support since its already picked up by Bjorn
* Fix dp_fw leak and create a separate func for dp load [Bjorn]
* Reset dp_size on mba_reclaim
* 2 new patches are included and they validate mba/modem blob size before load

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3remoteproc: qcom_q6v5_mss: Validate MBA firmware size before loaddrivers/remoteproc/qcom_q6v5_mss.c+6 -01 reply
2/3remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before loaddrivers/remoteproc/qcom_q6v5_mss.c+2 -31 reply
3/3remoteproc: qcom_q6v5_mss: Add modem debug policy supportdrivers/remoteproc/qcom_q6v5_mss.c+24 -11 reply

Reviews trailers per patch

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

PatchBjorn Andersson
1/3R-b
2/3R-b
3/3R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] Add modem debug features

The series adds support for the following modem debug features:
* Modem debug policy which enables coredumps/live debug on secure devices
* MBA text logs extraction on SC7180 SoCs

The series also includes fixes for a couple of mem aborts seen when mba/modem blob size exceeds mba/mpss regions respectively.

V3:
* Drop mba text log extraction support since its already picked up by Bjorn
* Fix dp_fw leak and create a separate func for dp load [Bjorn]
* Reset dp_size on mba_reclaim
* 2 new patches are included and they validate mba/modem blob size before load

V2:
* Use request_firmware_direct [Bjorn]
* Use Bjorn's template to show if debug policy is present
* Add size check to prevent memcpy out of bounds [Bjorn]
* Don't dump logs in mba_reclaim path [Bjorn]
* Move has_mba_logs check to q6v5_dump_mba_logs [Bjorn]
* SDM845 mss was incorrectly marked to support mba logs
* Drop patch 3 where mba text logs are added to imem

Sibi Sankar (3):
remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load
remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before
load
remoteproc: qcom_q6v5_mss: Add modem debug policy support

 drivers/remoteproc/qcom_q6v5_mss.c | 36 ++++++++++++++++++++++++++----
 1 file changed, 32 insertions(+), 4 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project