Coresight Linux support

Registered by John Stultz

Push the 15 or so ETM changes in the Android tree upstream

Blueprint information

Status:
Started
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for kernel-merge-window
Implementation:
Started
Milestone target:
milestone icon backlog
Started by
John Stultz

Related branches

Sprints

Whiteboard

Meta:
Roadmap id: TODO_CARD_WILL_BE_MADE_LATER
Headline: Coresight Linux support
Acceptance:
 * patches accepted to staging in mainline (?)

Here's the last thread when these patches were submitted, including lots of good suggestions by LinusW:
https://lkml.org/lkml/2012/6/20/689

A coresight subsystem and set of drivers from CodeAurora has appeared, supporting several ARM coresight features including the ETM/ETB. This needs to be pondered in contrast with these patches:
http://marc.info/?l=linux-arm-kernel&m=135585879804913&w=2

Please keep Robert Marklund <email address hidden> in the loop if possible, he is looking into the CodeAurora patch set.

[mpoirier 2013-05-03] Emailed Jon Hunter at TI to see if he ever heard back from Pratik and why the latter left all his work pending.

(?)

Work Items

Work items for 12.06:
Rebase ETM patches on top of linus/master (June 5): DONE
Ping ETM maintainer if he has any objection to the patches prior to submitting to lkml (June 5): DONE
Got feedback from maintainer that he's not actively maintaining ETM and I should submit them to RMK (June 12): DONE
Submit first pass to RMK/lkml (June 12): DONE
Resent first pass to RMK/lkml (June 19ish): DONE
Got feedback from LinusW (June 25ish): DONE

Work items for 13.05:
Understand implementation in arch/arm/kernel/etm.c (May 28th): DONE
Look at enhancement suggested by Arve's patch set (May 28th): DONE
Touched base with Robert Marklund at STE to see where he's at and his plan (May 28th): DONE

Work items for backlog:
Get familiar with coreSight architecture specification and components documentation (May 14th): INPROGRESS
Look at what the codeAura framework: INPROGRESS
Outreach email sent to Pratik Patel, the original author of the CoreSight framework (May 30th): DONE
Get in contact with current and past players - LinusW, Pratik Patel, AlexanderS and others: TODO
Get a clear picture of where things are at and what needs to be done: TODO
See if current etm really only works on OMAP3 (which is the case based on the kernel config): TODO
Setup ETM driver w/ hardware and try to learn how it works in usage: TODO
Work on documenting how to use the driver: TODO
Incorperate feedback from LinusW into the patchset: TODO
Sent second iterations: TODO
Submit ETM patches to lkml for inclusion: TODO
Merge ETM patches upstream: TODO

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.