]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: EXYNOS5: Fix kernel dump in AFTR idle mode
authorInderpal Singh <inderpal.singh@linaro.org>
Mon, 29 Apr 2013 11:31:47 +0000 (17:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 May 2013 18:38:41 +0000 (11:38 -0700)
commit56b02ed3e6e99fcf97a4eef0fccba2bb70e44975
tree8aae6a1ca39c49e2125ced0426e53fb5adb60d53
parenta7a715466b67d5c0c1c29f7785838393a45c3700
ARM: EXYNOS5: Fix kernel dump in AFTR idle mode

commit 088584618836b159947bc4ab5011a5cf1f081a62 upstream.

The kernel crashes while resuming from AFTR idle mode. It happens
because L2 cache was not going into retention state.

This patch configures the USE_RETENTION bit of ARM_L2_OPTION register
so that it does not depend on MANUAL_L2RSTDISABLE_CONTROL of
ARM_COMMON_OPTION register for L2RSTDISABLE signal.

Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Tested-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-exynos/include/mach/regs-pmu.h
arch/arm/mach-exynos/pmu.c