linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Support static funnel and CoreSight DT on Hikey960
@ 2019-03-20 12:38 Wanglai Shi
  2019-03-20 12:38 ` [PATCH v2 1/3] dt-bindings: arm: coresight: Support non-configurable funnel Wanglai Shi
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Wanglai Shi @ 2019-03-20 12:38 UTC (permalink / raw)
  To: mathieu.poirier, suzuki.poulose, robh+dt, mark.rutland, xuwei5,
	alexander.shishkin
  Cc: linux-arm-kernel, devicetree, linux-kernel, leo.yan, suzhuangluan

From: Leo Yan <leo.yan@linaro.org>

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 patches 0001/0002 are two patches to support static funnel, this
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,
patches 0001/0002 heavily follows up the same fashion in Suzuki's shared
code.

Patch 0003 is the DT binding for CoreSight enabling on Hikey960, and
it's the first consumer for use static funnel binding.

This patch set has been tested on Hikey960 with perf command for trace
data recording and decoding with below commands:

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


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

Wanglai Shi (1):
  arm64: dts: hi3660: Add CoreSight support

 .../devicetree/bindings/arm/coresight.txt     |  45 +-
 .../boot/dts/hisilicon/hi3660-coresight.dtsi  | 456 ++++++++++++++++++
 arch/arm64/boot/dts/hisilicon/hi3660.dtsi     |   2 +
 .../hwtracing/coresight/coresight-funnel.c    | 112 +++--
 4 files changed, 585 insertions(+), 30 deletions(-)
 create mode 100644 arch/arm64/boot/dts/hisilicon/hi3660-coresight.dtsi

-- 
2.17.1


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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-20 12:38 [PATCH v2 0/3] Support static funnel and CoreSight DT on Hikey960 Wanglai Shi
2019-03-20 12:38 ` [PATCH v2 1/3] dt-bindings: arm: coresight: Support non-configurable funnel Wanglai Shi
2019-03-20 17:28   ` Mathieu Poirier
2019-03-20 12:38 ` [PATCH v2 2/3] coresight: funnel: Support static funnel Wanglai Shi
2019-03-20 13:52   ` Suzuki K Poulose
2019-03-21  2:09     ` Leo Yan
2019-03-20 12:38 ` [PATCH v2 3/3] arm64: dts: hi3660: Add CoreSight support Wanglai Shi
2019-03-20 17:35   ` Mathieu Poirier

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).