Hello,
I am trying to use Coresight drivers on Juno r0 board with 4.9 Linux sources (Linaro release 17.01 with 'latest-armlt').
I have tried the configuration with ETM as the source and ETF as the sink and it is working as expected. But with ETR as the sink, when stopping the tracing, kernel panic occurs.
The bug can be reproduced with the following steps: / # echo 1 > /sys/bus/coresight/devices/20070000.etr/enable_sink / # echo 1 > /sys/bus/coresight/devices/22040000.etm/enable_source / # echo 0 > /sys/bus/coresight/devices/22040000.etm/enable_source
Sometime the system also hangs without printing panic message.
I am attaching the log file and .config file along with this mail. From the logs, it looks like an arm SCP firmware problem. Let me know if I am missing some steps/configuration or If this is a know hardware/firmware problem with hopefully some workarounds existing.
Thanks and regards, Don Kuzhiyelil