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)
committerLuan Yuan <luan.yuan@amlogic.com>
Mon, 17 Dec 2018 09:27:29 +0000 (17:27 +0800)
commit9beb643af8a33cdb202173feb7e6d4f923cfc6e3
treee38e0218f13c0f754d919321d71074a4cdf097ef
parent3cb6da402dfd3bacfd4431925a821626535d8865
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