]> www.infradead.org Git - users/dwmw2/linux.git/commit
coresight: Add claim tag warnings and debug messages
authorJames Clark <james.clark@linaro.org>
Tue, 25 Mar 2025 11:58:48 +0000 (11:58 +0000)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 30 Apr 2025 13:58:18 +0000 (14:58 +0100)
commita244a18c15fef479bce3eee68ffcab4a393b7b51
treed79eaee3b8a4eafe82461c29cda096b55bdcc583
parenta4e65842e1142aa18ef36113fbd81d614eaefe5a
coresight: Add claim tag warnings and debug messages

Add a dev_dbg() message so that external debugger conflicts are more
visible. There are multiple reasons for -EBUSY so a message for this
particular one could be helpful. Add errors for and enumerate all the
other cases that are impossible.

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-3-dfbd3822b2e5@linaro.org
drivers/hwtracing/coresight/coresight-core.c
drivers/hwtracing/coresight/coresight-priv.h