From: Guenter Roeck <linux@roeck-us.net>
To: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Grant Likely <grant.likely@secretlab.ca>,
Rob Herring <robherring2@gmail.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Matt Porter <matt.porter@linaro.org>,
Koen Kooi <koen@dominion.thruhere.net>,
Alison Chaiken <Alison_Chaiken@mentor.com>,
Dinh Nguyen <dinh.linux@gmail.com>, Jan Lubbe <jluebbe@lasnet.de>,
Alexander Sverdlin <alexander.sverdlin@nsn.com>,
Michael Stickel <ms@mycable.de>,
Dirk Behme <dirk.behme@gmail.com>,
Alan Tull <delicious.quinoa@gmail.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Michael Bohan <mbohan@codeaurora.org>,
Ionut Nicu <ioan.nicu.ext@nsn.com>,
Michal Simek <monstr@monstr.eu>,
Matt Ranostay <mranostay@gmail.com>,
Joel Becker <jlbec@evilplan.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 3/3] DT: proc: Add runtime overlay interface in /proc
Date: Fri, 8 Nov 2013 12:00:01 -0800 [thread overview]
Message-ID: <20131108200001.GA26694@roeck-us.net> (raw)
In-Reply-To: <1383923170-24914-4-git-send-email-panto@antoniou-consulting.com>
On Fri, Nov 08, 2013 at 05:06:10PM +0200, Pantelis Antoniou wrote:
> Add a runtime interface to /proc to enable generic device tree overlay
> usage.
>
Hi Pantelis,
> ---
> fs/proc/proc_devtree.c | 278 +++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 278 insertions(+)
>
[ ... ]
> +
> + /* start at 256K at first */
> + if (od->alloc == 0)
> + od->alloc = SZ_256K / 2;
> +
I have to include <linux/sizes.h> to get this to build.
Also, even though /proc/device-tree-overlay is supposed to be write only, I get
this:
# cat /proc/device-tree-overlay
cat: [ 651.973568] overlay_proc_release: failed to unflatten tree
/proc/device-tree-overlay: Input/output error
which seems to be a bit odd. I did not spend any time to track it down, though.
Otherwise, the code seems to be working well.
Thanks,
Guenter
next prev parent reply other threads:[~2013-11-08 20:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-08 15:06 [PATCH v3 0/3] Introducing Device Tree Overlays Pantelis Antoniou
2013-11-08 15:06 ` Pantelis Antoniou
2013-11-08 15:06 ` [PATCH v3 1/3] OF: Introduce Device Tree resolve support Pantelis Antoniou
[not found] ` <1383923170-24914-2-git-send-email-panto-wVdstyuyKrO8r51toPun2/C9HSW9iNxf@public.gmane.org>
2013-11-11 18:17 ` Grant Likely
2013-11-11 18:17 ` Grant Likely
[not found] ` <20131111181739.06BC5C42348-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2013-11-12 8:28 ` Pantelis Antoniou
2013-11-12 8:28 ` Pantelis Antoniou
[not found] ` <F60B2232-94D0-41C6-8D79-5A28FA282D4E-wVdstyuyKrO8r51toPun2/C9HSW9iNxf@public.gmane.org>
2013-11-13 1:39 ` Grant Likely
2013-11-13 1:39 ` Grant Likely
[not found] ` <20131113013936.E591FC419FB-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2013-11-13 9:06 ` Pantelis Antoniou
2013-11-13 9:06 ` Pantelis Antoniou
2013-11-08 15:06 ` [PATCH v3 2/3] OF: Introduce DT overlay support Pantelis Antoniou
2013-11-08 19:12 ` Guenter Roeck
2013-11-11 18:42 ` Grant Likely
2013-11-11 18:42 ` Grant Likely
[not found] ` <20131111184245.D569DC4234A-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2013-11-12 9:30 ` Pantelis Antoniou
2013-11-12 9:30 ` Pantelis Antoniou
2013-11-14 1:31 ` Grant Likely
[not found] ` <20131114013124.7DD0AC404DF-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2013-11-14 10:01 ` Pantelis Antoniou
2013-11-14 10:01 ` Pantelis Antoniou
[not found] ` < 20131111184245.D569DC4234A@trevor.secretlab.ca>
[not found] ` < ED51965C-6EC8-48AE-A59C-CD09FFD57731@antoniou-consulting.com>
[not found] ` < 20131114013124.7DD0AC404DF@trevor.secretlab.ca>
[not found] ` < E4922A5F-11B3-4167-91EF-C0D5F3F77D40@antoniou-consulting.com>
[not found] ` <E4922A5F-11B3-4167-91EF-C0D5F3F77D40-wVdstyuyKrO8r51toPun2/C9HSW9iNxf@public.gmane.org>
2013-11-14 21:22 ` Grant Likely
2013-11-14 21:22 ` Grant Likely
[not found] ` <20131114212206.EAD1BC402B4-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2013-11-15 8:34 ` Pantelis Antoniou
2013-11-15 8:34 ` Pantelis Antoniou
[not found] ` < 20131114212206.EAD1BC402B4@trevor.secretlab.ca>
[not found] ` < D048F1EA-B78C-4B10-9A6D-726A17036B42@antoniou-consulting.com>
[not found] ` <D048F1EA-B78C-4B10-9A6D-726A17036B42-wVdstyuyKrO8r51toPun2/C9HSW9iNxf@public.gmane.org>
2013-11-15 16:13 ` Grant Likely
2013-11-15 16:13 ` Grant Likely
2013-11-08 15:06 ` [PATCH v3 3/3] DT: proc: Add runtime overlay interface in /proc Pantelis Antoniou
2013-11-08 20:00 ` Guenter Roeck [this message]
[not found] ` <1383923170-24914-4-git-send-email-panto-wVdstyuyKrO8r51toPun2/C9HSW9iNxf@public.gmane.org>
2013-11-11 10:22 ` Ionut Nicu
2013-11-11 10:22 ` Ionut Nicu
[not found] ` <5280AFCF.8050208-OYasijW0DpE@public.gmane.org>
2013-11-11 12:30 ` Pantelis Antoniou
2013-11-11 12:30 ` Pantelis Antoniou
2013-11-11 18:47 ` Grant Likely
2013-11-11 18:47 ` Grant Likely
[not found] ` <20131111184736.3DE20C4234E-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2013-11-12 8:40 ` Pantelis Antoniou
2013-11-12 8:40 ` Pantelis Antoniou
[not found] ` <86657251-2872-4FB2-B71A-519A685B458A-wVdstyuyKrO8r51toPun2/C9HSW9iNxf@public.gmane.org>
2013-11-12 15:27 ` Matt Porter
2013-11-12 15:27 ` Matt Porter
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=20131108200001.GA26694@roeck-us.net \
--to=linux@roeck-us.net \
--cc=Alison_Chaiken@mentor.com \
--cc=alexander.sverdlin@nsn.com \
--cc=delicious.quinoa@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dinh.linux@gmail.com \
--cc=dirk.behme@gmail.com \
--cc=grant.likely@secretlab.ca \
--cc=ioan.nicu.ext@nsn.com \
--cc=jlbec@evilplan.org \
--cc=jluebbe@lasnet.de \
--cc=koen@dominion.thruhere.net \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.porter@linaro.org \
--cc=mbohan@codeaurora.org \
--cc=monstr@monstr.eu \
--cc=mranostay@gmail.com \
--cc=ms@mycable.de \
--cc=panto@antoniou-consulting.com \
--cc=robherring2@gmail.com \
--cc=s.hauer@pengutronix.de \
--cc=swarren@wwwdotorg.org \
/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.