All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V4 0/3] coresight: etm: Make cycle count threshold user configurable
@ 2023-08-18 11:20 ` Anshuman Khandual
  0 siblings, 0 replies; 20+ messages in thread
From: Anshuman Khandual @ 2023-08-18 11:20 UTC (permalink / raw)
  To: linux-arm-kernel, suzuki.poulose
  Cc: Anshuman Khandual, Catalin Marinas, Will Deacon, Mike Leach,
	James Clark, Leo Yan, Jonathan Corbet, linux-doc, coresight,
	linux-kernel

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 v6.5-rc6.

Cc: Catalin Marinas <catalin.marinas@arm.com> 
Cc: Will Deacon <will@kernel.org>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com> 
Cc: Mike Leach <mike.leach@linaro.org>
Cc: James Clark <james.clark@arm.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: coresight@lists.linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org

Changes in V4:

- 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/20230811034600.944386-1-anshuman.khandual@arm.com/

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

Changes in V2:

https://lore.kernel.org/all/20230808074533.380537-1-anshuman.khandual@arm.com/

- s/treshhold/threshold

Changes in V1:

https://lore.kernel.org/all/20230804044720.1478900-1-anshuman.khandual@arm.com/


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          | 48 ++++++++++++++++++-
 4 files changed, 62 insertions(+), 2 deletions(-)

-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-08-21  2:35 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-18 11:20 [PATCH V4 0/3] coresight: etm: Make cycle count threshold user configurable Anshuman Khandual
2023-08-18 11:20 ` Anshuman Khandual
2023-08-18 11:20 ` [PATCH V4 1/3] coresight: etm: Override TRCIDR3.CCITMIN on errata affected cpus Anshuman Khandual
2023-08-18 11:20   ` Anshuman Khandual
2023-08-18 21:11   ` Randy Dunlap
2023-08-18 21:11     ` Randy Dunlap
2023-08-21  2:34     ` Anshuman Khandual
2023-08-21  2:34       ` Anshuman Khandual
2023-08-18 11:20 ` [PATCH V4 2/3] coresight: etm: Make cycle count threshold user configurable Anshuman Khandual
2023-08-18 11:20   ` Anshuman Khandual
2023-08-18 11:25   ` Suzuki K Poulose
2023-08-18 11:25     ` Suzuki K Poulose
2023-08-18 13:01     ` Mike Leach
2023-08-18 13:01       ` Mike Leach
2023-08-18 13:04       ` Suzuki K Poulose
2023-08-18 13:04         ` Suzuki K Poulose
2023-08-21  2:29         ` Anshuman Khandual
2023-08-21  2:29           ` Anshuman Khandual
2023-08-18 11:20 ` [PATCH V4 3/3] Documentation: coresight: Add cc_threshold tunable Anshuman Khandual
2023-08-18 11:20   ` Anshuman Khandual

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.