Re: [PATCH] configfs: implement binary attributes

2015-12-30 Thread Pantelis Antoniou
Hi Joel, > On Dec 30, 2015, at 01:00 , Joel Becker wrote: > > On Thu, Dec 24, 2015 at 03:51:10PM +0100, Christoph Hellwig wrote: >> From: Pantelis Antoniou >> >> ConfigFS lacked binary attributes up until now. This patch >> introduces support for binary

Re: [PATCH] configfs: implement binary attributes

2015-12-30 Thread Pantelis Antoniou
Hi Joel, > On Dec 30, 2015, at 01:00 , Joel Becker <jl...@evilplan.org> wrote: > > On Thu, Dec 24, 2015 at 03:51:10PM +0100, Christoph Hellwig wrote: >> From: Pantelis Antoniou <pantelis.anton...@konsulko.com> >> >> ConfigFS lacked binary attributes

Re: [PATCH] configfs: Implement binary attributes

2015-12-18 Thread Pantelis Antoniou
Hi Geert, > On Dec 18, 2015, at 16:31 , Geert Uytterhoeven wrote: > > Hi Christoph, > > On Fri, Dec 18, 2015 at 12:27 PM, Pantelis Antoniou > wrote: >>> On Dec 18, 2015, at 13:26 , Christoph Hellwig wrote: >>> >>> On Fri, Dec 18, 2015

Re: [PATCH] configfs: Implement binary attributes

2015-12-18 Thread Pantelis Antoniou
Hi Christoph, > On Dec 18, 2015, at 13:26 , Christoph Hellwig wrote: > > On Fri, Dec 18, 2015 at 01:21:39PM +0200, Pantelis Antoniou wrote: >> It???s on my TODO list for the holiday break. >> >> It is not dropped, just /me swamped. > > I'm happy to take over

Re: [PATCH] configfs: Implement binary attributes

2015-12-18 Thread Pantelis Antoniou
Hi Christoph, > On Dec 18, 2015, at 13:20 , Christoph Hellwig wrote: > > Joel, Andrew, > > On Tue, Dec 01, 2015 at 10:21:24AM -0800, Christoph Hellwig wrote: >> what's the state of this patch? I'll need it for some work I plan to >> merge for 4.5 as well, so getting it into a stable

Re: [PATCH] configfs: Implement binary attributes

2015-12-18 Thread Pantelis Antoniou
Hi Christoph, > On Dec 18, 2015, at 13:26 , Christoph Hellwig <h...@infradead.org> wrote: > > On Fri, Dec 18, 2015 at 01:21:39PM +0200, Pantelis Antoniou wrote: >> It???s on my TODO list for the holiday break. >> >> It is not dropped, just /me swamped. >

Re: [PATCH] configfs: Implement binary attributes

2015-12-18 Thread Pantelis Antoniou
Hi Christoph, > On Dec 18, 2015, at 13:20 , Christoph Hellwig wrote: > > Joel, Andrew, > > On Tue, Dec 01, 2015 at 10:21:24AM -0800, Christoph Hellwig wrote: >> what's the state of this patch? I'll need it for some work I plan to >> merge for 4.5 as well, so getting it

Re: [PATCH] configfs: Implement binary attributes

2015-12-18 Thread Pantelis Antoniou
Hi Geert, > On Dec 18, 2015, at 16:31 , Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > > Hi Christoph, > > On Fri, Dec 18, 2015 at 12:27 PM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >>> On Dec 18, 2015, at 13:26 , Chris

Re: devicetree live reconfigureable hardware (eoma68)

2015-11-10 Thread Pantelis Antoniou
> On Nov 7, 2015, at 19:36 , Luke Kenneth Casson Leighton wrote: > > hi folks, > Hi Luke, This is a quite lengthy treatise you wrote here. I was not very familiar with EOMA68 so I hit the web to read about it first. At first glance it seems quite reasonable. > i raised the issue of

Re: devicetree live reconfigureable hardware (eoma68)

2015-11-10 Thread Pantelis Antoniou
> On Nov 7, 2015, at 19:36 , Luke Kenneth Casson Leighton wrote: > > hi folks, > Hi Luke, This is a quite lengthy treatise you wrote here. I was not very familiar with EOMA68 so I hit the web to read about it first. At first glance it seems quite reasonable. > i raised the

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-11-05 Thread Pantelis Antoniou
Hi Rob, > On Nov 5, 2015, at 21:52 , Rob Herring wrote: > > On Thu, Oct 22, 2015 at 11:15 AM, Pantelis Antoniou > wrote: >> Hi Rob, >> >>> On Oct 22, 2015, at 00:52 , Rob Herring wrote: >>> >>> On Wed, Oct 21, 2015 at 2:37 PM, Pantelis Anto

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-11-05 Thread Pantelis Antoniou
Hi Rob, > On Nov 5, 2015, at 21:52 , Rob Herring <robherri...@gmail.com> wrote: > > On Thu, Oct 22, 2015 at 11:15 AM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >> Hi Rob, >> >>> On Oct 22, 2015, at 00:52 , Rob Herring <robhe

Re: [PATCH v7 2/6] of: overlay: global sysfs enable attribute

2015-10-22 Thread Pantelis Antoniou
Hi Greg, > On Oct 22, 2015, at 23:19 , Greg Kroah-Hartman > wrote: > > On Thu, Oct 22, 2015 at 10:50:23PM +0300, Pantelis Antoniou wrote: >> A throw once master enable switch to protect against any >> further overlay applications if the administrator desires so. >

[PATCH] configfs: Implement binary attributes

2015-10-22 Thread Pantelis Antoniou
rework. Signed-off-by: Pantelis Antoniou --- Documentation/filesystems/configfs/configfs.txt | 57 +- fs/configfs/configfs_internal.h | 14 +- fs/configfs/dir.c | 18 +- fs/configfs/file.c | 256

[PATCH v7 0/6] of: overlay: kobject & sysfs'ation

2015-10-22 Thread Pantelis Antoniou
. * Dropped binary attributes using textual kobj_attributes instead. Changes since v1: * Maintainer requested changes. * Documented the sysfs entries * Per overlay sysfs attributes. Pantelis Antoniou (6): of: overlay: kobjectify overlay objects of: overlay: global sysfs enable attribute

[PATCH v7 2/6] of: overlay: global sysfs enable attribute

2015-10-22 Thread Pantelis Antoniou
A throw once master enable switch to protect against any further overlay applications if the administrator desires so. A kernel command line option is provided as well. Signed-off-by: Pantelis Antoniou --- drivers/of/overlay.c | 50 +- 1 file

[PATCH v7 4/6] Documentation: document of_overlay_disable parameter

2015-10-22 Thread Pantelis Antoniou
Document the of_overlay_disable parameter. Signed-off-by: Pantelis Antoniou --- Documentation/kernel-parameters.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 22a4b68..8ca89d9 100644 --- a/Documentation

[PATCH v7 1/6] of: overlay: kobjectify overlay objects

2015-10-22 Thread Pantelis Antoniou
. In a future more attributes can be added in a backwards compatible manner. Signed-off-by: Pantelis Antoniou --- drivers/of/base.c | 7 +++ drivers/of/of_private.h | 9 + drivers/of/overlay.c| 50 +++-- 3 files changed, 64

[PATCH v7 6/6] Documentation: ABI: overlays - per overlay docs

2015-10-22 Thread Pantelis Antoniou
Documentation for the per-overlay attributes. Signed-off-by: Pantelis Antoniou --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-firmware-devicetree-overlays b/Documentation/ABI

[PATCH v7 3/6] Documentation: ABI: overlays - global attributes

2015-10-22 Thread Pantelis Antoniou
Documentation ABI entry for overlays sysfs entries. Signed-off-by: Pantelis Antoniou --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-firmware-devicetree-overlays diff --git

[PATCH v7 5/6] of: overlay: add per overlay sysfs attributes

2015-10-22 Thread Pantelis Antoniou
* A per overlay can_remove sysfs attribute that reports whether the overlay can be removed or not due to another overlapping overlay. * A target sysfs attribute listing the target of each fragment, in a group named after the name of the fragment. Signed-off-by: Pantelis Antoniou --- drivers

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-22 Thread Pantelis Antoniou
Hi Rob, > On Oct 22, 2015, at 00:52 , Rob Herring wrote: > > On Wed, Oct 21, 2015 at 2:37 PM, Pantelis Antoniou > wrote: >> Hi Rob, >> >>> On Oct 21, 2015, at 00:54 , Rob Herring wrote: >>> >>> On Tue, Oct 20, 2015 at 4:11 PM, Pantelis Anto

[PATCH v7 5/6] of: overlay: add per overlay sysfs attributes

2015-10-22 Thread Pantelis Antoniou
* A per overlay can_remove sysfs attribute that reports whether the overlay can be removed or not due to another overlapping overlay. * A target sysfs attribute listing the target of each fragment, in a group named after the name of the fragment. Signed-off-by: Pantelis Antoniou <pantelis.an

[PATCH v7 1/6] of: overlay: kobjectify overlay objects

2015-10-22 Thread Pantelis Antoniou
. In a future more attributes can be added in a backwards compatible manner. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- drivers/of/base.c | 7 +++ drivers/of/of_private.h | 9 + drivers/of/overlay.c

[PATCH v7 4/6] Documentation: document of_overlay_disable parameter

2015-10-22 Thread Pantelis Antoniou
Document the of_overlay_disable parameter. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- Documentation/kernel-parameters.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 2

[PATCH v7 6/6] Documentation: ABI: overlays - per overlay docs

2015-10-22 Thread Pantelis Antoniou
Documentation for the per-overlay attributes. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-firmware-devi

[PATCH v7 0/6] of: overlay: kobject & sysfs'ation

2015-10-22 Thread Pantelis Antoniou
. * Dropped binary attributes using textual kobj_attributes instead. Changes since v1: * Maintainer requested changes. * Documented the sysfs entries * Per overlay sysfs attributes. Pantelis Antoniou (6): of: overlay: kobjectify overlay objects of: overlay: global sysfs enable attribute

[PATCH v7 2/6] of: overlay: global sysfs enable attribute

2015-10-22 Thread Pantelis Antoniou
A throw once master enable switch to protect against any further overlay applications if the administrator desires so. A kernel command line option is provided as well. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- drivers/of/overlay.

[PATCH v7 3/6] Documentation: ABI: overlays - global attributes

2015-10-22 Thread Pantelis Antoniou
Documentation ABI entry for overlays sysfs entries. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-fi

[PATCH] configfs: Implement binary attributes

2015-10-22 Thread Pantelis Antoniou
rework. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- Documentation/filesystems/configfs/configfs.txt | 57 +- fs/configfs/configfs_internal.h | 14 +- fs/configfs/dir.c | 18 +- fs/configfs/

Re: [PATCH v7 2/6] of: overlay: global sysfs enable attribute

2015-10-22 Thread Pantelis Antoniou
Hi Greg, > On Oct 22, 2015, at 23:19 , Greg Kroah-Hartman <gre...@linuxfoundation.org> > wrote: > > On Thu, Oct 22, 2015 at 10:50:23PM +0300, Pantelis Antoniou wrote: >> A throw once master enable switch to protect against any >> further overlay applications i

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-22 Thread Pantelis Antoniou
Hi Rob, > On Oct 22, 2015, at 00:52 , Rob Herring <robherri...@gmail.com> wrote: > > On Wed, Oct 21, 2015 at 2:37 PM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >> Hi Rob, >> >>> On Oct 21, 2015, at 00:54 , Rob Herring <robhe

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-21 Thread Pantelis Antoniou
Hi Rob, > On Oct 21, 2015, at 00:54 , Rob Herring wrote: > > On Tue, Oct 20, 2015 at 4:11 PM, Pantelis Antoniou > wrote: >> Hi Rob, >> >>> On Oct 21, 2015, at 00:04 , Rob Herring wrote: >>> >>> On Tue, Oct 20, 2015 at 2:13 PM, Pantelis A

Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects

2015-10-21 Thread Pantelis Antoniou
Hi Greg, > On Oct 21, 2015, at 00:03 , Greg Kroah-Hartman > wrote: > > On Tue, Oct 20, 2015 at 10:13:14PM +0300, Pantelis Antoniou wrote: >> We are going to need the overlays to appear on sysfs with runtime >> global properties (like master enable) so turn them into kob

Re: [PATCH v6 2/4] of: overlay: global sysfs enable attribute

2015-10-21 Thread Pantelis Antoniou
Hi Rob, > On Oct 21, 2015, at 00:50 , Rob Herring wrote: > > On Tue, Oct 20, 2015 at 4:06 PM, Greg Kroah-Hartman > wrote: >> On Tue, Oct 20, 2015 at 10:13:15PM +0300, Pantelis Antoniou wrote: >>> A throw once master enable switch to protect against any >&

Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects

2015-10-21 Thread Pantelis Antoniou
Hi Greg, > On Oct 21, 2015, at 00:03 , Greg Kroah-Hartman <gre...@linuxfoundation.org> > wrote: > > On Tue, Oct 20, 2015 at 10:13:14PM +0300, Pantelis Antoniou wrote: >> We are going to need the overlays to appear on sysfs with runtime >> global properties (li

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-21 Thread Pantelis Antoniou
Hi Rob, > On Oct 21, 2015, at 00:54 , Rob Herring <robherri...@gmail.com> wrote: > > On Tue, Oct 20, 2015 at 4:11 PM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >> Hi Rob, >> >>> On Oct 21, 2015, at 00:04 , Rob Herring <robhe

Re: [PATCH v6 2/4] of: overlay: global sysfs enable attribute

2015-10-21 Thread Pantelis Antoniou
Hi Rob, > On Oct 21, 2015, at 00:50 , Rob Herring <robherri...@gmail.com> wrote: > > On Tue, Oct 20, 2015 at 4:06 PM, Greg Kroah-Hartman > <gre...@linuxfoundation.org> wrote: >> On Tue, Oct 20, 2015 at 10:13:15PM +0300, Pantelis Antoniou wrote: >>> A thr

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-20 Thread Pantelis Antoniou
Hi Greg, > On Oct 21, 2015, at 00:08 , Greg Kroah-Hartman > wrote: > > On Tue, Oct 20, 2015 at 10:13:16PM +0300, Pantelis Antoniou wrote: >> * A per overlay can_remove sysfs attribute that reports whether >> the overlay can be removed or not due to ano

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-20 Thread Pantelis Antoniou
Hi Rob, > On Oct 21, 2015, at 00:04 , Rob Herring wrote: > > On Tue, Oct 20, 2015 at 2:13 PM, Pantelis Antoniou > wrote: >> * A per overlay can_remove sysfs attribute that reports whether >> the overlay can be removed or not due to another overlapping overlay. >>

Re: [PATCH v6 0/4] of: overlay: kobject & sysfs'ation

2015-10-20 Thread Pantelis Antoniou
Hi Rob, > On Oct 21, 2015, at 00:06 , Rob Herring wrote: > > On Tue, Oct 20, 2015 at 2:13 PM, Pantelis Antoniou > wrote: >> The first patch puts the overlays as objects in the sysfs in >> /sys/firmware/devicetree/overlays. >> >> The next adds a master ove

Re: [PATCH v6 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-10-20 Thread Pantelis Antoniou
Hi Rob, > On Oct 20, 2015, at 23:56 , Rob Herring wrote: > > On Tue, Oct 20, 2015 at 2:13 PM, Pantelis Antoniou > wrote: >> Documentation ABI entry for overlays sysfs entries. >> >> Signed-off-by: Pantelis Antoniou >> --- >> .../ABI/testi

[PATCH v6 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-10-20 Thread Pantelis Antoniou
Documentation ABI entry for overlays sysfs entries. Signed-off-by: Pantelis Antoniou --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 40 ++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-firmware-devicetree-overlays diff --git

[PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-20 Thread Pantelis Antoniou
* A per overlay can_remove sysfs attribute that reports whether the overlay can be removed or not due to another overlapping overlay. * A target sysfs attribute listing the target of each fragment, in a group named after the name of the fragment. Signed-off-by: Pantelis Antoniou --- drivers

[PATCH v6 1/4] of: overlay: kobjectify overlay objects

2015-10-20 Thread Pantelis Antoniou
We are going to need the overlays to appear on sysfs with runtime global properties (like master enable) so turn them into kobjects. Signed-off-by: Pantelis Antoniou --- drivers/of/base.c | 7 +++ drivers/of/of_private.h | 9 + drivers/of/overlay.c| 50

[PATCH v6 0/4] of: overlay: kobject & sysfs'ation

2015-10-20 Thread Pantelis Antoniou
textual kobj_attributes instead. Changes since v1: * Maintainer requested changes. * Documented the sysfs entries * Per overlay sysfs attributes. Pantelis Antoniou (4): of: overlay: kobjectify overlay objects of: overlay: global sysfs enable attribute of: overlay: add per overlay sysfs

[PATCH v6 2/4] of: overlay: global sysfs enable attribute

2015-10-20 Thread Pantelis Antoniou
A throw once master enable switch to protect against any further overlay applications if the administrator desires so. Signed-off-by: Pantelis Antoniou --- drivers/of/overlay.c | 43 ++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v5 1/4] of: overlay: kobjectify overlay objects

2015-10-20 Thread Pantelis Antoniou
Hi Greg, > On Oct 4, 2015, at 22:22 , Greg Kroah-Hartman > wrote: > > On Wed, Sep 16, 2015 at 07:09:08PM +0300, Pantelis Antoniou wrote: >> We are going to need the overlays to appear on sysfs with runtime >> global properties (like master enable) so turn them into kob

[PATCH v6 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-10-20 Thread Pantelis Antoniou
Documentation ABI entry for overlays sysfs entries. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 40 ++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-fi

[PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-20 Thread Pantelis Antoniou
* A per overlay can_remove sysfs attribute that reports whether the overlay can be removed or not due to another overlapping overlay. * A target sysfs attribute listing the target of each fragment, in a group named after the name of the fragment. Signed-off-by: Pantelis Antoniou <pantelis.an

[PATCH v6 1/4] of: overlay: kobjectify overlay objects

2015-10-20 Thread Pantelis Antoniou
We are going to need the overlays to appear on sysfs with runtime global properties (like master enable) so turn them into kobjects. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- drivers/of/base.c | 7 +++ drivers/of/of_private.h | 9 + d

[PATCH v6 2/4] of: overlay: global sysfs enable attribute

2015-10-20 Thread Pantelis Antoniou
A throw once master enable switch to protect against any further overlay applications if the administrator desires so. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- drivers/of/overlay.c | 43 ++- 1 file changed, 42 insertions

[PATCH v6 0/4] of: overlay: kobject & sysfs'ation

2015-10-20 Thread Pantelis Antoniou
textual kobj_attributes instead. Changes since v1: * Maintainer requested changes. * Documented the sysfs entries * Per overlay sysfs attributes. Pantelis Antoniou (4): of: overlay: kobjectify overlay objects of: overlay: global sysfs enable attribute of: overlay: add per overlay sysfs

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-20 Thread Pantelis Antoniou
Hi Greg, > On Oct 21, 2015, at 00:08 , Greg Kroah-Hartman <gre...@linuxfoundation.org> > wrote: > > On Tue, Oct 20, 2015 at 10:13:16PM +0300, Pantelis Antoniou wrote: >> * A per overlay can_remove sysfs attribute that reports whether >> the overlay can be

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-20 Thread Pantelis Antoniou
Hi Rob, > On Oct 21, 2015, at 00:04 , Rob Herring <robherri...@gmail.com> wrote: > > On Tue, Oct 20, 2015 at 2:13 PM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >> * A per overlay can_remove sysfs attribute that reports whether >> the overlay

Re: [PATCH v6 0/4] of: overlay: kobject & sysfs'ation

2015-10-20 Thread Pantelis Antoniou
Hi Rob, > On Oct 21, 2015, at 00:06 , Rob Herring <robherri...@gmail.com> wrote: > > On Tue, Oct 20, 2015 at 2:13 PM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >> The first patch puts the overlays as objects in the sysfs in >> /sys/firmware/

Re: [PATCH v6 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-10-20 Thread Pantelis Antoniou
Hi Rob, > On Oct 20, 2015, at 23:56 , Rob Herring <robherri...@gmail.com> wrote: > > On Tue, Oct 20, 2015 at 2:13 PM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >> Documentation ABI entry for overlays sysfs entries. >> >> Signed

Re: [PATCH v5 1/4] of: overlay: kobjectify overlay objects

2015-10-20 Thread Pantelis Antoniou
Hi Greg, > On Oct 4, 2015, at 22:22 , Greg Kroah-Hartman <gre...@linuxfoundation.org> > wrote: > > On Wed, Sep 16, 2015 at 07:09:08PM +0300, Pantelis Antoniou wrote: >> We are going to need the overlays to appear on sysfs with runtime >> global properties (li

Re: [PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-21 Thread Pantelis Antoniou
Hi Geert, > On Sep 21, 2015, at 16:07 , Geert Uytterhoeven wrote: > > Hi Pantelis, > > On Mon, Sep 21, 2015 at 2:49 PM, Pantelis Antoniou > wrote: >>> On Sep 21, 2015, at 15:47 , Geert Uytterhoeven wrote: >>> On Mon, Sep 21, 2015 at 2:36 PM, Pantelis

Re: [PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-21 Thread Pantelis Antoniou
Hi Geert, > On Sep 21, 2015, at 15:47 , Geert Uytterhoeven wrote: > > Hi Pantelis, > > On Mon, Sep 21, 2015 at 2:36 PM, Pantelis Antoniou > wrote: >>> On Sep 21, 2015, at 15:35 , Geert Uytterhoeven wrote: >>> On Wed, Sep 16, 2015 at 6:11 PM, Pantelis

Re: [PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-21 Thread Pantelis Antoniou
Hi Geert, > On Sep 21, 2015, at 15:35 , Geert Uytterhoeven wrote: > > Hi Pantelis, > > On Wed, Sep 16, 2015 at 6:11 PM, Pantelis Antoniou > wrote: >> Changesets are very powerful, but the lack of a helper API >> makes using them cumbersome. Introduce a simpl

Re: [PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-21 Thread Pantelis Antoniou
Hi Geert, > On Sep 21, 2015, at 15:35 , Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > > Hi Pantelis, > > On Wed, Sep 16, 2015 at 6:11 PM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >> Changesets are very powerful, but the lack of a helpe

Re: [PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-21 Thread Pantelis Antoniou
Hi Geert, > On Sep 21, 2015, at 15:47 , Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > > Hi Pantelis, > > On Mon, Sep 21, 2015 at 2:36 PM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >>> On Sep 21, 2015, at 15:35 , Geert Uytterhoeven &

Re: [PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-21 Thread Pantelis Antoniou
Hi Geert, > On Sep 21, 2015, at 16:07 , Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > > Hi Pantelis, > > On Mon, Sep 21, 2015 at 2:49 PM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >>> On Sep 21, 2015, at 15:47 , Geert Uytterhoeven &

Re: [PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-18 Thread Pantelis Antoniou
Hi Rob, > On Sep 17, 2015, at 17:13 , Rob Herring wrote: > > On 09/16/2015 11:11 AM, Pantelis Antoniou wrote: >> Changesets are very powerful, but the lack of a helper API >> makes using them cumbersome. Introduce a simple copy based >> API that makes things conside

Re: [PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-18 Thread Pantelis Antoniou
Hi Rob, > On Sep 17, 2015, at 17:13 , Rob Herring <r...@kernel.org> wrote: > > On 09/16/2015 11:11 AM, Pantelis Antoniou wrote: >> Changesets are very powerful, but the lack of a helper API >> makes using them cumbersome. Introduce a simple copy based >> API that

Re: [PATCH] i2c: nvmem: at24: Provide an EEPROM framework interface

2015-09-17 Thread Pantelis Antoniou
Hi Bartosz, > On Sep 17, 2015, at 17:42 , Bartosz Golaszewski > wrote: > > 2015-09-16 18:11 GMT+02:00 Pantelis Antoniou : >> For DT and in-kernel users there is no interface to the >> at24 EEPROMs so provide an NVMEM framework interface. >> >> This

Re: [PATCH] configfs: Implement binary attributes

2015-09-17 Thread Pantelis Antoniou
Hi Christoph, > On Sep 17, 2015, at 03:37 , Christoph Hellwig wrote: > > Hi Pantelis, > > can you check if your patches become simpler on top of the changes > in this tree: > > http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/configfs.2 > > I recently started using configfs

Re: [PATCH] configfs: Implement binary attributes

2015-09-17 Thread Pantelis Antoniou
Hi Christoph, > On Sep 17, 2015, at 03:37 , Christoph Hellwig wrote: > > Hi Pantelis, > > can you check if your patches become simpler on top of the changes > in this tree: > > http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/configfs.2 > > I recently

Re: [PATCH] i2c: nvmem: at24: Provide an EEPROM framework interface

2015-09-17 Thread Pantelis Antoniou
Hi Bartosz, > On Sep 17, 2015, at 17:42 , Bartosz Golaszewski <bgolaszew...@baylibre.com> > wrote: > > 2015-09-16 18:11 GMT+02:00 Pantelis Antoniou <pantelis.anton...@konsulko.com>: >> For DT and in-kernel users there is no interface to the >> at24 E

Re: [PATCH v5 3/4] of: overlay: add per overlay sysfs attributes

2015-09-16 Thread Pantelis Antoniou
Hi Rob, > On Sep 16, 2015, at 19:45 , Rob Herring wrote: > > On Wed, Sep 16, 2015 at 11:09 AM, Pantelis Antoniou > wrote: >> The two default overlay attributes are: >> >> * A targets sysfs attribute listing the targets of the installed >> overlay. The t

Re: [PATCH v2 0/2] of: Dynamic DT updates

2015-09-16 Thread Pantelis Antoniou
Hi Rob, > On Sep 16, 2015, at 19:43 , Rob Herring wrote: > > On Wed, Sep 16, 2015 at 11:11 AM, Pantelis Antoniou > wrote: >> The two patches add a new API for using changeset which >> makes things considerably easier. >> >> This patchset appl

[PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-16 Thread Pantelis Antoniou
atible", "foo,bar"); Signed-off-by: Pantelis Antoniou --- drivers/of/dynamic.c | 251 +++ include/linux/of.h | 74 +++ 2 files changed, 325 insertions(+) diff --git a/drivers/of/dynamic.c

[PATCH v2 1/2] of: dynamic: Add __of_node_dupv()

2015-09-16 Thread Pantelis Antoniou
Add an __of_node_dupv() private method and make __of_node_dup() use it. This is required for the subsequent changeset accessors which will make use of it. Signed-off-by: Pantelis Antoniou --- drivers/of/dynamic.c | 29 +++-- 1 file changed, 23 insertions(+), 6 deletions

[PATCH v2 0/2] of: Dynamic DT updates

2015-09-16 Thread Pantelis Antoniou
d the indirect and target root patches until we figure out what to do with the DT connector. Pantelis Antoniou (2): of: dynamic: Add __of_node_dupv() of: changesets: Introduce changeset helper methods drivers/of/dynamic.c | 280 +-- include/linu

[PATCH v5 2/4] of: overlay: global sysfs enable attribute

2015-09-16 Thread Pantelis Antoniou
A throw once master enable switch to protect against any further overlay applications if the administrator desires so. Signed-off-by: Pantelis Antoniou --- drivers/of/overlay.c | 43 ++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git

[PATCH] i2c: nvmem: at24: Provide an EEPROM framework interface

2015-09-16 Thread Pantelis Antoniou
For DT and in-kernel users there is no interface to the at24 EEPROMs so provide an NVMEM framework interface. This allows us to use AT24 based EEPROMs and reference them from within the DT tree. Signed-off-by: Pantelis Antoniou --- drivers/misc/eeprom/at24.c | 219

[PATCH] configfs: Implement binary attributes

2015-09-16 Thread Pantelis Antoniou
blob as part of the configuration of a resource, such as bitstream loading for FPGAs, DTBs for dynamically created devices etc. Look at Documentation/filesystems/configfs/configfs.txt for internals and howto use them. Signed-off-by: Pantelis Antoniou --- Documentation/filesystems/configfs

[PATCH v5 3/4] of: overlay: add per overlay sysfs attributes

2015-09-16 Thread Pantelis Antoniou
be removed or not due to another overlapping overlay. Signed-off-by: Pantelis Antoniou --- drivers/of/overlay.c | 53 1 file changed, 53 insertions(+) diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index 62cfb99..cff3c05 100644

[PATCH v5 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-09-16 Thread Pantelis Antoniou
Documentation ABI entry for overlays sysfs entries. Signed-off-by: Pantelis Antoniou --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-firmware-devicetree-overlays diff --git

[PATCH v5 1/4] of: overlay: kobjectify overlay objects

2015-09-16 Thread Pantelis Antoniou
We are going to need the overlays to appear on sysfs with runtime global properties (like master enable) so turn them into kobjects. Signed-off-by: Pantelis Antoniou --- drivers/of/base.c | 7 +++ drivers/of/of_private.h | 9 + drivers/of/overlay.c| 52

[PATCH v5 0/4] of: overlay: kobject & sysfs'ation

2015-09-16 Thread Pantelis Antoniou
. Pantelis Antoniou (4): of: overlay: kobjectify overlay objects of: overlay: global sysfs enable attribute of: overlay: add per overlay sysfs attributes Documentation: ABI: /sys/firmware/devicetree/overlays .../ABI/testing/sysfs-firmware-devicetree-overlays | 35 + drivers/of/base.c

[PATCH v5 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-09-16 Thread Pantelis Antoniou
Documentation ABI entry for overlays sysfs entries. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-fi

[PATCH v5 1/4] of: overlay: kobjectify overlay objects

2015-09-16 Thread Pantelis Antoniou
We are going to need the overlays to appear on sysfs with runtime global properties (like master enable) so turn them into kobjects. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- drivers/of/base.c | 7 +++ drivers/of/of_private.h | 9 + d

[PATCH v5 3/4] of: overlay: add per overlay sysfs attributes

2015-09-16 Thread Pantelis Antoniou
be removed or not due to another overlapping overlay. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- drivers/of/overlay.c | 53 1 file changed, 53 insertions(+) diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c

[PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-16 Thread Pantelis Antoniou
atible", "foo,bar"); Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- drivers/of/dynamic.c | 251 +++ include/linux/of.h | 74 +++ 2 files changed, 325 insertions(+) diff

[PATCH v2 1/2] of: dynamic: Add __of_node_dupv()

2015-09-16 Thread Pantelis Antoniou
Add an __of_node_dupv() private method and make __of_node_dup() use it. This is required for the subsequent changeset accessors which will make use of it. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- drivers/of/dynamic.c | 29 +++-- 1 file c

[PATCH v5 0/4] of: overlay: kobject & sysfs'ation

2015-09-16 Thread Pantelis Antoniou
. Pantelis Antoniou (4): of: overlay: kobjectify overlay objects of: overlay: global sysfs enable attribute of: overlay: add per overlay sysfs attributes Documentation: ABI: /sys/firmware/devicetree/overlays .../ABI/testing/sysfs-firmware-devicetree-overlays | 35 + drivers/of/base.c

[PATCH] configfs: Implement binary attributes

2015-09-16 Thread Pantelis Antoniou
blob as part of the configuration of a resource, such as bitstream loading for FPGAs, DTBs for dynamically created devices etc. Look at Documentation/filesystems/configfs/configfs.txt for internals and howto use them. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.

[PATCH] i2c: nvmem: at24: Provide an EEPROM framework interface

2015-09-16 Thread Pantelis Antoniou
For DT and in-kernel users there is no interface to the at24 EEPROMs so provide an NVMEM framework interface. This allows us to use AT24 based EEPROMs and reference them from within the DT tree. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- drivers/misc/eeprom/

[PATCH v2 0/2] of: Dynamic DT updates

2015-09-16 Thread Pantelis Antoniou
d the indirect and target root patches until we figure out what to do with the DT connector. Pantelis Antoniou (2): of: dynamic: Add __of_node_dupv() of: changesets: Introduce changeset helper methods drivers/of/dynamic.c | 280 +-- include/linu

[PATCH v5 2/4] of: overlay: global sysfs enable attribute

2015-09-16 Thread Pantelis Antoniou
A throw once master enable switch to protect against any further overlay applications if the administrator desires so. Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com> --- drivers/of/overlay.c | 43 ++- 1 file changed, 42 insertions

Re: [PATCH v2 0/2] of: Dynamic DT updates

2015-09-16 Thread Pantelis Antoniou
Hi Rob, > On Sep 16, 2015, at 19:43 , Rob Herring <robherri...@gmail.com> wrote: > > On Wed, Sep 16, 2015 at 11:11 AM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >> The two patches add a new API for using changeset which >> makes things consi

Re: [PATCH v5 3/4] of: overlay: add per overlay sysfs attributes

2015-09-16 Thread Pantelis Antoniou
Hi Rob, > On Sep 16, 2015, at 19:45 , Rob Herring <robherri...@gmail.com> wrote: > > On Wed, Sep 16, 2015 at 11:09 AM, Pantelis Antoniou > <pantelis.anton...@konsulko.com> wrote: >> The two default overlay attributes are: >> >> * A targets sysfs attr

Re: [PATCH v6 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-06-23 Thread Pantelis Antoniou
Hi Joe, > On Jun 23, 2015, at 05:52 , Joe Perches wrote: > > On Tue, 2015-06-23 at 00:08 +0100, Srinivas Kandagatla wrote: >> This patch adds just providers part of the framework just to enable easy >> review. > [] >> include/linux/nvmem-provider.h | 54 ++ > > Unless there are going to be

Re: [PATCH v6 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-06-23 Thread Pantelis Antoniou
Hi Joe, On Jun 23, 2015, at 05:52 , Joe Perches j...@perches.com wrote: On Tue, 2015-06-23 at 00:08 +0100, Srinivas Kandagatla wrote: This patch adds just providers part of the framework just to enable easy review. [] include/linux/nvmem-provider.h | 54 ++ Unless there are going

Re: [PATCH] RFC: Device overlay manager (PCI/USB + DT)

2015-06-15 Thread Pantelis Antoniou
Hi Paul, > On Jun 15, 2015, at 17:43 , Paul Bolle wrote: > > Some remarks (that might not touch the subjects you want to get feedback > on for an RFC). > > On Fri, 2015-06-12 at 23:04 +0300, Pantelis Antoniou wrote: >> --- a/drivers/misc/Kconfig >> +++ b/driv

Re: [PATCH v4 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-06-15 Thread Pantelis Antoniou
Hi Rob, > On Jun 15, 2015, at 16:42 , Rob Herring wrote: > > On Mon, Jun 15, 2015 at 8:26 AM, Pantelis Antoniou > wrote: >> Hi Rob, >> >>> On Jun 15, 2015, at 16:24 , Rob Herring wrote: >>> >>> On Fri, Jun 12, 2015 at 2:38 PM, Panteli

Re: [PATCH v4 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-06-15 Thread Pantelis Antoniou
Hi Rob, > On Jun 15, 2015, at 16:24 , Rob Herring wrote: > > On Fri, Jun 12, 2015 at 2:38 PM, Pantelis Antoniou > wrote: >> Documentation ABI entry for overlays sysfs entries. >> >> Signed-off-by: Pantelis Antoniou >> --- >> .../ABI/testi

Re: [PATCH v4 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-06-15 Thread Pantelis Antoniou
Hi Rob, On Jun 15, 2015, at 16:24 , Rob Herring robherri...@gmail.com wrote: On Fri, Jun 12, 2015 at 2:38 PM, Pantelis Antoniou pantelis.anton...@konsulko.com wrote: Documentation ABI entry for overlays sysfs entries. Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com

<    1   2   3   4   5   6   7   8   9   10   >