]> www.infradead.org Git - users/jedix/linux-maple.git/commit
coresight: Make CPU id map a property of a trace ID map
authorJames Clark <james.clark@arm.com>
Mon, 22 Jul 2024 10:11:55 +0000 (11:11 +0100)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 20 Aug 2024 14:02:38 +0000 (15:02 +0100)
commitd53c8253c7822fbc524adcd950e7c6de6a229c99
treebf9ee83ad6e9fa171b78f32334e43456cdf5d49f
parent7e52877868ae2546ead8ba07cdf1d3e4c9e931f7
coresight: Make CPU id map a property of a trace ID map

The global CPU ID mappings won't work for per-sink ID maps so move it to
the ID map struct. coresight_trace_id_release_all_pending() is hard
coded to operate on the default map, but once Perf sessions use their
own maps the pending release mechanism will be deleted. So it doesn't
need to be extended to accept a trace ID map argument at this point.

Signed-off-by: James Clark <james.clark@arm.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Tested-by: Leo Yan <leo.yan@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/20240722101202.26915-14-james.clark@linaro.org
drivers/hwtracing/coresight/coresight-trace-id.c
include/linux/coresight.h