diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2020-11-27 10:52:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-27 20:23:12 +0100 |
commit | 60c519c5d3629c21ba356782434d5b612d312de4 (patch) | |
tree | c22c2e2a0cae36e6fdc646d4a112ddb5120e3fbe /drivers/hwtracing/coresight/coresight-funnel.c | |
parent | coresight: etm4x: Fix accesses to TRCPROCSELR (diff) | |
download | linux-dev-60c519c5d3629c21ba356782434d5b612d312de4.tar.xz linux-dev-60c519c5d3629c21ba356782434d5b612d312de4.zip |
coresight: etm4x: Handle TRCVIPCSSCTLR accesses
TRCVIPCSSCTLR is not present if the TRCIDR4.NUMPC > 0. Thus we
should only access the register if it is present, preventing
any undesired behavior.
Cc: stable@vger.kernel.org
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20201127175256.1092685-8-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-funnel.c')
0 files changed, 0 insertions, 0 deletions