linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Mike Leach <mike.leach@linaro.org>
To: coresight@lists.linaro.org
Cc: linux-arm-kernel@lists.infradead.org, mathieu.poirier@linaro.org,
	suzuki.poulose@arm.com, leo.yan@linaro.org,
	Mike Leach <mike.leach@linaro.org>
Subject: [PATCH 0/6] coresight: syscfg: Extend configfs for config load.
Date: Mon,  1 Nov 2021 22:47:25 +0000	[thread overview]
Message-ID: <20211101224731.27870-1-mike.leach@linaro.org> (raw)

This set extends the configfs support to allow loading and unloading of
configurations as binary files via configfs.

Additional attributes - load, unload and last_load_status are provided to
implement the load functionality.

Routines to generate binary configuration files are supplied in
./samples/coresight.

Documentation is updated to describe feature usage.

Set applies on top of dynamic load set here:
https://lists.linaro.org/pipermail/coresight/2021-October/007254.html

Mike Leach (6):
  coresight: configfs: Add in functionality for load via configfs
  coresight: configfs: Add in binary attributes to load files
  coresight: configfs: Modify config files to allow userspace use
  coresight: samples: Add an example config writer for configfs load
  coresight: samples: Add coresight file reader sample program
  Documentation: coresight: Update coresight configuration docs

 .../trace/coresight/coresight-config.rst      |  65 ++-
 drivers/hwtracing/coresight/Makefile          |   2 +-
 .../coresight/coresight-config-file.c         | 472 ++++++++++++++++++
 .../coresight/coresight-config-file.h         | 158 ++++++
 .../hwtracing/coresight/coresight-config.h    |  38 ++
 .../coresight/coresight-syscfg-configfs.c     | 148 +++++-
 .../coresight/coresight-syscfg-configfs.h     |   8 +
 .../hwtracing/coresight/coresight-syscfg.c    |  36 ++
 .../hwtracing/coresight/coresight-syscfg.h    |   2 +
 samples/coresight/Makefile                    |  23 +
 samples/coresight/Makefile.host               |  39 ++
 samples/coresight/coresight-cfg-bufw.c        | 302 +++++++++++
 samples/coresight/coresight-cfg-bufw.h        |  24 +
 samples/coresight/coresight-cfg-file-read.c   | 191 +++++++
 samples/coresight/coresight-cfg-filegen.c     |  89 ++++
 15 files changed, 1583 insertions(+), 14 deletions(-)
 create mode 100644 drivers/hwtracing/coresight/coresight-config-file.c
 create mode 100644 drivers/hwtracing/coresight/coresight-config-file.h
 create mode 100644 samples/coresight/Makefile.host
 create mode 100644 samples/coresight/coresight-cfg-bufw.c
 create mode 100644 samples/coresight/coresight-cfg-bufw.h
 create mode 100644 samples/coresight/coresight-cfg-file-read.c
 create mode 100644 samples/coresight/coresight-cfg-filegen.c

-- 
2.17.1


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

             reply	other threads:[~2021-11-01 22:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-01 22:47 Mike Leach [this message]
2021-11-01 22:47 ` [PATCH 1/6] coresight: configfs: Add in functionality for load via configfs Mike Leach
2021-11-01 22:47 ` [PATCH 2/6] coresight: configfs: Add in binary attributes to load files Mike Leach
2021-11-01 22:47 ` [PATCH 3/6] coresight: configfs: Modify config files to allow userspace use Mike Leach
2021-11-01 22:47 ` [PATCH 4/6] coresight: samples: Add an example config writer for configfs load Mike Leach
2021-11-01 22:47 ` [PATCH 5/6] coresight: samples: Add coresight file reader sample program Mike Leach
2021-11-01 22:47 ` [PATCH 6/6] Documentation: coresight: Update coresight configuration docs Mike Leach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211101224731.27870-1-mike.leach@linaro.org \
    --to=mike.leach@linaro.org \
    --cc=coresight@lists.linaro.org \
    --cc=leo.yan@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=suzuki.poulose@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).