coresight: syscfg: Add initial configfs support
authorMike Leach <mike.leach@linaro.org>
Wed, 18 Aug 2021 19:40:20 +0000 (13:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 20:33:28 +0000 (22:33 +0200)
commita13d5a246aca17c44514be9afa20b34443182356
tree0032de017f48216b21cc5f50e062d79d7578d190
parent7fdc9bb2ce113c5318fdacbb717897fede81949d
coresight: syscfg: Add initial configfs support

Adds configfs subsystem and attributes to the configuration manager
to enable the listing of loaded configurations and features.

The default values of feature parameters can be accessed and altered
from these attributes to affect all installed devices using the feature.

Link: https://lore.kernel.org/r/20210723165444.1048-10-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-10-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/Kconfig
drivers/hwtracing/coresight/Makefile
drivers/hwtracing/coresight/coresight-syscfg-configfs.c [new file with mode: 0644]
drivers/hwtracing/coresight/coresight-syscfg-configfs.h [new file with mode: 0644]
drivers/hwtracing/coresight/coresight-syscfg.c
drivers/hwtracing/coresight/coresight-syscfg.h