]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
coresight: etm3x: Set synchronisation frequencty to TRM default
authorMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 2 Aug 2017 16:21:59 +0000 (10:21 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:05:47 +0000 (16:05 +0200)
commitaf36103e48c0146d9af9403f0d994f30ca17a4d8
treeef745c4bdc4fd1bf165a44de7cbf0d95af9670bb
parent1655a3d6f3174f359bc0bf25312fa4057dc81c72
coresight: etm3x: Set synchronisation frequencty to TRM default

Register ETMSYNCFR holds the number of by that need to be generated before
periodic synchronisation packets are inserted in the trace stream.  By
zeroing out the config structure, the current code effectively disable
periodic synchronization.

This patch simply initialise the recommended value for this register as
specified in the technical reference manual.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm3x.c