Skip to content

ARM: OMAP2+: powerdomain updates after the functional power state conversion

Paul Walmsley linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ARM: OMAP2+: powerdomain: consolidate arch_pwrdm check codearch/arm/mach-omap2/powerdomain.c+18 -250 replies
2/12ARM: OMAP2+: PM/powerdomain: move the power state time tracking into the powerdomain codearch/arm/mach-omap2/pm-debug.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/powerdomain.c+21 -310 replies
3/12ARM: OMAP2+: powerdomain: split pwrdm_state_switch()arch/arm/mach-omap2/powerdomain.c arch/arm/mach-omap2/powerdomain.h+76 -430 replies
4/12ARM: OMAP2+: PM: clean up some debugfs functionsarch/arm/mach-omap2/clockdomain.c arch/arm/mach-omap2/clockdomain.h arch/arm/mach-omap2/pm-debug.c +2 more+111 -750 replies
5/12ARM: OMAP2+: powerdomain: remove some redundant checks; add some notesarch/arm/mach-omap2/powerdomain.c+11 -70 replies
6/12ARM: OMAP2+: CM: use the cached copy of the clockdomain's hwsup statearch/arm/mach-omap2/cm2xxx.c arch/arm/mach-omap2/cm3xxx.c+4 -290 replies
7/12ARM: OMAP2+: powerdomain: cache the powerdomain next power statearch/arm/mach-omap2/powerdomain.c arch/arm/mach-omap2/powerdomain.h+46 -350 replies
8/12ARM: OMAP2+: powerdomain: cache the powerdomain's previous power statearch/arm/mach-omap2/powerdomain.c arch/arm/mach-omap2/powerdomain.h+23 -00 replies
9/12ARM: OMAP2+: powerdomain: skip register reads for powerdomains known to be onarch/arm/mach-omap2/powerdomain.c arch/arm/mach-omap2/powerdomain.h arch/arm/mach-omap2/powerdomains2xxx_data.c +3 more+24 -84 replies
9/12ARM: OMAP2+: powerdomain: skip register reads for powerdomains known to be on+0 -01 reply
9/12ARM: OMAP2+: powerdomain: skip register reads for powerdomains known to be on+0 -00 replies
10/12ARM: OMAP2+: powerdomain: skip previous-power-state read if next_pwrst is ONarch/arm/mach-omap2/powerdomain.c+3 -10 replies
11/12ARM: OMAP2xxx: powerdomain: add previous power state trackingarch/arm/mach-omap2/prm2xxx.c+12 -00 replies
12/12ARM: OMAP2xxx: PM: add pwrdm_(pre|post)_transition() calls to the 2xxx PM codearch/arm/mach-omap2/pm24xx.c+8 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/12] ARM: OMAP2+: powerdomain updates after the functional power state conversion

OMAP powerdomain code updates, implemented on top of the functional power state conversion series. This series fixes the powerdomain handling for OMAP2xxx, adds caching for the powerdomain next-power-state and previous-power-state register bitfields, and some cleanup that's intended to make it easier to move the powerdomain code out to drivers/.

- Paul

---

vmlinux object size
(delta in bytes from TEST_func_powerstates_devel_3.9 (6d8345f4177c976eca1a1368cdd68e95f80c3f27)):

   text     data      bss    total  kernel
    -68      +48        0      -20  am33xx_only
   -136      +48        0      -88  n800_multi_omap2xxx
   -128      +48        0      -80  n800_only_a
      0        0        0        0  omap1_defconfig
      0        0        0        0  omap1_defconfig_1510innovator_only
      0        0        0        0  omap1_defconfig_5912osk_only
    -32     +368        0     +336  omap2plus_defconfig
    +20      +16        0      +36  omap2plus_defconfig_2430sdp_only
    -32     +432        0     +400  omap2plus_defconfig_cpupm
   +572     +192        0     +764  omap2plus_defconfig_no_pm
    -20     +208        0     +188  omap2plus_defconfig_omap2_4_only
    -84     +304        0     +220  omap2plus_defconfig_omap3_4_only
   +708     +200     -104     +804  rmk_omap3430_ldp_allnoconfig
   +352     +128        0     +480  rmk_omap3430_ldp_oldconfig
   +708     +200     -104     +804  rmk_omap4430_sdp_allnoconfig
   -164       +8        0     -156  rmk_omap4430_sdp_oldconfig

Paul Walmsley (12):
ARM: OMAP2+: powerdomain: consolidate arch_pwrdm check code
ARM: OMAP2+: PM/powerdomain: move the power state time tracking into the powerdomain code
ARM: OMAP2+: powerdomain: split pwrdm_state_switch()
ARM: OMAP2+: PM: clean up some debugfs functions
ARM: OMAP2+: powerdomain: remove some redundant checks; add some notes
ARM: OMAP2+: CM: use the cached copy of the clockdomain's hwsup state
ARM: OMAP2+: powerdomain: cache the powerdomain next power state
ARM: OMAP2+: powerdomain: cache the powerdomain's previous power state
ARM: OMAP2+: powerdomain: skip register reads for powerdomains known to be on
ARM: OMAP2+: powerdomain: skip previous-power-state read if next_pwrst is ON
ARM: OMAP2xxx: powerdomain: add previous power state tracking
ARM: OMAP2xxx: PM: add pwrdm_(pre|post)_transition() calls to the 2xxx PM code

 arch/arm/mach-omap2/clockdomain.c           |   18 +
 arch/arm/mach-omap2/clockdomain.h           |    2 
 arch/arm/mach-omap2/cm2xxx.c                |   19 -
 arch/arm/mach-omap2/cm3xxx.c                |   14 -
 arch/arm/mach-omap2/pm-debug.c              |  101 --------
 arch/arm/mach-omap2/pm.h                    |    6 
 arch/arm/mach-omap2/pm24xx.c                |    8 +
 arch/arm/mach-omap2/powerdomain.c           |  352 +++++++++++++++++++--------
 arch/arm/mach-omap2/powerdomain.h           |   40 +++
 arch/arm/mach-omap2/powerdomains2xxx_data.c |    2 
 arch/arm/mach-omap2/powerdomains33xx_data.c |    3 
 arch/arm/mach-omap2/powerdomains3xxx_data.c |    9 -
 arch/arm/mach-omap2/powerdomains44xx_data.c |    5 
 arch/arm/mach-omap2/prm2xxx.c               |   12 +
 14 files changed, 347 insertions(+), 244 deletions(-)