aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight/coresight-funnel.c
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2020-11-27 10:52:47 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-27 20:23:12 +0100
commit6288b4ceca868eac4bf729532f8d845e3ecbed98 (patch)
tree3107f6b1bbccc7ed0ecf4c3233ceafc323b0d5be /drivers/hwtracing/coresight/coresight-funnel.c
parentcoresight: etm4x: Update TRCIDR3.NUMPROCS handling to match v4.2 (diff)
downloadlinux-dev-6288b4ceca868eac4bf729532f8d845e3ecbed98.tar.xz
linux-dev-6288b4ceca868eac4bf729532f8d845e3ecbed98.zip
coresight: etm4x: Fix accesses to TRCPROCSELR
TRCPROCSELR is not implemented if the TRCIDR3.NUMPROC == 0. Skip accessing the register in such cases. Cc: stable@vger.kernel.org Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Mike Leach <mike.leach@linaro.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-7-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