Skip to content

Android ETM driver changes

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15ARM: etm: Don't require clock controlarch/arm/kernel/etm.c+8 -71 reply
2/15ARM: etm: Don't limit tracing to only non-secure code.arch/arm/kernel/etm.c+1 -11 reply
3/15ARM: etm: Don't try to clear the buffer full status after reading the bufferarch/arm/kernel/etm.c+26 -320 replies
4/15ARM: etm: Allow range selectionarch/arm/kernel/etm.c+46 -31 reply
5/15ARM: etm: Configure data tracingarch/arm/include/asm/hardware/coresight.h arch/arm/kernel/etm.c+83 -41 reply
6/15ARM: etm: Add some missing locks and error checksarch/arm/kernel/etm.c+39 -181 reply
7/15ARM: etm: Return the entire trace buffer if it is empty after resetarch/arm/kernel/etm.c+5 -01 reply
8/15ARM: etm: Support multiple ETMs/PTMs.arch/arm/include/asm/hardware/coresight.h arch/arm/kernel/etm.c+166 -841 reply
9/15ARM: etm: Power down etm(s) when tracing is not enabledarch/arm/kernel/etm.c+2 -21 reply
10/15ARM: etm: Wait for etm/ptm(s) to stop before requesting PowerDownarch/arm/kernel/etm.c+28 -81 reply
11/15ARM: etm: Check arch version and disable data tracing for ptmarch/arm/include/asm/hardware/coresight.h arch/arm/kernel/etm.c+23 -53 replies
12/15ARM: etm: Add sysfs entry to enable timestamps if supportedarch/arm/include/asm/hardware/coresight.h arch/arm/kernel/etm.c+51 -01 reply
13/15ARM: etm: Add sysfs entry to set context-id-sizearch/arm/include/asm/hardware/coresight.h arch/arm/kernel/etm.c+42 -31 reply
14/15ARM: etm: Add sysfs entry to disable branch_output flagarch/arm/include/asm/hardware/coresight.h arch/arm/kernel/etm.c+43 -31 reply
15/15ARM: etm: Add sysfs entry to enable return stack if supportedarch/arm/include/asm/hardware/coresight.h arch/arm/kernel/etm.c+53 -21 reply

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by.

PatchAlexander ShishkinLinus Walleij
1/15A-b A-b
2/15A-b A-b
3/15A-b
4/15A-b
5/15A-b A-b
6/15A-b A-b
7/15A-b A-b
8/15A-b A-b
9/15A-b A-b
10/15A-b A-b
11/15A-b A-b
12/15A-b A-b
13/15A-b A-b
14/15A-b A-b
15/15A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] Android ETM driver changes

Since I didn't hear any objections to the earlier RFC release last week, I wanted to send this on for inclusion.

The Android kernel tree has a number of changes to the ETM driver. Arve sent the first 9 of these to the list over a year ago and got very little response.

I didn't want these to get lost, so I pinged Alexander about these privately and he stated that he wasn't actively maintaining the driver, but after skimming the entire set he acked the series and suggested I send it on to Russel for review and inclusion.

thanks
-john

CC Russell King <[email protected]>
CC Paul Gortmaker <[email protected]>
CC Alexander Shishkin <[email protected]>
CC Arve Hjønnevåg <[email protected]>

Arve Hjønnevåg (15):
ARM: etm: Don't require clock control
ARM: etm: Don't limit tracing to only non-secure code.
ARM: etm: Don't try to clear the buffer full status after reading the
buffer
ARM: etm: Allow range selection
ARM: etm: Configure data tracing
ARM: etm: Add some missing locks and error checks
ARM: etm: Return the entire trace buffer if it is empty after reset
ARM: etm: Support multiple ETMs/PTMs.
ARM: etm: Power down etm(s) when tracing is not enabled
ARM: etm: Wait for etm/ptm(s) to stop before requesting PowerDown
ARM: etm: Check arch version and disable data tracing for ptm
ARM: etm: Add sysfs entry to enable timestamps if supported
ARM: etm: Add sysfs entry to set context-id-size
ARM: etm: Add sysfs entry to disable branch_output flag
ARM: etm: Add sysfs entry to enable return stack if supported

 arch/arm/include/asm/hardware/coresight.h |   50 ++-
 arch/arm/kernel/etm.c                     |  680 +++++++++++++++++++++++------
 2 files changed, 587 insertions(+), 143 deletions(-)
Signature · 1 line
1.7.9.5