Framework to measure latency for various cpuidle states for ARM

Registered by Amit Kucheria

We need an instrumentation framework to help in calculating the latencies in the various idle-states

Blueprint information

Status:
Complete
Approver:
Amit Kucheria
Priority:
High
Drafter:
Amit Kucheria
Direction:
Approved
Assignee:
vishwanath sripathy
Definition:
Approved
Series goal:
Accepted for 11.05
Implementation:
Implemented
Milestone target:
milestone icon 11.05-04
Started by
Amit Kucheria
Completed by
Amit Kucheria

Related branches

Sprints

Whiteboard

Status:
In Progress

Focus has moved to first getting various cpuidle implementations into mainline before trying to optimise them. Some of the POSTPONED and PENDING items are being handled elsewhere.

[vishwanath-bs] cpuidle: add power trace events in appropriate places and measure latencies for all C states on OMAP3: DONE
[vishwanath-bs] cpuidle: Upstream OMAP3 latency changes: DONE
[vishwanath-bs] cpuidle: Clean up assembly code for ARM context save and restore for OMAP4 (to be done in OMAP4 TI internal tree as OMAP4 cpuidle code is not upstreamed yet): DONE
[vishwanath-bs] cpuidle: add power trace events in appropriate places and measure latencies for all C states on OMAP4 (to be done in OMAP4 TI internal tree as OMAP4 cpuidle code is not upstreamed yet): DONE
[vincent-guittot] cpuidle: Investigate on trace point hooks for CPU Idle latencies on ST-Ericsson SOCs: POSTPONED
[vincent-guittot] cpuidle: Implement and measure cpuidle laencies using trace points on ST-Ericsson SOCs: POSTPONED
[vishwanath-bs] cpuidle: Follow up with implementations on ST-Ericsson and Freescale SOCs and make sure they are in line with aligned approach: POSTPONED

(?)

Work Items

Work items:
[vishwanath-bs] cpuidle: Problem statement wrt to instrumentation to automate calculation of latencies: DONE
[vishwanath-bs] cpuidle: Add tracepoint instrumentation for automated calculation of idile-state latency: DONE
[vishwanath-bs] cpuidle: Clean up assembly code for ARM context save and restore for OMAP3: DONE
[vishwanath-bs] cpuidle: Post the patches to opensource for review and rework based on comments: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.