[0/2] remoteproc: mss: Improve memory assignment
mbox series

Message ID 20191031184632.2938295-1-bjorn.andersson@linaro.org
Headers show
  • remoteproc: mss: Improve memory assignment
Related show


Bjorn Andersson Oct. 31, 2019, 6:46 p.m. UTC
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(-)