mbox series

[v3,0/3] Add modem debug features

Message ID 20200722201047.12975-1-sibis@codeaurora.org (mailing list archive)
Headers show
Series Add modem debug features | expand

Message

Sibi Sankar July 22, 2020, 8:10 p.m. UTC
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(-)