MLK-13994-1: ARM: imx7ulp: add acknowledgement for vlls message notification
authorRobin Gong <yibin.gong@nxp.com>
Fri, 17 Feb 2017 07:48:56 +0000 (15:48 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:44 +0000 (15:10 -0500)
commit1bfd33daa8ea25ffbdfe13cf4dc62bed9026b0ac
tree7d9b4db6a5a0df1a1d45da07b902150bbd748215
parentfe59a63b819dc952e83b61f68295e6149d1e08d1
MLK-13994-1: ARM: imx7ulp: add acknowledgement for vlls message notification

Now, M4 rpmsg add free buffer feature that free the reciever buffer and update
some rpmsg structure data in share memory(DDR) once M4 receive the message from
A7 side, that means M4 will access DDR after it receive the vlls message(A7 enter
VLLS mode quickly), thus M4 hang because DDR in slef-refresh...
This patch move the vlls message notification ahead to driver suspend and add
acknowledgement to make sure no any DDR access comes from M4 side after A7 enter
suspend.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/pm-imx7ulp.c
arch/arm/mach-imx/pm-rpmsg.c