From: leo.yan@linaro.org (Leo Yan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/17] coresight: next v4.12-rc4
Date: Sat, 10 Jun 2017 10:34:31 +0800 [thread overview]
Message-ID: <20170610023231.GP17668@leoy-ThinkPad-T440> (raw)
In-Reply-To: <20170609175339.28d1d4d5a6c91a9e16c16bf7@arm.com>
Hi Kim,
On Fri, Jun 09, 2017 at 05:53:39PM -0500, Kim Phillips wrote:
> On Mon, 5 Jun 2017 14:15:01 -0600
> Mathieu Poirier <mathieu.poirier@linaro.org> wrote:
>
> Hi Mathieu,
>
> > Please consider for inclusion in the 4.13 cycle. Of particular interest is
> > patch 15/17, which adds a new driver under the CoreSight umbrella.
>
> After applying the patchseries, the devices now have self-named
> subdirectories under them:
>
> $ find /sys/devices/ -name \*sink\*
> /sys/devices/platform/20140000.etf/20140000.etf/enable_sink
> /sys/devices/platform/20070000.etr/20070000.etr/enable_sink
> /sys/devices/platform/20030000.tpiu/20030000.tpiu/enable_sink
> /sys/devices/platform/20010000.etf/20010000.etf/enable_sink
> $
>
> Which doesn't match the coresight.txt usage documentation...
I am worry if my patches do some bad thing, so I did a quick test with
mainline kernel on Hikey, if without this patch series I still can see
self-named subdirectories in '/sys/devices/platform/':
root at linaro-developer:~# find /sys/devices/ -name \*sink\*
/sys/devices/platform/amba/f6404000.etr/f6404000.etr/enable_sink
/sys/devices/platform/amba/f6402000.etf/f6402000.etf/enable_sink
But if search '/sys/bus/coresight/devices/', we can get below info:
root at linaro-developer:~# ls /sys/bus/coresight/devices/*/*sink* -l
-rw-r--r-- 1 root root 4096 Nov 18 08:04 /sys/bus/coresight/devices/f6402000.etf/enable_sink
-rw-r--r-- 1 root root 4096 Nov 18 08:07 /sys/bus/coresight/devices/f6404000.etr/enable_sink
I checked coresight.txt and it uses folder
'/sys/bus/coresight/devices/' as example but not '/sys/devices/'.
> Also, do the current juno platforms not have CPU debug modules? I'd
> like to test the new driver.
Suzuki's Juno patch has been picked from ARM tree:
http://archive.armlinux.org.uk/lurker/message/20170519.042557.c8b56c20.en.html
Thanks,
Leo Yan
next prev parent reply other threads:[~2017-06-10 2:34 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-05 20:15 [PATCH 00/17] coresight: next v4.12-rc4 Mathieu Poirier
2017-06-05 20:15 ` [PATCH 01/17] coresight: Disable the path only when the source is disabled Mathieu Poirier
2017-06-05 20:15 ` [PATCH 02/17] coresight: Fix reference count for software sources Mathieu Poirier
2017-06-05 20:15 ` [PATCH 03/17] coresight: etm_perf: Fix using uninitialised work Mathieu Poirier
2017-06-09 22:53 ` Kim Phillips
2017-06-05 20:15 ` [PATCH 04/17] coresight: tmc: minor fix for output log Mathieu Poirier
2017-06-05 20:15 ` [PATCH 05/17] coresight: use const for device_node structures Mathieu Poirier
2017-06-05 20:15 ` [PATCH 06/17] coresight: etb10: Delete an error message for a failed memory allocation in etb_probe() Mathieu Poirier
2017-06-05 20:15 ` [PATCH 07/17] coresight: etb10: Fix a typo in a comment line Mathieu Poirier
2017-06-05 20:15 ` [PATCH 08/17] coresight: tmc: Configure DMA mask appropriately Mathieu Poirier
2017-06-05 20:15 ` [PATCH 09/17] coresight: bindings for CPU debug module Mathieu Poirier
2017-06-05 20:15 ` [PATCH 10/17] doc: Add documentation for Coresight CPU debug Mathieu Poirier
2017-06-05 20:15 ` [PATCH 11/17] doc: Add coresight_cpu_debug.enable to kernel-parameters.txt Mathieu Poirier
2017-06-05 20:15 ` [PATCH 12/17] MAINTAINERS: update file entries for Coresight subsystem Mathieu Poirier
2017-06-05 20:15 ` [PATCH 13/17] coresight: of_get_coresight_platform_data: Add missing of_node_put Mathieu Poirier
2017-06-05 20:15 ` [PATCH 14/17] coresight: refactor with function of_coresight_get_cpu Mathieu Poirier
2017-06-05 20:15 ` [PATCH 15/17] coresight: add support for CPU debug module Mathieu Poirier
2017-06-05 20:15 ` [PATCH 16/17] arm64: dts: hi6220: register " Mathieu Poirier
2017-06-05 20:15 ` [PATCH 17/17] arm64: dts: qcom: msm8916: Add debug unit Mathieu Poirier
2017-06-09 22:53 ` [PATCH 00/17] coresight: next v4.12-rc4 Kim Phillips
2017-06-10 2:34 ` Leo Yan [this message]
[not found] ` <CANLsYky8XLbOwinxVc2xKaNzhkpUOX0NsNxrFF4=MsjzC3iY1g@mail.gmail.com>
2017-06-13 21:17 ` Kim Phillips
2017-06-14 6:22 ` Leo Yan
2017-06-15 3:34 ` Kim Phillips
2017-06-15 8:41 ` Sudeep Holla
2017-06-15 14:22 ` Kim Phillips
2017-06-15 15:50 ` Leo Yan
2017-08-21 23:31 ` Kim Phillips
2017-08-23 7:25 ` Leo Yan
2017-06-15 13:08 ` Suzuki K Poulose
2017-06-15 13:40 ` Kim Phillips
2017-06-15 14:02 ` Suzuki K Poulose
2017-06-15 14:45 ` Kim Phillips
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170610023231.GP17668@leoy-ThinkPad-T440 \
--to=leo.yan@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox