]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
coresight: etm3x: Set active path on target CPU
authorLeo Yan <leo.yan@arm.com>
Fri, 15 May 2026 20:08:28 +0000 (21:08 +0100)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 18 May 2026 09:18:46 +0000 (10:18 +0100)
commitbc9907750718cdaad85870c93f2c72db5c85e345
treee89b8fb02f26e4876647e5eebee0238c45d8c8a6
parentb6d54a94dcf42d405ed6de502c42572b2a462445
coresight: etm3x: Set active path on target CPU

Set the path pointer on the target CPU during ETM enable and disable.

This ensures the device mode and path pointer are updated together and
observed atomically by the CPU PM notifier.

Tested-by: James Clark <james.clark@linaro.org>
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Tested-by: Jie Gan <jie.gan@oss.qualcomm.com>
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-21-f88c4a3ecfe9@arm.com
drivers/hwtracing/coresight/coresight-etm3x-core.c