Skip to content

remoteproc: qcom: Add callbacks for remoteproc events

Siddharth Gupta linux-arm-kernel linux-arm-msm linux-remoteproc lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 12 repliesIn review
  2. v16 patches 11 repliesSuperseded

Changes in v2 from the cover letter

- Patch 3 updated to add comments and check for sysmon ssctl_version, and updated commit text based on Mathieu's comments [1].

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6remoteproc: sysmon: Add ability to send type of notificationdrivers/remoteproc/qcom_sysmon.c+37 -172 replies
2/6remoteproc: sysmon: Add notifications for eventsdrivers/remoteproc/qcom_sysmon.c+37 -02 replies
3/6remoteproc: sysmon: Inform current rproc about all active rprocsdrivers/remoteproc/qcom_sysmon.c+25 -02 replies
4/6remoteproc: qcom: Add name field for every subdevicedrivers/remoteproc/qcom_common.c include/linux/remoteproc.h+8 -02 replies
5/6remoteproc: qcom: Add per subsystem SSR notificationdrivers/remoteproc/qcom_common.c drivers/remoteproc/qcom_common.h drivers/soc/qcom/glink_ssr.c +1 more+69 -182 replies
6/6remoteproc: qcom: Add notification types to SSRdrivers/remoteproc/qcom_common.c include/linux/remoteproc.h+50 -42 replies

Reviews trailers per patch

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

PatchMathieu PoirierBjorn Andersson
1/6A-b R-b
2/6A-b R-b
3/6A-b R-b
4/6A-b
5/6A-b
6/6A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/6] remoteproc: qcom: Add callbacks for remoteproc events

This patch series adds the usecases for SSR and Sysmon subdevices which are used by remoteprocs and kernel client drivers relying on those remoteprocs.

Patch 1-3 adds callbacks for prepare, start and unprepare events, and also type
of sysmon notification.
Patch 4-6 adds a per subsystem notifier chain, callbacks for prepare, start
and stop events for ssr subdevice.

Changes since v1:
- Patch 3 updated to add comments and check for sysmon ssctl_version, and updated commit text based on Mathieu's comments [1].

[1]: https://lkml.org/lkml/2020/2/27/1802

Rishabh Bhatnagar (1):
remoteproc: qcom: Add name field for every subdevice

Siddharth Gupta (5):
remoteproc: sysmon: Add ability to send type of notification
remoteproc: sysmon: Add notifications for events
remoteproc: sysmon: Inform current rproc about all active rprocs
remoteproc: qcom: Add per subsystem SSR notification
remoteproc: qcom: Add notification types to SSR

 drivers/remoteproc/qcom_common.c      |  86 +++++++++++++++++++++----
 drivers/remoteproc/qcom_common.h      |   1 +
 drivers/remoteproc/qcom_sysmon.c      | 116 +++++++++++++++++++++++++++++-----
 drivers/soc/qcom/glink_ssr.c          |  20 +++++-
 include/linux/remoteproc.h            |  17 +++++
 include/linux/remoteproc/qcom_rproc.h |  17 +++--
 6 files changed, 222 insertions(+), 35 deletions(-)
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project