Refactor the acpi cpuidle driver

Registered by Daniel Lezcano

This blueprint has been moved to JIRA: https://cards.linaro.org/browse/PMWG-260

The improvements of the cpuidle core code for the ARM architecture is often blocked because the acpi processor idle driver use this code in an abusive way. Everything is related to cpu hotplugging and dynamic states detection.
This driver relies on some assumptions which could be changed when changing the cpuidle core code.
The acpi driver needs a cleanup and some refactoring. The main problem is the driver is used in a huge number of different ACPI implementation so it must be done step-by-step and carefully.

Blueprint information

Status:
Complete
Approver:
Amit Kucheria
Priority:
Low
Drafter:
Daniel Lezcano
Direction:
Approved
Assignee:
Daniel Lezcano
Definition:
Superseded
Series goal:
Accepted for trunk
Implementation:
Started
Milestone target:
milestone icon 2013.02
Started by
Amit Kucheria
Completed by
Serge Broslavsky

Related branches

Sprints

Whiteboard

[daniel-lezcano, Oct 22, 2012] : posted some cleanup patches, still waiting for review. https://patchwork.kernel.org/patch/1617341/
[daniel-lezcano, Nov 28, 2012] : rejected, need to respin and resend
[ototo, 2013-02-01] Updating milestone to 2013.02 due to the work still being done here.

Meta:
Headline: TBD
Acceptance: TBD

(?)

Work Items

Work items for 2012.11:
[daniel-lezcano] : remove unused headers : DONE
[daniel-lezcano] : remove unused definitions : DONE
[daniel-lezcano] : pass cpuidle_device as parameter : DONE
[daniel-lezcano] : pass cpuidle_driver as parameter : DONE
[daniel-lezcano] : change indentation for clarity : DONE

Work items for 2012.12:
[daniel-lezcano] : fix power state recomputation and dynamic C-states : DONE

Work items for 2013.02:
[daniel-lezcano] : upstream these changes : DONE

This blueprint contains Public information 
Everyone can see this information.