]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: sysmon: Add ability to send type of notification
authorSiddharth Gupta <sidgup@codeaurora.org>
Wed, 8 Apr 2020 23:36:38 +0000 (16:36 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 20 Apr 2020 07:06:03 +0000 (00:06 -0700)
commit006ded3efa98022bd4cc7a3722c7df4b8b29d445
tree65a7e28d102ab85a88c4e3b36894f972da041c99
parent32e8cbbc501f28fa4cb7ccbd34a4e684f7c5e383
remoteproc: sysmon: Add ability to send type of notification

Current implementation of the sysmon driver does not support adding
notifications for other remoteproc events - prepare, start, unprepare.
Clients on the remoteproc side might be interested in knowing when a
remoteproc boots up. This change adds the ability to send the notification
type along with the name. For example, audio DSP is interested in knowing
when modem has crashed so that it can perform cleanup and wait for modem to
boot up before it starts processing data again.

Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Link: https://lore.kernel.org/r/1586389003-26675-2-git-send-email-sidgup@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_sysmon.c