coresight: tmc: implementing TMC-ETF AUX space API
authorMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 3 May 2016 17:33:59 +0000 (11:33 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:46:42 +0000 (15:46 -0600)
commit2686c0577df400e8e78cd97c7f3676d0700dde51
tree6bfe234cc9890e361ae2d0fedac59a0a8fefbd01
parent57b6b76d6f9a17797302efff65720b64326ec402
coresight: tmc: implementing TMC-ETF AUX space API

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

The heuristic is heavily borrowed from the ETB10 implementation.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 2e499bbc1a929ac87dcb9832d11000fc055f8bc6)
drivers/hwtracing/coresight/coresight-tmc-etf.c
drivers/hwtracing/coresight/coresight-tmc.h