coresight: configuration: Update API to introduce load owner concept
authorMike Leach <mike.leach@linaro.org>
Wed, 24 Nov 2021 20:00:33 +0000 (20:00 +0000)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 26 Nov 2021 18:27:21 +0000 (11:27 -0700)
commitda7000e8b83bb8dbdf8f01fd3fe4c4190974bfdc
tree5e648a953e552eaa1d114a9b34cf7e5b99200acd
parent66bd1333abd7fa191f13b929c9119d6cd3df27b0
coresight: configuration: Update API to introduce load owner concept

Update the existing load API to introduce a "load owner" concept.

This allows the tracking of the loaded configurations and features against
the loading owner type, to allow later unload according to owner.

A list of loaded configurations by owner is created.

The load owner infrastructure will be used in following patches
to implement dynanic load and unload, alongside dependency tracking.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20211124200038.28662-2-mike.leach@linaro.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-cfg-preload.c
drivers/hwtracing/coresight/coresight-config.h
drivers/hwtracing/coresight/coresight-syscfg.c
drivers/hwtracing/coresight/coresight-syscfg.h