Commit c9db192e authored by Suzuki K Poulose's avatar Suzuki K Poulose Committed by Connor O'Brien
Browse files

UPSTREAM: 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: 3fbf7f01 ("coresight: sink: Add TRBE driver")
Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: default avatarAnshuman 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: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
(cherry picked from commit bb5293e3)
Bug: 187129171
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
Change-Id: I4fe9e41b0cf1753751c16a78ae3f34639c6250b3
parent 1237314c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment