OSDN Git Service

coresight: etm3x: Release CLAIM tag when operated from perf
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 30 Nov 2018 18:43:06 +0000 (11:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Dec 2018 14:41:55 +0000 (15:41 +0100)
commit34e6c35638b95f6efa3f065a04950416ce4bec7f
treeb83cd61846bb9dac96873894d49d5a8b83d4d37d
parent6dd4402f24a39a9903faf00c03bdd0eedefc3bd7
coresight: etm3x: Release CLAIM tag when operated from perf

This patch deals with the release of the CLAIM tag when the ETM is
operated from perf.  Otherwise the tag is left asserted and subsequent
requests to use the device fail.

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>
drivers/hwtracing/coresight/coresight-etm3x.c