public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Howto test OFF Mode Support
@ 2008-11-18 15:25 Sriram V
  2008-11-18 18:57 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Sriram V @ 2008-11-18 15:25 UTC (permalink / raw)
  To: linux-omap

Hi,
   I am using I am using the pm-20081106 on omap3evm.
   I am trying to test if various pwr domains are set to OFF State.
   Basically i want to test if various power domains (mpu/core) are being
   set to different states
    i see that core/mpu domain does not enter OFF/RET state.

    $ /debug/pm_debug # cat count
      usbhost_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1
     sgx_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1
     per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1
     dss_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1
     cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1
     core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1
     neon_pwrdm (ON),OFF:0,RET:0,INA:7646,ON:7647
    mpu_pwrdm (ON),OFF:0,RET:0,INA:7646,ON:7647
    iva2_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1

   I notice that with pm support enable. The entire system is somewhat slow.
   uart responses are very slow. has anyone observed this before?

   Are these states depended on clocks on/off? ie if i put the states
   to OFF/RET should i take care of the clocks too?

    On running powertop, I see states upto C4 only.
   i can see changes across C0, C2, C4 states.

    PowerTOP version 1.9       (C) 2007 Intel Corporation

      Cn                Avg residency       P-states (frequencies)
      C0 (cpu running)        ( 0.2%)
      C1                0.0ms ( 0.0%)
      C2                4.8ms ( 0.3%)
      C3                7.3ms ( 0.5%)
      C4                0.0ms ( 0.0%)

     Wakeups-from-idle per second :  3.0     interval: 3.0s

   I tried to set sysfs entry enable_off_mode = 1, I can see that some
of the domains
   are set to OFF mode through debug print. But not core/mpu domains.

   Is there any reason why off mode can be set manually and not
through cpu idle?

   has anyone tried this with pm-20081106.

   Are there any utilities/methods to test cpu idle/pm in general other than
   analyzing these debug prints.

   am looking at power tester.

Regards,
sriram

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-18 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-18 15:25 Howto test OFF Mode Support Sriram V
2008-11-18 18:57 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox