coresight: etm-perf: Update to handle configuration selection
authorMike Leach <mike.leach@linaro.org>
Wed, 18 Aug 2021 19:40:15 +0000 (13:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 20:33:27 +0000 (22:33 +0200)
commit94d2bac540762e7517933d365dd6289f54963c97
tree7b10cb3f391903824bab383e9b81c29dca877b82
parentf53e93ac8cf705fffdefe79573ce001d81c3c6fe
coresight: etm-perf: Update to handle configuration selection

Loaded coresight configurations are registered in the cs_etm\events sub
directory. This extends the etm-perf code to handle these registrations,
and the cs_syscfg driver to perform the registration on load.

Link: https://lore.kernel.org/r/20210723165444.1048-5-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-5-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-config.h
drivers/hwtracing/coresight/coresight-etm-perf.c
drivers/hwtracing/coresight/coresight-etm-perf.h
drivers/hwtracing/coresight/coresight-syscfg.c