]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: config: Add configuration and feature generic functions
authorMike Leach <mike.leach@linaro.org>
Wed, 18 Aug 2021 19:40:14 +0000 (13:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 20:33:27 +0000 (22:33 +0200)
commit3b267c85729b7e97aa41a365f1d0c94ca2eff5b8
tree67329675b15c3b1e04e978858475fe49a4f781fc
parent9637ced12190f7edefe2aad431e237def0e237e3
coresight: config: Add configuration and feature generic functions

Adds a set of generic support functions that allow devices to set and save
features values on the device, and enable and disable configurations.

Additional functions for other common operations including feature
reset.

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