Skip to content

Commit a13d5a2

Browse files
mikel-armbbgregkh
authored andcommitted
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/[email protected] Signed-off-by: Mike Leach <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7fdc9bb commit a13d5a2

File tree

6 files changed

+527
-1
lines changed

6 files changed

+527
-1
lines changed

drivers/hwtracing/coresight/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ menuconfig CORESIGHT
88
depends on OF || ACPI
99
select ARM_AMBA
1010
select PERF_EVENTS
11+
select CONFIGFS_FS
1112
help
1213
This framework provides a kernel interface for the CoreSight debug
1314
and trace drivers to register themselves with. It's intended to build

drivers/hwtracing/coresight/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
obj-$(CONFIG_CORESIGHT) += coresight.o
66
coresight-y := coresight-core.o coresight-etm-perf.o coresight-platform.o \
77
coresight-sysfs.o coresight-syscfg.o coresight-config.o \
8-
coresight-cfg-preload.o coresight-cfg-afdo.o
8+
coresight-cfg-preload.o coresight-cfg-afdo.o \
9+
coresight-syscfg-configfs.o
910
obj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o
1011
coresight-tmc-y := coresight-tmc-core.o coresight-tmc-etf.o \
1112
coresight-tmc-etr.o

0 commit comments

Comments
 (0)