[PATCH v2 0/5] coresight: syscfg: dynamic load

Mike Leach mike.leach at linaro.org
Wed Nov 17 05:59:38 PST 2021


Hi Mathieu,

On Thu, 11 Nov 2021 at 17:35, Mathieu Poirier
<mathieu.poirier at linaro.org> wrote:
>
> On Tue, Oct 19, 2021 at 08:13:46PM +0100, Mike Leach wrote:
> > 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
>
> I am done reviewing this set.  Other than the minor comments for patches 1 and 4
> I think it is ready.  I would like to merge this set before reviewing the rest of
> your work [1].
>
> Thanks,
> Mathieu
>

Thanks for the review. I'll update patches 1 & 4 as per you requests -
and add the docs too.

Will rebase onto the lastest coresight next.

Regards

Mike




> [1]. "coresight: syscfg: Extend configfs for config load"
>
> >
> >
> > 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
> >



--
Mike Leach
Principal Engineer, ARM Ltd.
Manchester Design Centre. UK



More information about the linux-arm-kernel mailing list