On 26 September 2016 at 04:12, Kaiyou Wang Kaiyou.Wang@arm.com wrote:
Hi Mathieu,
Thanks for your reply, ask a quick question, is there any lock on SOC?
None
I find CPU cannot access the mapped register of ETM after unlock the OSLOCK and software access lock. But the coresight driver could access them, could you give me any suggestion?
What are you looking to do? There is definitely something wrong but it is impossible for me to help you with the information you have provided. The _probe() functions are fairly simple - I suggest using those as a starting example. From there it should be easy to work your way back to your current situation.
Mathieu
-----Original Message----- From: Mathieu Poirier [mailto:mathieu.poirier@linaro.org] Sent: Wednesday, September 21, 2016 10:27 PM To: Kaiyou Wang Cc: coresight@lists.linaro.org Subject: Re: Usage of Coresight
Good day,
There is a lot of documentation around on how to use the CoreSight framework and drivers. In the kernel tree the documentation directory [1] is a good place to start. Regarding the integration with perf and how that works with the rest of the solution you are encouraged to visit the openCSD github site [2]. There the "HOWTO.md" on the master branch has all the details needed to get the solution going.
That being said the release of kernel v4.8 is imminent (Sunday September 25th to be exact) and with it comes a lot of new functionality. I will be rebasing all the out of tree code to v4.8 along with updating the documentation next week - by Friday September 20th everything should be in good standing.
In the mean time you can read the current HOWTO.md to get familiar with the solution, that is probably a good time investment.
Thanks, Mathieu
[1]. http://lxr.free-electrons.com/source/Documentation/trace/coresight.txt [2]. https://github.com/Linaro/OpenCSD
On 21 September 2016 at 04:27, Kaiyou Wang Kaiyou.Wang@arm.com wrote:
Hi Mathieu,
This is Kaiyou from ARM, I find the Coresight drive in Linaro kernel code “kernel-release/drivers/hwtracing/coresight”.
Could you give me any documents how to use the Coresight driver in Linaro Kernel?
Thanks and Best Regards,
Kaiyou
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.