All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] coresight: syscfg: dynamic load
@ 2021-10-19 19:13 Mike Leach
  2021-10-19 19:13 ` [PATCH v2 1/5] coresight: syscfg: Update API to allow dynamic load and unload Mike Leach
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Mike Leach @ 2021-10-19 19:13 UTC (permalink / raw)
  To: coresight
  Cc: linux-arm-kernel, mathieu.poirier, suzuki.poulose, leo.yan, Mike Leach

1) API updated to allow dynamic load and unload of configurations and
features. Dependency management between loaded sets is added.

2) New configuration and feature sets can be added using a loadable module.
An example in /samples/coresight is provided to demonstrate this.

3) configfs can be used to activate a configuration which will then be used
when controlling tracing using sysfs.

Applies and tested on coresight/next - which is 5.15-rc1


Changes since v1:

a) Original set split to divide related changes into smaller sets.
Removed RFC flag.

b) Revised config activation for sysfs to simplify common function.
(patch 4). 

c) Minor changes requested by Mathieu added.

Mike Leach (5):
  coresight: syscfg: Update API to allow dynamic load and unload
  coresight: syscfg: Update load API for config loadable modules
  coresight: syscfg: Example CoreSight configuration loadable module
  coresight: configfs: Allow configfs to activate configuration
  Documentation: coresight: Update coresight configuration docs

 .../trace/coresight/coresight-config.rst      |  19 ++
 MAINTAINERS                                   |   1 +
 .../coresight/coresight-cfg-preload.c         |   9 +-
 .../hwtracing/coresight/coresight-config.h    |   9 +-
 .../coresight/coresight-etm4x-core.c          |  11 +-
 .../coresight/coresight-syscfg-configfs.c     |  87 +++++
 .../coresight/coresight-syscfg-configfs.h     |   4 +
 .../hwtracing/coresight/coresight-syscfg.c    | 315 ++++++++++++++++--
 .../hwtracing/coresight/coresight-syscfg.h    |  39 ++-
 samples/Kconfig                               |   9 +
 samples/Makefile                              |   1 +
 samples/coresight/Makefile                    |   4 +
 samples/coresight/coresight-cfg-sample.c      |  73 ++++
 13 files changed, 546 insertions(+), 35 deletions(-)
 create mode 100644 samples/coresight/Makefile
 create mode 100644 samples/coresight/coresight-cfg-sample.c

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-11-17 14:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-19 19:13 [PATCH v2 0/5] coresight: syscfg: dynamic load Mike Leach
2021-10-19 19:13 ` [PATCH v2 1/5] coresight: syscfg: Update API to allow dynamic load and unload Mike Leach
2021-11-09 17:59   ` Mathieu Poirier
2021-10-19 19:13 ` [PATCH v2 2/5] coresight: syscfg: Update load API for config loadable modules Mike Leach
2021-10-19 19:13 ` [PATCH v2 3/5] coresight: syscfg: Example CoreSight configuration loadable module Mike Leach
2021-10-19 19:13 ` [PATCH v2 4/5] coresight: configfs: Allow configfs to activate configuration Mike Leach
2021-11-11 17:23   ` Mathieu Poirier
2021-10-19 19:13 ` [PATCH v2 5/5] Documentation: coresight: Update coresight configuration docs Mike Leach
2021-10-20 10:08   ` German Gomez
2021-10-20 14:00     ` Mike Leach
2021-11-11 17:35 ` [PATCH v2 0/5] coresight: syscfg: dynamic load Mathieu Poirier
2021-11-17 13:59   ` Mike Leach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.