]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: tmc: Configure AXI write burst size
authorTanmay Jagdale <tanmay@marvell.com>
Wed, 1 Sep 2021 13:10:49 +0000 (18:40 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 27 Oct 2021 17:44:34 +0000 (11:44 -0600)
commitf20eb5414f747b1e0fcb8072dc340f3792a4e4ac
treec17b75202049543d81790072af1a54a6367e98f1
parenta23e58da3cd5e0e7037e1c030d1440ce7229799f
coresight: tmc: Configure AXI write burst size

The current driver sets the write burst size initiated by TMC-ETR on
AXI bus to a fixed value of 16. Make this configurable by reading the
value specified in fwnode. If not specified, then default to 16.

Introduced a "max_burst_size" variable in tmc_drvdata structure to
facilitate this change.

Signed-off-by: Tanmay Jagdale <tanmay@marvell.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20210901131049.1365367-3-tanmay@marvell.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-tmc-core.c
drivers/hwtracing/coresight/coresight-tmc-etr.c
drivers/hwtracing/coresight/coresight-tmc.h