linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] CoreSight: Support static funnel
@ 2019-03-28  2:35 Leo Yan
  2019-03-28  2:35 ` [PATCH v3 1/2] dt-bindings: arm: coresight: " Leo Yan
  2019-03-28  2:35 ` [PATCH v3 2/2] coresight: funnel: " Leo Yan
  0 siblings, 2 replies; 7+ messages in thread
From: Leo Yan @ 2019-03-28  2:35 UTC (permalink / raw)
  To: Mathieu Poirier, Suzuki K Poulose, Rob Herring, Mark Rutland,
	Alexander Shishkin, linux-arm-kernel, devicetree, linux-kernel,
	coresight, Wanglai Shi
  Cc: Leo Yan

Since before there have no platforms use static funnel in mainline
kernel (though maybe some in-house SoC has used it but didn't upstream
for mainline kernel yet so we don't be aware for it), when enable
CoreSight DT binding for hikey960, we found the SoC uses the static
funnel in the link path and but it's not supported in CoreSight funnel
driver.

So the first patch is to update DT documentation to support static
funnel (we call it as non-configurable funnel in documentation); the
second patch is to support the static funnel in the CoreSight funnel
driver.

Credits to Suzuki shared code for CoreSight replicator refactoring,
the static funnel related implementation heavily follows up the same
fashion in Suzuki's replicator code.

This patch set has been rebased on CoreSight next branch [1] with
latest commit d5d246a56af0 ("coresight: Merge the static and dynamic
replicator drivers") and tested on Hikey960 with perf commands:

  # perf record -e cs_etm/@20010000.etf/ --per-thread ./main
  # perf report --tui

P.s. in this version, Hikey960 CoreSight DT binding has not been
included and will be sent out separately.

[1] https://git.linaro.org/kernel/coresight.git/log/?h=next


Leo Yan (2):
  dt-bindings: arm: coresight: Support static funnel
  coresight: funnel: Support static funnel

 .../devicetree/bindings/arm/coresight.txt     |  45 ++++++-
 .../hwtracing/coresight/coresight-funnel.c    | 112 +++++++++++++-----
 2 files changed, 127 insertions(+), 30 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2019-03-29  0:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-28  2:35 [PATCH v3 0/2] CoreSight: Support static funnel Leo Yan
2019-03-28  2:35 ` [PATCH v3 1/2] dt-bindings: arm: coresight: " Leo Yan
2019-03-28 19:06   ` Rob Herring
2019-03-28 19:24   ` Suzuki K Poulose
2019-03-29  0:21     ` Leo Yan
2019-03-28  2:35 ` [PATCH v3 2/2] coresight: funnel: " Leo Yan
2019-03-28 19:26   ` Suzuki K Poulose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).