]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
coresight: cti: Remove hw_powered flag
authorLeo Yan <leo.yan@arm.com>
Thu, 26 Feb 2026 09:23:54 +0000 (09:23 +0000)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 3 Mar 2026 10:23:46 +0000 (10:23 +0000)
commitdaedb30fd6ac68a100912407aba3a4fdba8a4080
tree17dff4b672a06bd13733684ea057ce3be400ef57
parentb727e7bba3ff2b4da3e71628c85f2c2dd9ef471a
coresight: cti: Remove hw_powered flag

Since the CPU PM code has been removed from the CTI driver and the device
is enabled via runtime PM, pm_runtime_active() can be used to check
whether the device is powered.

As a result, the hw_powered flag is redundant, remove it.

Reviewed-by: Mike Leach <mike.leach@arm.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/20260226-arm_coresight_cti_refactor_v1-v2-6-b30fada3cfec@arm.com
drivers/hwtracing/coresight/coresight-cti-core.c
drivers/hwtracing/coresight/coresight-cti-sysfs.c
drivers/hwtracing/coresight/coresight-cti.h