summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@arm.com>2026-05-15 21:08:30 +0100
committerSuzuki K Poulose <suzuki.poulose@arm.com>2026-05-18 10:18:47 +0100
commit39c40892f1a45908fbc57c334ac503da0c80d77c (patch)
tree1880341eb9d9500442290c7795ad7703469bf990 /scripts
parenta2e91258e8647f729eed80e13dc2423aa5fb7417 (diff)
coresight: Control path during CPU idle
Extend the CPU PM flow to control the path: disable from source up to the node before the sink, then re-enable the same range on restore. To avoid latency, control it up to the node before the sink. Track per-CPU PM restore failures using percpu_pm_failed. Once a CPU hits a restore failure, set the percpu_pm_failed and return NOTIFY_BAD on subsequent notifications to avoid repeating half-completed transitions. Setting percpu_pm_failed permanently blocks CPU PM on that CPU. Such failures are typically seen during development; disabling PM operations simplifies the implementation, and a warning highlights the issue. Clear this flag when the source device is unregistered. Reviewed-by: James Clark <james.clark@linaro.org> Tested-by: Jie Gan <jie.gan@oss.qualcomm.com> Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com> Tested-by: James Clark <james.clark@linaro.org> Signed-off-by: Leo Yan <leo.yan@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20260515-arm_coresight_path_power_management_improvement-v14-23-f88c4a3ecfe9@arm.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions