Feature: cpuidle: Enable fastsleep and winkle in ubuntu 14.04.02 kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Utopic |
Fix Released
|
Medium
|
Chris J Arges |
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
d6a4f70909d2790
56548fc0e86cb91
8117ac6a6c2fa0f
8eb8ac89a364305
7cba160ad789a3a
77b54e9f213f76a
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/
Then while system is idle check /sys/devices/
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:/
Patchset:
[1/4] powerpc: powernv: Switch off MMU before entering nap/sleep/rvwinkle mode
https:/
[2/4] powerpc/powernv: Enable Offline CPUs to enter deep idle states
https:/
[3/4] powernv: cpuidle: Redesign idle states management
https:/
[4/4] powernv: powerpc: Add winkle support for offline cpus
https:/
CVE References
tags: | added: architecture-ppc64le bugnameltc-119510 severity-medium targetmilestone-inin140402 |
affects: | ubuntu → linux (Ubuntu) |
tags: | added: kernel-da-key |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Utopic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | removed: verification-needed-utopic |
tags: | removed: verification-done-utopic |
tags: | removed: verification-done-utopic |
tags: | added: verification-done-utopic |
tags: |
added: targetmilestone-inin14043 removed: targetmilestone-inin140402 |
------- Comment From <email address hidden> 2014-12-16 08:25 EDT-------
(In reply to comment #3)
> Shilpasri,
>
> I would like to ask you to update this bug as soon as the patches get
> accepted, with the commit-ids also.
Hi, 56af7a7e1f15ba7 8f251dafaf powerpc/powernv: Return to cpu offline loop when finished in KVM guest 847ff6a21a1f32c 8d2c8501d0 powerpc/powernv: Switch off MMU before entering nap/sleep/rvwinkle mode ad16be983b7890e b462cc3 powerpc/powernv: Enable Offline CPUs to enter deep idle states d7e68b92bf20eaa d6ed171f80 powernv/cpuidle: Redesign idle states management 23736940cf94bcd 765fc00f40 powernv/powerpc: Add winkle support for offline cpus
These patches have been accepted and are now in the linux-next tree. Commit ids are as follows-
56548fc0e86cb91
8117ac6a6c2fa0f
8ac89a364305d05
7cba160ad789a3a
8eb
77b54e9f213f76a