Commit 384bf306 authored by Suzuki K Poulose's avatar Suzuki K Poulose Committed by Lee Jones
Browse files

UPSTREAM: coresight: etm4x: Do not hardcode IOMEM access for register restore



When we restore the register state for ETM4x, while coming back
from CPU idle, we hardcode IOMEM access. This is wrong and could
blow up for an ETM with system instructions access (and for ETE).

Bug: 254441685
Fixes: f5bd5236 ("coresight: etm4x: Convert all register accesses")
Reported-by: default avatarYabin Cui <yabinc@google.com>
Reviewed-by: default avatarMike Leach <mike.leach@linaro.org>
Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Tested-by: default avatarYabin Cui <yabinc@google.com>
Link: https://lore.kernel.org/r/20240412142702.2882478-2-suzuki.poulose@arm.com


(cherry picked from commit 1e7ba33f)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: Id73e801dbe289464fd7e422f25301cb0df2d369e
parent 0542a84d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment