coresight: etmX.X: stm: Remove trace_id() callback
authorMike Leach <mike.leach@linaro.org>
Mon, 16 Jan 2023 12:49:20 +0000 (12:49 +0000)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Thu, 19 Jan 2023 10:16:47 +0000 (10:16 +0000)
commit42708bac18cf7f09c058058cd4564f879c53b900
treeced7717aa450ebd81ce8132d6a11fda780ef239f
parent9edf291091f68f4767cb9d65fa825b64021277bd
coresight: etmX.X: stm: Remove trace_id() callback

CoreSight sources provide a callback (.trace_id) in the standard source
ops which returns the ID to the core code. This was used to check that
sources all had a unique Trace ID.

Uniqueness is now gauranteed by the Trace ID allocation system, and the
check code has been removed from the core.

This patch removes the unneeded and unused .trace_id source ops
from the ops structure and implementations in etm3x, etm4x and stm.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230116124928.5440-8-mike.leach@linaro.org
drivers/hwtracing/coresight/coresight-etm.h
drivers/hwtracing/coresight/coresight-etm3x-core.c
drivers/hwtracing/coresight/coresight-etm4x-core.c
drivers/hwtracing/coresight/coresight-stm.c
include/linux/coresight.h