OSDN Git Service

coresight: etm3x: Deal with CLAIM tag before and after accessing HW
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 30 Nov 2018 18:43:05 +0000 (11:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Dec 2018 14:41:55 +0000 (15:41 +0100)
commit6dd4402f24a39a9903faf00c03bdd0eedefc3bd7
treeb150d699ed6f8d9f2f8fa95e46d564f146fe927b
parent32c58c4d3bd0046bef8e2b5fcadff963f3ef7274
coresight: etm3x: Deal with CLAIM tag before and after accessing HW

This patch moves access to the CLAIM tag so that no modification to the HW
happens before and after the CLAIM operation has been carried.

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