Skip to content

ARM: exynos4210: Add l2 retention mode cpuidle state

Kukjin Kim linux-arm-kernel linux-samsung-soc 2 versions – New

Get series with b4
b4 am '00b101ccf089$9af75cf0$d0e616d0$%[email protected]'

Versions newest first · linked by author and title

  1. v6 Latest3 of 5 patches 0 repliesNew
  2. v40 of 5 patches 0 repliesSuperseded

3 of 5 patches are in this archive. The cover letter announces 5.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ARM: exynos: Add support AFTR mode on EXYNOS4210+0 -00 replies
1/5ARM: exynos: Add support AFTR mode on EXYNOS4210+0 -00 replies
1/5ARM: exynos: Add support AFTR mode on EXYNOS4210+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH V6 0/5] ARM: exynos4210: Add l2 retention mode cpuidle state
Quoted 45 lines · Amit Daniel Kachhap

Changes since V5:
*Rebased the patchset against kernel 3.3-rc4
*Added correct flag for exynos4210 evt1 based board *Removed CONFIG_OF from l2 cache configuration as suggested by
Olof Johansson <[email protected]>

Changes since V4:
*Rebased the patchset against for-next of samsung kernel tree. *Added Tushar suggestion of putting a check if L2 cache dt node not found. *Added Inder suggestion of removing the BUG_ON check in cpuidle driver.

Changes since V3:
*Implemented Russell feedback and moved sleep magic 4byte memory before s3c_cpu_resume to data section.

Changes since V2:
*Implemented the suggestion of MyungJoo Ham and used INFORM0/1 registers for resume for some board versions.
*Added back save/restore through CPU PM notifiers as suggested by Lorenzo Pieralisi. This is useful to restore vfp state. *some patch modularization (s5p/exynos) and proper commit logs.

Changes since V1:
*rebased the whole patch against 3.2-rc1 tree
*removed GIC save/restore in AFTR cpuidle state as it is external to cpu powerdomain
*Added L2 setup code through device tree
*Removed only l2 save/restore registers in sleep

This Patch series adds support for AFTR mode cpuidle state based on patch (http://www.spinics.net/lists/arm-kernel/msg132243.html) earlier submitted by Jaecheol Lee <[email protected]>.

This patch uses CPU PM notifiers , common l2 save/restore and new cpu_suspend/resume interfaces and is based on the tip of master branch of kernel.org tree(v3.3-rc4)

Amit Daniel Kachhap (5):
ARM: exynos: Add support AFTR mode on EXYNOS4210
ARM: s5p: add L2 early resume code
ARM: exynos: save L2 settings during bootup
ARM: exynos: remove useless code to save/restore L2
ARM: exynos: Enable l2 configuration through device tree

Quoted 7 lines
 arch/arm/mach-exynos/common.c           |   53 +++++++++---
 arch/arm/mach-exynos/cpuidle.c          |  147
++++++++++++++++++++++++++++++-
 arch/arm/mach-exynos/include/mach/pmu.h |    2 +
 arch/arm/mach-exynos/pm.c               |   15 ---
 arch/arm/plat-s5p/sleep.S               |   44 ++++++++--
 5 files changed, 225 insertions(+), 36 deletions(-)

Cc'ed Jaecheol Lee and Rob Lee.

OK, looks ok to me and I got the report this works fine on SMDKV310 from Jaecheol Lee.

I will apply this whole series for v3.4, but I'm not sure how conflicts will happen with common cpuidle. Let me check it.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.