coresight: configfs: Allow configfs to activate configuration
authorMike Leach <mike.leach@linaro.org>
Wed, 24 Nov 2021 20:00:37 +0000 (20:00 +0000)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 26 Nov 2021 18:34:27 +0000 (11:34 -0700)
commit7ebd0ec6cf947c3292f21a5edf2d37c9e7317554
treeb53d82d52a379ec52f72a4d50a8b454de43f621f
parentede5bab874f535355ccee5514383941b9525c03b
coresight: configfs: Allow configfs to activate configuration

Adds configfs attributes to allow a configuration to be enabled for use
when sysfs is used to control CoreSight.

perf retains independent enabling of configurations.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20211124200038.28662-6-mike.leach@linaro.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-etm4x-core.c
drivers/hwtracing/coresight/coresight-syscfg-configfs.c
drivers/hwtracing/coresight/coresight-syscfg-configfs.h
drivers/hwtracing/coresight/coresight-syscfg.c
drivers/hwtracing/coresight/coresight-syscfg.h