Commit 692c3e25 authored by Colin Cross's avatar Colin Cross Committed by Trilok Soni
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.

Change-Id: Ifad58fe6c9068d48b0515e444ae528619e036125
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>
[kumarrav@codeaurora.org: fixup gic.h merge conflict]
Signed-off-by: default avatarRavi Kumar <kumarrav@codeaurora.org>
parent c1ab5d37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment