linux-stable/drivers/remoteproc
Clement Leger 90fb92bb55 remoteproc: Fix wrong rvring index computation
commit 00a0eec59d upstream.

Index of rvring is computed using pointer arithmetic. However, since
rvring->rvdev->vring is the base of the vring array, computation
of rvring idx should be reversed. It previously lead to writing at negative
indices in the resource table.

Signed-off-by: Clement Leger <cleger@kalray.eu>
Link: https://lore.kernel.org/r/20191004073736.8327-1-cleger@kalray.eu
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Doug Anderson <dianders@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-02 17:25:47 +02:00
..
da8xx_remoteproc.c remoteproc/davinci: Use %zx for formating size_t 2019-11-20 18:45:25 +01:00
imx_rproc.c
Kconfig
keystone_remoteproc.c
Makefile
omap_remoteproc.c
omap_remoteproc.h
qcom_adsp_pil.c
qcom_common.c
qcom_common.h
qcom_q6v5.c remoteproc: qcom: q6v5: Fix a race condition on fatal crash 2019-11-24 08:20:29 +01:00
qcom_q6v5.h
qcom_q6v5_pil.c remoteproc: qcom: q6v5-mss: Add missing regulator for MSM8996 2020-01-27 14:50:10 +01:00
qcom_q6v5_wcss.c
qcom_sysmon.c
qcom_wcnss.c
qcom_wcnss.h
qcom_wcnss_iris.c
remoteproc_core.c remoteproc: Fix wrong rvring index computation 2020-05-02 17:25:47 +02:00
remoteproc_debugfs.c
remoteproc_elf_loader.c
remoteproc_internal.h
remoteproc_sysfs.c remoteproc: Check for NULL firmwares in sysfs interface 2019-11-24 08:20:29 +01:00
remoteproc_virtio.c
st_remoteproc.c
st_slim_rproc.c
wkup_m3_rproc.c