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>
Showing
- drivers/hwtracing/coresight/coresight-cfg-preload.c 7 additions, 2 deletionsdrivers/hwtracing/coresight/coresight-cfg-preload.c
- drivers/hwtracing/coresight/coresight-config.h 4 additions, 1 deletiondrivers/hwtracing/coresight/coresight-config.h
- drivers/hwtracing/coresight/coresight-syscfg.c 18 additions, 3 deletionsdrivers/hwtracing/coresight/coresight-syscfg.c
- drivers/hwtracing/coresight/coresight-syscfg.h 27 additions, 2 deletionsdrivers/hwtracing/coresight/coresight-syscfg.h
Please register or sign in to comment