Skip to content

Add memory ownership switch support and enable mss rproc on msm8996

Avaneesh Kumar Dwivedi linux-arm-msm linux-remoteproc lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest4 patches 1 replyIn review
  2. v74 patches 9 repliesSuperseded
  3. v64 patches 9 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v54 patches10 repliesSuperseded
v44 patches16 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4firmware: scm: Add new SCM call API for switching memory ownershipdrivers/firmware/qcom_scm-32.c drivers/firmware/qcom_scm-64.c drivers/firmware/qcom_scm.c +2 more+153 -01 reply
2/4remoteproc: qcom: refactor mss fw image loading sequencedrivers/remoteproc/qcom_q6v5_pil.c+8 -110 replies
3/4remoteproc: qcom: Make secure world call for mem ownership switchdrivers/remoteproc/qcom_q6v5_pil.c+88 -30 replies
4/4remoteproc: qcom: Add support for mss remoteproc on msm8996Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt drivers/remoteproc/qcom_q6v5_pil.c+141 -240 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchBjorn AnderssonAndy Gross
1/4A-b
2/4Tested-and-acked-by
3/4
4/4Tested-and-acked-by

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

Read the v8 thread

Cover letter [PATCH v8 0/4] Add memory ownership switch support and enable mss rproc on msm8996

Changes w.r.t. last patchset
1- Modify qcom_scm_assign_mem() to take pointer of source vmid's
and use it to save next set of owner vmid's.
2- Adds 32 bit of padding in struct qcom_scm_current_perm_info
3- Fixes other minor comments like removing blank line, using "true" in place of "1",
renaming certain local variables for better clarity and modifying code to look more uniform as per comment on last patch etc.

Avaneesh Kumar Dwivedi (4):
firmware: scm: Add new SCM call API for switching memory ownership
remoteproc: qcom: refactor mss fw image loading sequence
remoteproc: qcom: Make secure world call for mem ownership switch
remoteproc: qcom: Add support for mss remoteproc on msm8996

 .../devicetree/bindings/remoteproc/qcom,q6v5.txt   |   1 +
 drivers/firmware/qcom_scm-32.c                     |   7 +
 drivers/firmware/qcom_scm-64.c                     |  27 ++
 drivers/firmware/qcom_scm.c                        |  98 ++++++++
 drivers/firmware/qcom_scm.h                        |   5 +
 drivers/remoteproc/qcom_q6v5_pil.c                 | 274 ++++++++++++++++++---
 include/linux/qcom_scm.h                           |  16 ++
 7 files changed, 390 insertions(+), 38 deletions(-)
Signature · 2 lines
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.