Skip to content

coresight: etm: Make cycle count threshold user configurable

Anshuman Khandual linux-arm-kernel linux-doc lkml 7 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 1 replyApplied
  2. v63 patches 0 repliesSuperseded
  3. v5 posting 2/23 patches 10 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v5 posting 1/23 patches1 replySuperseded
v43 patches6 repliesSuperseded
v33 patches9 repliesSuperseded
v11 patch2 repliesSuperseded

Changes in v7 from the cover letter

- Changed commit message for the second patch adding cc_threshold

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/3coresight: etm: Override TRCIDR3.CCITMIN on errata affected cpusDocumentation/arch/arm64/silicon-errata.rst drivers/hwtracing/coresight/coresight-etm4x-core.c+47 -00 replies
2/3coresight: etm: Make cycle count threshold user configurabledrivers/hwtracing/coresight/coresight-etm-perf.c drivers/hwtracing/coresight/coresight-etm4x-core.c+9 -20 replies
3/3Documentation: coresight: Add cc_threshold tunableDocumentation/trace/coresight/coresight.rst+4 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMike Leach
1/3R-b
2/3R-b
3/3

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

Read the v7 thread

Cover letter [PATCH V7 0/3] coresight: etm: Make cycle count threshold user configurable

This series makes ETM TRCCCCTRL based 'cc_threshold' user configurable via the perf event attribute. But first, this implements an errata work around affecting ETM TRCIDR3.CCITMIN value on certain cpus, overriding the field.

This series applies on coresight/for-next/queue.

Cc Catalin Marinas <[email protected]>
Cc Will Deacon <[email protected]>
Cc Suzuki K Poulose <[email protected]>
Cc Mike Leach <[email protected]>
Cc James Clark <[email protected]>
Cc Leo Yan <[email protected]>
Cc Jonathan Corbet <[email protected]>

Changes in V7:

- Changed commit message for the second patch adding cc_threshold

Changes in V6:

https://lore.kernel.org/all/[email protected]/

- Renamed etm4_core_reads_wrong_ccitmin() as etm4_fixup_wrong_ccitmin()
- Moved drvdata->ccitmin fixup inside etm4_fixup_wrong_ccitmin()

Changes in V5:

https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

- Replaced 'where as' with single word 'whereas'
- Reworked 'cc_threshold' fallback to ETM_CYC_THRESHOLD_DEFAULT

Changes in V4:

https://lore.kernel.org/all/[email protected]/

- Fixed a typo s/rangess/ranges,
- Renamed etm4_work_around_wrong_ccitmin() as etm4_core_reads_wrong_ccitmin()
- Moved drvdata->ccitmin value check for 256 inside etm4_core_reads_wrong_ccitmin()
- Moved the comment inside etm4_core_reads_wrong_ccitmin()

Changes in V3:

https://lore.kernel.org/all/[email protected]/

- Added errata work around affecting TRCIDR3.CCITMIN
- Split the document update into a separate patch

Changes in V2:

https://lore.kernel.org/all/[email protected]/

- s/treshhold/threshold

Changes in V1:

https://lore.kernel.org/all/[email protected]/

Anshuman Khandual (3):
coresight: etm: Override TRCIDR3.CCITMIN on errata affected cpus
coresight: etm: Make cycle count threshold user configurable
Documentation: coresight: Add cc_threshold tunable

 Documentation/arch/arm64/silicon-errata.rst   | 10 ++++
 Documentation/trace/coresight/coresight.rst   |  4 ++
 .../hwtracing/coresight/coresight-etm-perf.c  |  2 +
 .../coresight/coresight-etm4x-core.c          | 46 ++++++++++++++++++-
 4 files changed, 60 insertions(+), 2 deletions(-)
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel