]> git.ipfire.org Git - thirdparty/linux.git/commit
coresight: Clear self hosted claim tag on probe
authorJames Clark <james.clark@linaro.org>
Tue, 25 Mar 2025 11:58:50 +0000 (11:58 +0000)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 30 Apr 2025 13:58:19 +0000 (14:58 +0100)
commit7cd6368657f1ee372aac902da911def75afe8477
tree6aa07a3be3606b5560cbcbbc9b998d9d7c982b38
parenta1b0e77ce517ec03a50e14abf3cb1da9f6ccd59e
coresight: Clear self hosted claim tag on probe

This can be left behind from a crashed kernel after a kexec so clear it
when probing each device. Clearing the self hosted bit even when claimed
externally is harmless, so do it unconditionally.

Reviewed-by: Leo Yan <leo.yan@arm.com>
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250325-james-coresight-claim-tags-v4-5-dfbd3822b2e5@linaro.org
drivers/hwtracing/coresight/coresight-catu.c
drivers/hwtracing/coresight/coresight-cti-core.c
drivers/hwtracing/coresight/coresight-etb10.c
drivers/hwtracing/coresight/coresight-etm3x-core.c
drivers/hwtracing/coresight/coresight-etm4x-core.c
drivers/hwtracing/coresight/coresight-funnel.c
drivers/hwtracing/coresight/coresight-replicator.c
drivers/hwtracing/coresight/coresight-tmc-core.c