coresight: Store pointers to connections rather than an array of them
authorJames Clark <james.clark@arm.com>
Tue, 25 Apr 2023 14:35:34 +0000 (15:35 +0100)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 5 Jun 2023 14:46:46 +0000 (15:46 +0100)
commit4e8fe7e5c3a5e48295a6745727a6703adab8ff7f
tree1b1452f19999adff7635408d5e70e6d0211c3158
parent3d4ff657e454f8dba3e5e268e731e6e28c6031c1
coresight: Store pointers to connections rather than an array of them

This will allow the same connection object to be referenced via the
input connection list in a later commit rather than duplicating them.

Reviewed-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: James Clark <james.clark@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230425143542.2305069-8-james.clark@arm.com
drivers/hwtracing/coresight/coresight-core.c
drivers/hwtracing/coresight/coresight-platform.c
drivers/hwtracing/coresight/coresight-priv.h
drivers/hwtracing/coresight/coresight-tmc-etr.c
include/linux/coresight.h