soc: qcom: mdt-loader: Return relocation base
authorBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 6 Jan 2018 00:04:19 +0000 (16:04 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 12 Feb 2018 19:05:38 +0000 (11:05 -0800)
commit4dd27f544c84c4d079049dd716beee192fcc7e03
treeb82e6bb9c5394d70e7d71e5273f0015e80099498
parentc1d35c1ab4242464a0e5953ae69de8aa78156c6c
soc: qcom: mdt-loader: Return relocation base

In order to implement support for grabbing core dumps in remoteproc it's
necessary to know the relocated base of the image, as the offsets from
the virtual memory base might not be based on the physical address.

Return the adjusted physical base address to the caller.

Acked-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/media/platform/qcom/venus/firmware.c
drivers/remoteproc/qcom_adsp_pil.c
drivers/remoteproc/qcom_wcnss.c
drivers/soc/qcom/mdt_loader.c
include/linux/soc/qcom/mdt_loader.h