From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Ohad Ben-Cohen <ohad@wizery.com>,
linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/2] remoteproc: Add sysfs interface
Date: Mon, 31 Oct 2016 17:31:35 -0700 [thread overview]
Message-ID: <20161101003135.GL25787@tuxbot> (raw)
In-Reply-To: <9607ab24-e9f3-515b-b143-e2c7ca19c0eb@imgtec.com>
On Thu 27 Oct 07:10 PDT 2016, Matt Redfearn wrote:
>
> On 19/10/16 13:05, Matt Redfearn wrote:
> >It is often desireable to boot a remote processor with different
> >firmware files, depending on the needs of the system at a particular
> >time. This series adds a sysfs interface to the remoteproc core,
> >exposing interfaces to manipulate the remote processor. One interface is
> >the "state" file which performs the same function as the one in debugfs
> >(which is removed later in the series). The other is a "firmware" file
> >which allows retrieval of the name of the running firmware, and allows a
> >new firmware to be loaded when written, as long as the remote processor
> >is currently stopped.
> >
> >Some groundwork must be laid first, changing the storage mechanism of
> >the firmware name such that it can be rewritten easily, then that is
> >wired up to the new sysfs interface.
> >
> >This series is based on v4.9-rc1
> >
> >
> >Changes in v3:
> >Drop call to rproc_add_virtio_devices from sysfs firmware_store
> >Use strcspn to find firmware name length
> >Explicit indexes for state strings
> >
> >Changes in v2:
> >Have firmware_store perform the necessary steps inline.
> >Use sysfs_streq when dealing with writes to sysfs files
> >
> >Matt Redfearn (2):
> > remoteproc: Add a sysfs interface for firmware and state
> > remoteproc: debugfs: Remove state entry which is duplicated is sysfs
> >
> > Documentation/ABI/testing/sysfs-class-remoteproc | 50 ++++++++
> > drivers/remoteproc/Makefile | 1 +
> > drivers/remoteproc/remoteproc_core.c | 3 +
> > drivers/remoteproc/remoteproc_debugfs.c | 71 -----------
> > drivers/remoteproc/remoteproc_internal.h | 5 +
> > drivers/remoteproc/remoteproc_sysfs.c | 151 +++++++++++++++++++++++
> > 6 files changed, 210 insertions(+), 71 deletions(-)
> > create mode 100644 Documentation/ABI/testing/sysfs-class-remoteproc
> > create mode 100644 drivers/remoteproc/remoteproc_sysfs.c
> >
>
> Hi Bjorn,
>
> Is this version of the patchset ok? Any feedback welcome :-)
>
Hi Matt,
I was hoping for some comments or verification from others, so I
conveniently did let it hang out in my TODO list.
I think the new interface looks good and have merged the two patches!
Regards,
Bjorn
next prev parent reply other threads:[~2016-11-01 0:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-19 12:05 [PATCH v3 0/2] remoteproc: Add sysfs interface Matt Redfearn
2016-10-19 12:05 ` Matt Redfearn
2016-10-19 12:05 ` [PATCH v3 1/2] remoteproc: Add a sysfs interface for firmware and state Matt Redfearn
2016-10-19 12:05 ` Matt Redfearn
2016-11-03 23:40 ` Wendy Liang
2016-11-04 9:13 ` Matt Redfearn
2016-11-04 9:13 ` Matt Redfearn
2016-11-07 18:14 ` Wendy Liang
2016-10-19 12:05 ` [PATCH v3 2/2] remoteproc: debugfs: Remove state entry which is duplicated is sysfs Matt Redfearn
2016-10-19 12:05 ` Matt Redfearn
2016-10-27 14:10 ` [PATCH v3 0/2] remoteproc: Add sysfs interface Matt Redfearn
2016-10-27 14:10 ` Matt Redfearn
2016-11-01 0:31 ` Bjorn Andersson [this message]
2016-11-01 9:25 ` Matt Redfearn
2016-11-01 9:25 ` Matt Redfearn
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=20161101003135.GL25787@tuxbot \
--to=bjorn.andersson@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=matt.redfearn@imgtec.com \
--cc=ohad@wizery.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 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.