Skip to content

coresight: Support for building more coresight paths

Tao Zhang linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3coresight: add support to enable more coresight pathsdrivers/hwtracing/coresight/coresight-core.c+56 -450 replies
2/3coresight: funnel: add support for multiple output portsdrivers/hwtracing/coresight/coresight-core.c drivers/hwtracing/coresight/coresight-platform.c include/linux/coresight.h+66 -130 replies
3/3dt-bindings: arm: add property for selecting funnel output portDocumentation/devicetree/bindings/arm/coresight.txt+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/3] coresight: Support for building more coresight paths

We are trying to achieve more types of Coresight source devices. For example, we have a type of coresight source devic named TPDM. In the process of using, sometimes mulitiple TPDMs need to be connected to the different input ports on the same funnel. Meanwhile, these TPDMs also need to output from different ports on the funnel.
But, at present the Coresight driver assumes
a) Only support Coresight source type ETM, ETR and ETF
b) Funnels only support mulitiple inputs and one output Which doesn't help to add the above feature for our new Coresight source device TPDM. So, in order to accommodate the new device, we develop the following patches.
a) Add support more types of Coresight source devices.
b) Add support for multiple output ports on funnel and the output ports could be selected by Corsight source.

Applies on coresight/next.
http://git.linaro.org/kernel/coresight.git/log/?h=next

Tao Zhang (3):
coresight: add support to enable more coresight paths
coresight: funnel: add support for multiple output ports
dt-bindings: arm: add property for selecting funnel output port

 .../devicetree/bindings/arm/coresight.txt          |   5 +
 drivers/hwtracing/coresight/coresight-core.c       | 169 ++++++++++++++-------
 drivers/hwtracing/coresight/coresight-platform.c   |   9 ++
 include/linux/coresight.h                          |   2 +
 4 files changed, 127 insertions(+), 58 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project