OSDN Git Service

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)
commit42ff700f3112babac129f4ae33023a7b7ce40a29
tree2fbfed12e4189ff4da8b8b12fc0dca6068c3375e
parent85e2414c518a03a21dddd4bc88fec2723c5e1197
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