remoteproc: qcom: Introduce helper to store pil info in IMEM
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 22 Jun 2020 19:19:39 +0000 (12:19 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 2 Jul 2020 05:10:18 +0000 (22:10 -0700)
commit549b67da660d634e3a4a50a325bd1f5609ddb84b
tree37ca550d4b90790aa791666daa857c9725b6adf9
parent87ad854dd76ca3534ef2e368265c3566a59e21e0
remoteproc: qcom: Introduce helper to store pil info in IMEM

A region in IMEM is used to communicate load addresses of remoteproc to
post mortem debug tools. Implement a helper function that can be used to
store this information in order to enable these tools to process
collected ramdumps.

Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200622191942.255460-3-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/Kconfig
drivers/remoteproc/Makefile
drivers/remoteproc/qcom_pil_info.c [new file with mode: 0644]
drivers/remoteproc/qcom_pil_info.h [new file with mode: 0644]