Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 254056f3 authored by Colin Cross's avatar Colin Cross Committed by Santosh Shilimkar
Browse files

ARM: gic: Use cpu pm notifiers to save gic state



When the cpu is powered down in a low power mode, the gic cpu
interface may be reset, and when the cpu cluster is powered
down, the gic distributor may also be reset.

This patch uses CPU_PM_ENTER and CPU_PM_EXIT notifiers to save
and restore the gic cpu interface registers, and the
CPU_CLUSTER_PM_ENTER and CPU_CLUSTER_PM_EXIT notifiers to save
and restore the gic distributor registers.

Original-author: Gary King <gking@nvidia.com>
Signed-off-by: default avatarColin Cross <ccross@android.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
Tested-and-Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Tested-by: default avatarVishwanath BS <vishwanath.bs@ti.com>
parent 1fb90263
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment