OSDN Git Service

ANDROID: arm64: suspend: Restore the UAO state
authorAmit Pundir <amit.pundir@linaro.org>
Thu, 4 May 2017 19:45:33 +0000 (01:15 +0530)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 4 May 2017 20:24:39 +0000 (01:54 +0530)
commit3c72862e8f645c2e2a936646e3568b45e44c268a
treee625af6cf6794a8e603b27c7d313dbd344406f89
parent4f8785184972bf230383dfbbda3e1c0b21dc2312
ANDROID: arm64: suspend: Restore the UAO state

Upstream commit d08544127d9f ("arm64: suspend: Reconfigure PSTATE
after resume from idle") when cherry-picked on LTS linux-4.4.y
removed UAO reset code because UAO is not supported in linux-4.4.y.

But common/android-4.4 has UAO support, added in Change-Id:
I1a6a74a1f33b92d54368bd99387b55cf62930903 ("UPSTREAM: arm64: kernel:
Add support for User Access Override").

This patch pick up the UAO specific changes of upstream commit
dropped in LTS cherry-pick.

Fixes: LTS commit 71710cd35a55 ("arm64: suspend: Reconfigure PSTATE after resume from idle")
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
arch/arm64/include/asm/exec.h
arch/arm64/kernel/process.c
arch/arm64/kernel/suspend.c