Commit 0ae4f326 authored by Suzuki K Poulose's avatar Suzuki K Poulose Committed by Yabin Cui
Browse files

FROMGIT: coresight: etm4x: Fix access to resource selector registers



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: default avatarYabin Cui <yabinc@google.com>
Fixes: f188b5e7 ("coresight: etm4x: Save/restore state across CPU low power states")
Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Tested-by: default avatarYabin Cui <yabinc@google.com>
Reviewed-by: default avatarMike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20240412142702.2882478-5-suzuki.poulose@arm.com

Bug: 335234033
(cherry picked from commit d6fc00d0
 https://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git


 next)
Change-Id: I5f3385cb269969a299402fa258b30ab43e95805f
Signed-off-by: default avatarYabin Cui <yabinc@google.com>
parent 8ba18022
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment