]> asedeno.scripts.mit.edu Git - linux.git/commit
coresight: tmc: Add configuration support for trace buffer size
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 11 Jul 2018 19:40:24 +0000 (13:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jul 2018 11:52:57 +0000 (13:52 +0200)
commitc34cc23f1dcb77c66b5cd074f83dee61bfcbe567
tree2e8a321ad3870577ee129a0c4fe4332335a8655c
parente8e3b771395d9b75ba5da409b7d20435ddb05a21
coresight: tmc: Add configuration support for trace buffer size

Now that we can dynamically switch between contiguous memory and
SG table depending on the trace buffer size, provide the support
for selecting an appropriate buffer size.

Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-coresight-devices-tmc
Documentation/devicetree/bindings/arm/coresight.txt
drivers/hwtracing/coresight/coresight-tmc.c