linux-stable/drivers/hwtracing/coresight
Suzuki K Poulose 194e045527 coresight: etm4x: Fix access to resource selector registers
[ Upstream commit d6fc00d0f6 ]

Resource selector pair 0 is always implemented and reserved. We must not
touch it, even during save/restore for CPU Idle. Rest of the driver is
well behaved. Fix the offending ones.

Reported-by: Yabin Cui <yabinc@google.com>
Fixes: f188b5e76a ("coresight: etm4x: Save/restore state across CPU low power states")
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Tested-by: Yabin Cui <yabinc@google.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20240412142702.2882478-5-suzuki.poulose@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-16 13:39:37 +02:00
..
Kconfig
Makefile
coresight-catu.c
coresight-catu.h
coresight-cfg-afdo.c
coresight-cfg-preload.c
coresight-cfg-preload.h
coresight-config.c
coresight-config.h
coresight-core.c coresight: Fix loss of connection info when a module is unloaded 2023-07-23 13:47:23 +02:00
coresight-cpu-debug.c
coresight-cti-core.c coresight: cti: Prevent negative values of enable count 2023-03-10 09:39:36 +01:00
coresight-cti-platform.c
coresight-cti-sysfs.c coresight: cti: Add PM runtime call in enable_store 2023-03-10 09:39:36 +01:00
coresight-cti.h
coresight-etb10.c
coresight-etm-cp14.c
coresight-etm-perf.c coresight: etm_pmu: Set the module field 2023-05-11 23:00:33 +09:00
coresight-etm-perf.h
coresight-etm.h
coresight-etm3x-core.c
coresight-etm3x-sysfs.c
coresight-etm4x-cfg.c
coresight-etm4x-cfg.h
coresight-etm4x-core.c coresight: etm4x: Fix access to resource selector registers 2024-06-16 13:39:37 +02:00
coresight-etm4x-sysfs.c
coresight-etm4x.h coresight: etm4x: Safe access for TRCQCLTR 2024-06-16 13:39:37 +02:00
coresight-funnel.c
coresight-platform.c
coresight-priv.h
coresight-replicator.c
coresight-stm.c
coresight-syscfg-configfs.c
coresight-syscfg-configfs.h
coresight-syscfg.c
coresight-syscfg.h
coresight-sysfs.c
coresight-tmc-core.c
coresight-tmc-etf.c coresight: tmc: Explicit type conversions to prevent integer overflow 2023-09-19 12:22:45 +02:00
coresight-tmc-etr.c coresight: tmc: Explicit type conversions to prevent integer overflow 2023-09-19 12:22:45 +02:00
coresight-tmc.h coresight: tmc: Explicit type conversions to prevent integer overflow 2023-09-19 12:22:45 +02:00
coresight-tpiu.c
coresight-trbe.c coresight: trbe: remove cpuhp instance node before remove cpuhp state 2022-12-31 13:14:30 +01:00
coresight-trbe.h