← Back to team overview

kernel-packages team mailing list archive

[Bug 1400411] Re: Feature: cpuidle: Enable fastsleep and winkle in ubuntu 14.04.02 kernel

 

** Description changed:

  SRU Justification:
- Impact: Users would like to be able to use fastsleep and winkle cpuidle states in the 3.16 Ubuntu kernel when using powernv.
- Fix:
+ 
+ [Impact]
+ Users would like to be able to use fastsleep and winkle cpuidle states in the 3.16 Ubuntu kernel when using powernv.
+ 
+ [Fix]
  commits
  d6a4f70909d279004a2b3d539e240e07b1ecc1cb
  56548fc0e86cb9156af7a7e1f15ba78f251dafaf
  8117ac6a6c2fa0f847ff6a21a1f32c8d2c8501d0
  8eb8ac89a364305d05ad16be983b7890eb462cc3 *backported*
  7cba160ad789a3ad7e68b92bf20eaad6ed171f80 *backported*
  77b54e9f213f76a23736940cf94bcd765fc00f40
  upstream
+ 
+ [Test Case]
+ Testing fastsleep
+ -----------------
+ With these patches cpuidle framework picks up fastsleep as one of the idle states. You can observe the cpus entering fastsleep by checking
+ /sys/devices/system/cpu/cpuXX/cpuidle/state2/name. This should show FastSleep.
+ Then while system is idle check /sys/devices/system/cpu/cpuXX/cpuidle/state2/time increment over time
+ This shows the amount of time a particular cpu was in fastsleep.
+ 
+ Testing Winkle
+ --------------
+ With these patches, offline cpus enter winkle. So test this by offlining and onlining cpus.
+ ppc64_cpu --cores-on=1
+ ppc64_cpu --cores-on=X where X is the total number of cores available in the machine.
  
  --
  
  This is a feature request to enable power management features fastsleep
  and winkle cpuidle states in ubuntu -14.04.02 kernel. The cpuidle state
  management patches have been posted to Linux Kernel Community.
  
  Mailing list:
  [PATCH 0/4] powernv: cpuidle: Redesign idle states management
  https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-November/122433.html
  
  Patchset:
  [1/4] powerpc: powernv: Switch off MMU before entering nap/sleep/rvwinkle mode
  https://patchwork.ozlabs.org/patch/406249/
  
  [2/4] powerpc/powernv: Enable Offline CPUs to enter deep idle states
  https://patchwork.ozlabs.org/patch/406250/
  
  [3/4] powernv: cpuidle: Redesign idle states management
  https://patchwork.ozlabs.org/patch/406256/
  
  [4/4] powernv: powerpc: Add winkle support for offline cpus
  https://patchwork.ozlabs.org/patch/406251/

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1400411

Title:
  Feature: cpuidle: Enable fastsleep and winkle in ubuntu 14.04.02
  kernel

Status in linux package in Ubuntu:
  New
Status in linux source package in Utopic:
  In Progress

Bug description:
  SRU Justification:

  [Impact]
  Users would like to be able to use fastsleep and winkle cpuidle states in the 3.16 Ubuntu kernel when using powernv.

  [Fix]
  commits
  d6a4f70909d279004a2b3d539e240e07b1ecc1cb
  56548fc0e86cb9156af7a7e1f15ba78f251dafaf
  8117ac6a6c2fa0f847ff6a21a1f32c8d2c8501d0
  8eb8ac89a364305d05ad16be983b7890eb462cc3 *backported*
  7cba160ad789a3ad7e68b92bf20eaad6ed171f80 *backported*
  77b54e9f213f76a23736940cf94bcd765fc00f40
  upstream

  [Test Case]
  Testing fastsleep
  -----------------
  With these patches cpuidle framework picks up fastsleep as one of the idle states. You can observe the cpus entering fastsleep by checking
  /sys/devices/system/cpu/cpuXX/cpuidle/state2/name. This should show FastSleep.
  Then while system is idle check /sys/devices/system/cpu/cpuXX/cpuidle/state2/time increment over time
  This shows the amount of time a particular cpu was in fastsleep.

  Testing Winkle
  --------------
  With these patches, offline cpus enter winkle. So test this by offlining and onlining cpus.
  ppc64_cpu --cores-on=1
  ppc64_cpu --cores-on=X where X is the total number of cores available in the machine.

  --

  This is a feature request to enable power management features
  fastsleep and winkle cpuidle states in ubuntu -14.04.02 kernel. The
  cpuidle state management patches have been posted to Linux Kernel
  Community.

  Mailing list:
  [PATCH 0/4] powernv: cpuidle: Redesign idle states management
  https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-November/122433.html

  Patchset:
  [1/4] powerpc: powernv: Switch off MMU before entering nap/sleep/rvwinkle mode
  https://patchwork.ozlabs.org/patch/406249/

  [2/4] powerpc/powernv: Enable Offline CPUs to enter deep idle states
  https://patchwork.ozlabs.org/patch/406250/

  [3/4] powernv: cpuidle: Redesign idle states management
  https://patchwork.ozlabs.org/patch/406256/

  [4/4] powernv: powerpc: Add winkle support for offline cpus
  https://patchwork.ozlabs.org/patch/406251/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1400411/+subscriptions