[PATCH v2 0/2] remoteproc: mss: Improve mem_assign and firmware load

From: Bjorn Andersson
Date: Fri Nov 08 2019 - 19:40:48 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 | 92 +++++++++++++++++++-----------
1 file changed, 59 insertions(+), 33 deletions(-)

--
2.23.0