[PATCH 0/2] coresight: Allow sharing of STM

From: Suzuki K Poulose
Date: Thu Mar 09 2017 - 10:35:27 EST


This series fixes the coresight generic layer to handle the reference
counting for the STM source properly, to allow multiple applications
to share the STM. Without this series, the STM is disabled when the
first user closes its connection, causing trace data losses.

Suzuki K Poulose (2):
coresight: Disable the path only when the source is disabled
coresight: Fix reference count for software sources

drivers/hwtracing/coresight/coresight.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)

--
2.7.4