mm: fix suspend crash on u200 [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Wed, 12 Dec 2018 06:37:26 +0000 (14:37 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 13 Dec 2018 07:16:47 +0000 (23:16 -0800)
commit00dc43b368dd8afee8ccd75b763c74589d7c16a1
tree29f9f7ce1ec42a05ff3d4fe3aec86e8d63879403
parent8ad0509384def9496670a6a396384c37b77a6ef5
mm: fix suspend crash on u200 [1/1]

PD#SWPL-1219

Problem:
When open vmap stack, suspend will fail on U200. If open cpu idle,
resume from idle will fail too.

Solution:
set up vmap stack early before open IRQ. If set up this stack late
than IRQ open, stack will point to a ramdom address

Verify:
u200

Change-Id: Ie60f6faadf9afece47ccc887a0af46814f070897
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
arch/arm64/kernel/suspend.c
drivers/amlogic/pm/gx_pm.c