coresight: tmc: implementing TMC-ETR AUX space API
authorMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 10 Dec 2015 18:36:15 +0000 (11:36 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 20 Jun 2016 17:09:44 +0000 (11:09 -0600)
commitb90eb99a2c72a76c2334353638c212b7dd7d2bf1
treec30dd13efac70eca29911d8d7d1c23087d2ae3a0
parentb2364ea00c5bd20e4f786f14fe411f62f1248ad4
coresight: tmc: implementing TMC-ETR AUX space API

This patch implement the AUX area interfaces required to
use the TMC (configured as an ETR) from the Perf sub-system.

The ETR is configured to work with contiguous memory only.
Although not optimal, it allows the IP block to be used
while the scatter-gather mode of operation is being worked
on.

The heuristic is heavily borrowed from the ETB10 and TMC-ETF
implementation.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-tmc-etr.c