Adding Vincent to comment on current draw with cpuidle on Snowball.
On 6 April 2012 04:29, Kejun Zhou kejun.zhou@linaro.org wrote:
Hi Andrey,
I am Kejun from Linaro Android team. I got a task to integrate the CPUIDLE to Linaro Android kernel branch from Zach.
I found the CPUIDLE is included in linux-linaro-3.3-2012.03-2 from your email, and merged Snowball CPUIDLE to linaro-android-12.03-release kernel.
I have some questions about how to verify whether this CPUIDLE feature is integrated or not.
- I found that the cpu_do_idle() is executed. But the code in "if () "
won't be executed after Android starting up. And the current is between 380mA ~ 490mA, I thinks when CPUIDLE is working, the current should be more low than 380mA.
static inline int ux500_enter_idle(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) {
.. if (atomic_inc_return(&master) == num_online_cpus()) {
.. }
wfi: cpu_do_idle()
... }
- Is there some method to test the CPUIDLE feature from the Linux console?
Thanks a lot.
BRs, Kejun.
On 28 March 2012 04:11, Andrey Konovalov andrey.konovalov@linaro.org wrote:
Greetings,
The Linaro Kernel Working Group (KWG) and the Linaro Platform Group are excited to announce the availability our March 2012 development snapshot:
linux-linaro-3.3-2012.03-2
As the word "snapshot" implies, these are meant as development kernels and have not been fully validated. You should expect issues and to help us deliver a better kernel in the future, please file bugs in Launchpad at https://bugs.launchpad.net/linux-linaro.
The source tarball is available at:
https://launchpad.net/linux-linaro/devtrack/12.03/+download/linux-linaro-3.3...
The kernel sources can also be accessed using git at: git://git.linaro.org/kernel/linux-linaro-tracking.git tag: linux-linaro-3.3-2012.03-2
This kernel includes the following changes from the 2012.02 kernel:
Update to 3.3
Various patches from Linaro
* Versatile Express patches from ARM LT * Gator module for ARM's Streamline Performance Ananlyzer from ARM LT * updated irq_domain patch set from Grant L. * cpuidle core consolidation, cpuidle support for i.MX5/6 and ST-E u8500 from PM WG * updated patch set support for common save and restore code to the Samsung exynos platform from PM WG * updated thermal_cpu_cooling patch set from the power management WG * UFS patches from kernel WG * eMMC4.5 patches from kernel WG * initial dma-buf patch set and some related components for UMM
- AOSP 3.3 android patch set
A full change log against the 3.3 release is available at: https://launchpad.net/linux-linaro/devtrack/12.03
High Priority Known Issues:
- ANDROID_RAM_CONSOLE must be disabled for the android kernel to boot.
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
On 9 April 2012 16:46, Zach Pfeffer zach.pfeffer@linaro.org wrote:
Adding Vincent to comment on current draw with cpuidle on Snowball.
On 6 April 2012 04:29, Kejun Zhou kejun.zhou@linaro.org wrote:
Hi Andrey,
I am Kejun from Linaro Android team. I got a task to integrate the CPUIDLE to Linaro Android kernel branch from Zach.
I found the CPUIDLE is included in linux-linaro-3.3-2012.03-2 from your email, and merged Snowball CPUIDLE to linaro-android-12.03-release kernel.
I have some questions about how to verify whether this CPUIDLE feature is integrated or not.
- I found that the cpu_do_idle() is executed. But the code in "if () "
won't be executed after Android starting up. And the current is between 380mA ~ 490mA, I thinks when CPUIDLE is working, the current should be more low than 380mA.
static inline int ux500_enter_idle(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) {
.. if (atomic_inc_return(&master) == num_online_cpus()) {
.. }
wfi: cpu_do_idle()
... }
- Is there some method to test the CPUIDLE feature from the Linux console?
Even with cpuidle, the battery current stays quite high because of several external chipset, leds and co that are not power down. Nevertheless, you should see a power consumption improvement at the battery level when using cpuidle on snowball.
You can also look at the cpuidle statistics which shows you how often state1 is used : cat /sys/devices/system/cpu/cpux/cpuidle/state1/usage
Thanks a lot.
BRs, Kejun.
On 28 March 2012 04:11, Andrey Konovalov andrey.konovalov@linaro.org wrote:
Greetings,
The Linaro Kernel Working Group (KWG) and the Linaro Platform Group are excited to announce the availability our March 2012 development snapshot:
linux-linaro-3.3-2012.03-2
As the word "snapshot" implies, these are meant as development kernels and have not been fully validated. You should expect issues and to help us deliver a better kernel in the future, please file bugs in Launchpad at https://bugs.launchpad.net/linux-linaro.
The source tarball is available at:
https://launchpad.net/linux-linaro/devtrack/12.03/+download/linux-linaro-3.3...
The kernel sources can also be accessed using git at: git://git.linaro.org/kernel/linux-linaro-tracking.git tag: linux-linaro-3.3-2012.03-2
This kernel includes the following changes from the 2012.02 kernel:
Update to 3.3
Various patches from Linaro
* Versatile Express patches from ARM LT * Gator module for ARM's Streamline Performance Ananlyzer from ARM LT * updated irq_domain patch set from Grant L. * cpuidle core consolidation, cpuidle support for i.MX5/6 and ST-E u8500 from PM WG * updated patch set support for common save and restore code to the Samsung exynos platform from PM WG * updated thermal_cpu_cooling patch set from the power management WG * UFS patches from kernel WG * eMMC4.5 patches from kernel WG * initial dma-buf patch set and some related components for UMM
- AOSP 3.3 android patch set
A full change log against the 3.3 release is available at: https://launchpad.net/linux-linaro/devtrack/12.03
High Priority Known Issues:
- ANDROID_RAM_CONSOLE must be disabled for the android kernel to boot.
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
linaro-android@lists.linaro.org