coresight: trbe: Fix incorrect access of the sink specific data
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 21 Sep 2021 13:41:05 +0000 (14:41 +0100)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 27 Oct 2021 17:45:37 +0000 (11:45 -0600)
commitbb5293e334af51b19b62d8bef1852ea13e935e9b
tree5be1593a7c1a3f515e54b7b8c7ec4e294d7b3945
parent0605b89d0597f326aba3f70d0574750368a9fbe0
coresight: trbe: Fix incorrect access of the sink specific data

The TRBE driver wrongly treats the aux private data as the TRBE driver
specific buffer for a given perf handle, while it is the ETM PMU's
event specific data. Fix this by correcting the instance to use
appropriate helper.

Cc: stable <stable@vger.kernel.org>
Fixes: 3fbf7f011f24 ("coresight: sink: Add TRBE driver")
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20210921134121.2423546-2-suzuki.poulose@arm.com
[Fixed 13 character SHA down to 12]
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-trbe.c