diff options
author | Colin Cross <ccross@android.com> | 2011-02-10 12:54:10 -0800 |
---|---|---|
committer | Christian Neumüller <cn00@gmx.at> | 2014-12-30 12:53:42 +0100 |
commit | 55485801fb3b431743f029c5f8d0e9b1a2f8367f (patch) | |
tree | a5135dc2415d646932924699aacaf866082faf86 /arch/arm/mach-exynos/cpuidle-exynos4.c | |
parent | 2aa59856aabcf472c54ca1f737ef1acd1e746afd (diff) | |
download | kernel_samsung_smdk4412-55485801fb3b431743f029c5f8d0e9b1a2f8367f.zip kernel_samsung_smdk4412-55485801fb3b431743f029c5f8d0e9b1a2f8367f.tar.gz kernel_samsung_smdk4412-55485801fb3b431743f029c5f8d0e9b1a2f8367f.tar.bz2 |
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.
Merge note:
Samsung had already applied the changes to struct gic_chip_data, although it
still remains in the .c file instead of having been moved to the header.
Original-author: Gary King <gking@nvidia.com>
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Conflicts:
arch/arm/include/asm/hardware/gic.h
Change-Id: I50b5cdd161637ff7b871ac5ffb30d669ec60c662
Diffstat (limited to 'arch/arm/mach-exynos/cpuidle-exynos4.c')
0 files changed, 0 insertions, 0 deletions