]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: syscfg: Add registration and feature loading for cs devices
authorMike Leach <mike.leach@linaro.org>
Wed, 18 Aug 2021 19:40:13 +0000 (13:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 20:33:27 +0000 (22:33 +0200)
commit9637ced12190f7edefe2aad431e237def0e237e3
tree2fbfed12e4189ff4da8b8b12fc0dca6068c3375e
parent092ea428d1ddc4a505492ec1f273f1148a1c3961
coresight: syscfg: Add registration and feature loading for cs devices

API for individual devices to register with the syscfg management
system is added.

Devices register with matching information, and any features or
configurations that match will be loaded into the device.

The feature and configuration loading is extended so that on load these
are loaded into any currently registered devices. This allows
configuration loading after devices have been registered.

Link: https://lore.kernel.org/r/20210723165444.1048-3-mike.leach@linaro.org
Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20210818194022.379573-3-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-config.h
drivers/hwtracing/coresight/coresight-syscfg.c
drivers/hwtracing/coresight/coresight-syscfg.h
include/linux/coresight.h