[PATCH 0/2] remoteproc: mss: Improve memory assignment

From: Bjorn Andersson
Date: Thu Oct 31 2019 - 14:46:39 EST


Two things came up in the effort of figuring out why the modem crashed the
entire system when being restarted; the first one solves the actual problem, in
that it's not possible to reclaim the main modem firmware region unless the
modem subsystem is running - causing the crash.

The second patch aligns the firmware loading process to that of the downstream
driver, which seems to be a requirement in 8974 as well.

Bjorn Andersson (2):
remoteproc: qcom_q6v5_mss: Don't reassign mpss region on shutdown
remoteproc: qcom_q6v5_mss: Validate each segment during loading

drivers/remoteproc/qcom_q6v5_mss.c | 85 +++++++++++++++++++-----------
1 file changed, 53 insertions(+), 32 deletions(-)

--
2.23.0