Hi Rob,
> On May 16, 2016, at 22:37 , Rob Herring <robherri...@gmail.com> wrote:
>
> On Mon, May 16, 2016 at 11:52 AM, Pantelis Antoniou
> <pantelis.anton...@konsulko.com> wrote:
>> When a device tree contains a lot of phandles, resolving one
>> takes t
Hi Rob,
> On May 16, 2016, at 22:37 , Rob Herring wrote:
>
> On Mon, May 16, 2016 at 11:52 AM, Pantelis Antoniou
> wrote:
>> When a device tree contains a lot of phandles, resolving one
>> takes time because the original method uses a search against
>>
Hi Geert,
> On May 16, 2016, at 22:06 , Geert Uytterhoeven <ge...@linux-m68k.org> wrote:
>
> On Mon, May 16, 2016 at 6:52 PM, Pantelis Antoniou
> <pantelis.anton...@konsulko.com> wrote:
>> Insert overlay symbols to the base tree when applied.
>> This m
Hi Geert,
> On May 16, 2016, at 22:06 , Geert Uytterhoeven wrote:
>
> On Mon, May 16, 2016 at 6:52 PM, Pantelis Antoniou
> wrote:
>> Insert overlay symbols to the base tree when applied.
>> This makes it possible to apply an overlay that references a label
>> that
When a device tree contains a lot of phandles, resolving one
takes time because the original method uses a search against
all nodes (not just the ones with phandles).
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/base.c
There are a bunch of pr_.*() messages in the file, use a common pr_fmt
for making them a little bit shorter.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/overlay.c | 84
1 file changed, 38 insertions(
Insert overlay symbols to the base tree when applied.
This makes it possible to apply an overlay that references a label
that a previously inserted overlay had.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/overlay.
When a device tree contains a lot of phandles, resolving one
takes time because the original method uses a search against
all nodes (not just the ones with phandles).
Signed-off-by: Pantelis Antoniou
---
drivers/of/base.c | 41 ++---
drivers
There are a bunch of pr_.*() messages in the file, use a common pr_fmt
for making them a little bit shorter.
Signed-off-by: Pantelis Antoniou
---
drivers/of/overlay.c | 84
1 file changed, 38 insertions(+), 46 deletions(-)
diff --git
Insert overlay symbols to the base tree when applied.
This makes it possible to apply an overlay that references a label
that a previously inserted overlay had.
Signed-off-by: Pantelis Antoniou
---
drivers/of/overlay.c | 93
1 file changed
Pantelis Antoniou (5):
of: rename *_node_sysfs to _node_post
of: Support hashtable lookups for phandles
of: unittest: hashed phandles unitest
of: overlay: Pick up label symbols from overlays.
of: overlay: Add pr_fmt for clarity
drivers/of/base.c | 45 +++--
drivers
Pantelis Antoniou (5):
of: rename *_node_sysfs to _node_post
of: Support hashtable lookups for phandles
of: unittest: hashed phandles unitest
of: overlay: Pick up label symbols from overlays.
of: overlay: Add pr_fmt for clarity
drivers/of/base.c | 45 +++--
drivers
-hashed lookup takes about 23us when
the cash is hot, while the hash lookup takes about 3us.
For those 1877 lookup we get a speedup in the boot sequence of
1877 * (23 - 3) = 37.5ms, which is not spectacular but there's no
point in wasting cycles and energy.
Signed-off-by: Pantelis Antoniou
Renames the *_node_sysfs methods to _node_post which is more accurate
when more work takes place besides sysfs tweaking (as in with
phandle hash management).
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/base.c | 4 ++--
drivers/of/dynamic.c
-hashed lookup takes about 23us when
the cash is hot, while the hash lookup takes about 3us.
For those 1877 lookup we get a speedup in the boot sequence of
1877 * (23 - 3) = 37.5ms, which is not spectacular but there's no
point in wasting cycles and energy.
Signed-off-by: Pantelis Antoniou
Renames the *_node_sysfs methods to _node_post which is more accurate
when more work takes place besides sysfs tweaking (as in with
phandle hash management).
Signed-off-by: Pantelis Antoniou
---
drivers/of/base.c | 4 ++--
drivers/of/dynamic.c| 10 +-
drivers/of/of_private.h
The changeset helpers are easier to use, use them instead of
using the static property.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/i2c/muxes/i2c-demux-pinctrl.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/i2c/muxes/i2c
The changeset helpers are easier to use, use them instead of
using the static property.
Signed-off-by: Pantelis Antoniou
---
drivers/i2c/muxes/i2c-demux-pinctrl.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/i2c/muxes/i2c-demux-pinctrl.c
b/drivers/i2c/muxes
that made sense into static inlines.
* Split out of_changeset_node_move method into a seperate patch
* Add in-kernel conversion i2c-demux patch
Pantelis Antoniou (5):
of: dynamic: Add __of_node_dupv()
of: changesets: Introduce changeset helper methods
of: changeset: Add of_changeset_node_move method
that made sense into static inlines.
* Split out of_changeset_node_move method into a seperate patch
* Add in-kernel conversion i2c-demux patch
Pantelis Antoniou (5):
of: dynamic: Add __of_node_dupv()
of: changesets: Introduce changeset helper methods
of: changeset: Add of_changeset_node_move method
Adds a changeset helper for moving a subtree to a different place
in the running tree. This is useful in advances cases of dynamic
device tree construction.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/dynamic.
Adds a changeset helper for moving a subtree to a different place
in the running tree. This is useful in advances cases of dynamic
device tree construction.
Signed-off-by: Pantelis Antoniou
---
drivers/of/dynamic.c | 66
include/linux/of.h
Add a unitest specific for the new changeset helpers.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/unittest.c | 54 +++
1 file changed, 54 insertions(+)
diff --git a/drivers/of/unittest.c b/drivers/of/unit
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
atible",
"foo,bar");
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/dynamic.c | 226 +++
include/linux/of.h | 328 +++
2 files chang
Add a unitest specific for the new changeset helpers.
Signed-off-by: Pantelis Antoniou
---
drivers/of/unittest.c | 54 +++
1 file changed, 54 insertions(+)
diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c
index e986e6e..ff6939b 100644
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
atible",
"foo,bar");
Signed-off-by: Pantelis Antoniou
---
drivers/of/dynamic.c | 226 +++
include/linux/of.h | 328 +++
2 files changed, 554 insertions(+)
diff --git a/drive
Hi Rob,
> On May 10, 2016, at 00:47 , Rob Herring <robherri...@gmail.com> wrote:
>
> On Mon, May 9, 2016 at 1:11 PM, Pantelis Antoniou
> <pantelis.anton...@konsulko.com> wrote:
>> Insert overlay symbols to the base tree when applied.
>> This makes it possible
Hi Rob,
> On May 10, 2016, at 00:47 , Rob Herring wrote:
>
> On Mon, May 9, 2016 at 1:11 PM, Pantelis Antoniou
> wrote:
>> Insert overlay symbols to the base tree when applied.
>> This makes it possible to apply an overlay that references a label
>> that a p
Hi Rob,
> On May 10, 2016, at 00:59 , Rob Herring <robherri...@gmail.com> wrote:
>
> On Mon, May 9, 2016 at 1:05 PM, Pantelis Antoniou
> <pantelis.anton...@konsulko.com> wrote:
>> Add a description of the indirect overlay method to the overlay
>> documenti
Hi Rob,
> On May 10, 2016, at 00:59 , Rob Herring wrote:
>
> On Mon, May 9, 2016 at 1:05 PM, Pantelis Antoniou
> wrote:
>> Add a description of the indirect overlay method to the overlay
>> documention file.
>
> Why? Please write some decent commit messages.
Hi Rob,
> On May 10, 2016, at 00:21 , Rob Herring <robherri...@gmail.com> wrote:
>
> On Mon, May 9, 2016 at 1:11 PM, Pantelis Antoniou
> <pantelis.anton...@konsulko.com> wrote:
>
> Why this is needed goes here.
>
> Any data on how much time the current c
Hi Rob,
> On May 10, 2016, at 00:21 , Rob Herring wrote:
>
> On Mon, May 9, 2016 at 1:11 PM, Pantelis Antoniou
> wrote:
>
> Why this is needed goes here.
>
> Any data on how much time the current code takes?
>
I’ll get some numbers. The current algorithm is exh
Hi Rob,
> On May 10, 2016, at 00:49 , Rob Herring <robherri...@gmail.com> wrote:
>
> On Mon, May 9, 2016 at 1:11 PM, Pantelis Antoniou
> <pantelis.anton...@konsulko.com> wrote:
>
> The "why" goes here.
>
OK.
>> Signed-off-by:
Hi Rob,
> On May 10, 2016, at 00:49 , Rob Herring wrote:
>
> On Mon, May 9, 2016 at 1:11 PM, Pantelis Antoniou
> wrote:
>
> The "why" goes here.
>
OK.
>> Signed-off-by: Pantelis Antoniou
>> ---
>> drivers/of/base.c | 4 ++--
>
Hi Rob,
> On May 10, 2016, at 00:11 , Rob Herring <robherri...@gmail.com> wrote:
>
> On Mon, May 9, 2016 at 3:38 PM, Geert Uytterhoeven <ge...@linux-m68k.org>
> wrote:
>> Hi Pantelis,
>>
>> On Mon, May 9, 2016 at 8:11 PM, Pantelis Antoniou
Hi Rob,
> On May 10, 2016, at 00:11 , Rob Herring wrote:
>
> On Mon, May 9, 2016 at 3:38 PM, Geert Uytterhoeven
> wrote:
>> Hi Pantelis,
>>
>> On Mon, May 9, 2016 at 8:11 PM, Pantelis Antoniou
>> wrote:
>>> --- a/drivers/of/base.c
>>&g
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/base.c | 35 ---
drivers/of/dynamic.c| 8
drivers/of/of_private.h | 31 +++
include/linux/of.h | 2 ++
4 files chang
Signed-off-by: Pantelis Antoniou
---
drivers/of/base.c | 35 ---
drivers/of/dynamic.c| 8
drivers/of/of_private.h | 31 +++
include/linux/of.h | 2 ++
4 files changed, 73 insertions(+), 3 deletions(-)
diff
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/base.c | 4 ++--
drivers/of/dynamic.c| 10 +-
drivers/of/of_private.h | 4 ++--
drivers/of/unittest.c | 4 ++--
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/d
search which is not optimal at all.
Finally, a long standing request of applied overlays populating
the symbol list is implemented; this allows staggered overlay
application with a symbol from a previous overlay being used
by another after it.
Pantelis Antoniou (3):
of: rename *_node_sysfs
Signed-off-by: Pantelis Antoniou
---
drivers/of/base.c | 4 ++--
drivers/of/dynamic.c| 10 +-
drivers/of/of_private.h | 4 ++--
drivers/of/unittest.c | 4 ++--
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index
search which is not optimal at all.
Finally, a long standing request of applied overlays populating
the symbol list is implemented; this allows staggered overlay
application with a symbol from a previous overlay being used
by another after it.
Pantelis Antoniou (3):
of: rename *_node_sysfs
Insert overlay symbols to the base tree when applied.
This makes it possible to apply an overlay that references a label
that a previously inserted overlay had.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
Tested-by: Geert Uytterhoeven <geert+rene...@glider.be>
Insert overlay symbols to the base tree when applied.
This makes it possible to apply an overlay that references a label
that a previously inserted overlay had.
Signed-off-by: Pantelis Antoniou
Tested-by: Geert Uytterhoeven
---
drivers/of/overlay.c | 102
Add unittests for target-root based overlays.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/unittest-data/testcases.dts | 5 +
drivers/of/unittest-data/tests-overlay.dtsi | 48 +++
drivers/of/unittest.c
Add a description of the indirect overlay method to the overlay
documention file.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
Documentation/devicetree/overlay-notes.txt | 13 +
1 file changed, 13 insertions(+)
diff --git a/Documentation/devicetree/o
Add a description of the target root overlay method to the overlay
documention file.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
Documentation/devicetree/overlay-notes.txt | 8
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/o
Add a unittest for the indirect overlay target case.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/unittest-data/testcases.dts | 9 +
drivers/of/unittest-data/tests-overlay.dtsi | 19 ++
drivers/of/unittest.c
Add unittests for target-root based overlays.
Signed-off-by: Pantelis Antoniou
---
drivers/of/unittest-data/testcases.dts | 5 +
drivers/of/unittest-data/tests-overlay.dtsi | 48 +++
drivers/of/unittest.c | 213
3 files changed, 266
Add a description of the indirect overlay method to the overlay
documention file.
Signed-off-by: Pantelis Antoniou
---
Documentation/devicetree/overlay-notes.txt | 13 +
1 file changed, 13 insertions(+)
diff --git a/Documentation/devicetree/overlay-notes.txt
b/Documentation
Add a description of the target root overlay method to the overlay
documention file.
Signed-off-by: Pantelis Antoniou
---
Documentation/devicetree/overlay-notes.txt | 8
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/overlay-notes.txt
b/Documentation/devicetree
Add a unittest for the indirect overlay target case.
Signed-off-by: Pantelis Antoniou
---
drivers/of/unittest-data/testcases.dts | 9 +
drivers/of/unittest-data/tests-overlay.dtsi | 19 ++
drivers/of/unittest.c | 59 +
3 files
};
Calling of_overlay_create_indirect() with a "foo" argument selects
the foo_target and so on.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/overlay.c | 126 +--
include/linux/of.h | 8
2 files ch
This patchset implement two new target methods.
A target-indirect method which allows selecting different
targets according to an argument using an extended API and
a target root method that fences the target only
to a specific given root.
Documentation and unit-tests are included.
Pantelis
};
Calling of_overlay_create_indirect() with a "foo" argument selects
the foo_target and so on.
Signed-off-by: Pantelis Antoniou
---
drivers/of/overlay.c | 126 +--
include/linux/of.h | 8
2 files changed, 110 insertions(+), 24 deletions(-)
This patchset implement two new target methods.
A target-indirect method which allows selecting different
targets according to an argument using an extended API and
a target root method that fences the target only
to a specific given root.
Documentation and unit-tests are included.
Pantelis
since the target node differs according to the bus the plugged
device lies.
Using an overlay creating method using a target root node allows
us to use a single overlay for those cases.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/overlay.c
since the target node differs according to the bus the plugged
device lies.
Using an overlay creating method using a target root node allows
us to use a single overlay for those cases.
Signed-off-by: Pantelis Antoniou
---
drivers/of/overlay.c | 101
Hi Rob,
> On May 9, 2016, at 17:27 , Rob Herring <robherri...@gmail.com> wrote:
>
> On Mon, May 9, 2016 at 8:20 AM, Pantelis Antoniou
> <pantelis.anton...@konsulko.com> wrote:
>> Changesets are very powerful, but the lack of a helper API
>> makes using them
Hi Rob,
> On May 9, 2016, at 17:27 , Rob Herring wrote:
>
> On Mon, May 9, 2016 at 8:20 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 ma
When reverting an update property changeset entry that created a
property the reverse operation is a remove property and not an update.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/dynamic.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/d
When reverting an update property changeset entry that created a
property the reverse operation is a remove property and not an update.
Signed-off-by: Pantelis Antoniou
---
drivers/of/dynamic.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c
which contains the bulk of the changes.
Finally the last patch adds a unittest for the changeset helpers.
Pantelis Antoniou (4):
of: dynamic: changeset prop-update revert fix
of: dynamic: Add __of_node_dupv()
of: changesets: Introduce changeset helper methods
of: unittest: changeset helpers
Add a unitest specific for the new changeset helpers.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/unittest.c | 54 +++
1 file changed, 54 insertions(+)
diff --git a/drivers/of/unittest.c b/drivers/of/unit
which contains the bulk of the changes.
Finally the last patch adds a unittest for the changeset helpers.
Pantelis Antoniou (4):
of: dynamic: changeset prop-update revert fix
of: dynamic: Add __of_node_dupv()
of: changesets: Introduce changeset helper methods
of: unittest: changeset helpers
Add a unitest specific for the new changeset helpers.
Signed-off-by: Pantelis Antoniou
---
drivers/of/unittest.c | 54 +++
1 file changed, 54 insertions(+)
diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c
index e986e6e..ff6939b 100644
atible",
"foo,bar");
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
---
drivers/of/dynamic.c | 501 +++
include/linux/of.h | 143 +++
2 files changed, 644 insertions(+)
diff
atible",
"foo,bar");
Signed-off-by: Pantelis Antoniou
---
drivers/of/dynamic.c | 501 +++
include/linux/of.h | 143 +++
2 files changed, 644 insertions(+)
diff --git a/drivers/of/dynamic.c
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
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
* 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
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>
Acked-by: Greg Kroah-Hartman <gre...@linuxfound
* 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
Acked-by: Greg
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
Acked-by: Greg Kroah-Hartman
---
drivers/of/overlay.c | 50
Documentation ABI entry for overlays sysfs entries.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
.../ABI/testing/sysfs-firmware-devicetree-overlays | 24 ++
1 file changed, 2
Document the of_overlay_disable parameter.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
Documentation/kernel-parameters.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Document
.
* Split the sysfs attribute patch to a global and a per-overlay
patch.
* 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
Documentation ABI entry for overlays sysfs entries.
Signed-off-by: Pantelis Antoniou
Acked-by: Greg Kroah-Hartman
---
.../ABI/testing/sysfs-firmware-devicetree-overlays | 24 ++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-firmware
Document the of_overlay_disable parameter.
Signed-off-by: Pantelis Antoniou
Acked-by: Greg Kroah-Hartman
---
Documentation/kernel-parameters.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/kernel-parameters.txt
b/Documentation/kernel-parameters.txt
index 0b3de80
.
* Split the sysfs attribute patch to a global and a per-overlay
patch.
* 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
Documentation for the per-overlay attributes.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
.../ABI/testing/sysfs-firmware-devicetree-overlays | 28 ++
1 file changed, 28 inserti
. In a future more attributes can be added
in a backwards compatible manner.
Signed-off-by: Pantelis Antoniou <pantelis.anton...@konsulko.com>
Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
drivers/of/base.c | 5 +
drivers/of/of_private.h | 9 ++
Documentation for the per-overlay attributes.
Signed-off-by: Pantelis Antoniou
Acked-by: Greg Kroah-Hartman
---
.../ABI/testing/sysfs-firmware-devicetree-overlays | 28 ++
1 file changed, 28 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-firmware-devicetree
. In a future more attributes can be added
in a backwards compatible manner.
Signed-off-by: Pantelis Antoniou
Acked-by: Greg Kroah-Hartman
---
drivers/of/base.c | 5 +
drivers/of/of_private.h | 9 +
drivers/of/overlay.c| 50
Hi Mark,
> On Apr 14, 2016, at 13:10 , Mark Rutland wrote:
>
> On Thu, Apr 14, 2016 at 04:47:57PM +0900, Masahiro Yamada wrote:
>> Hi experts.
>>
>> My understanding of refcount of DT node is poor.
>> Please help me understand it correctly.
>>
>> Sorry if I am asking
Hi Mark,
> On Apr 14, 2016, at 13:10 , Mark Rutland wrote:
>
> On Thu, Apr 14, 2016 at 04:47:57PM +0900, Masahiro Yamada wrote:
>> Hi experts.
>>
>> My understanding of refcount of DT node is poor.
>> Please help me understand it correctly.
>>
>> Sorry if I am asking stupid questions.
>>
>>
Hi Mark,
> On Apr 14, 2016, at 12:59 , Mark Rutland wrote:
>
> On Thu, Apr 14, 2016 at 09:48:49AM +0100, Russell King - ARM Linux wrote:
>> On Thu, Apr 14, 2016 at 04:47:57PM +0900, Masahiro Yamada wrote:
>>> Hi experts.
>>>
>>> My understanding of refcount of DT node is
Hi Mark,
> On Apr 14, 2016, at 12:59 , Mark Rutland wrote:
>
> On Thu, Apr 14, 2016 at 09:48:49AM +0100, Russell King - ARM Linux wrote:
>> On Thu, Apr 14, 2016 at 04:47:57PM +0900, Masahiro Yamada wrote:
>>> Hi experts.
>>>
>>> My understanding of refcount of DT node is poor.
>>
>> The
Hi Rob,
> On Feb 22, 2016, at 04:55 , Rob Herring wrote:
>
> On Wed, Feb 17, 2016 at 11:41:25AM -0600, Alan Tull wrote:
>> Add overlay callback functionality.
>>
>> When DT overlays are being added, some drivers/subsystems
>> will want to know about the changes before they go
Hi Rob,
> On Feb 22, 2016, at 04:55 , Rob Herring wrote:
>
> On Wed, Feb 17, 2016 at 11:41:25AM -0600, Alan Tull wrote:
>> Add overlay callback functionality.
>>
>> When DT overlays are being added, some drivers/subsystems
>> will want to know about the changes before they go into the
>> live
Hi Rob,
> On Feb 12, 2016, at 01:18 , Rob Herring wrote:
>
> On Wed, Feb 3, 2016 at 12:09 PM, Amitoj Kaur Chawla
> wrote:
>> In __of_find_node_by_full_name, add an of_node_get when detecting the
>> desired element, to ensure that it ends up with a reference count that is
>> one greater than on
Hi Rob,
> On Feb 12, 2016, at 01:18 , Rob Herring wrote:
>
> On Wed, Feb 3, 2016 at 12:09 PM, Amitoj Kaur Chawla
> wrote:
>> In __of_find_node_by_full_name, add an of_node_get when detecting the
>> desired element, to ensure that it ends up with a
Hi Rob,
> On Jan 29, 2016, at 18:45 , Rob Herring wrote:
>
> On Wed, Jan 27, 2016 at 06:14:00PM +0200, Pantelis Antoniou wrote:
>> Hi Mark,
>>
>>> On Jan 27, 2016, at 18:05 , Mark Rutland wrote:
>>>
>>> On Wed, Jan 27, 20
Hi Rob,
> On Jan 29, 2016, at 18:45 , Rob Herring <r...@kernel.org> wrote:
>
> On Wed, Jan 27, 2016 at 06:14:00PM +0200, Pantelis Antoniou wrote:
>> Hi Mark,
>>
>>> On Jan 27, 2016, at 18:05 , Mark Rutland <mark.rutl...@arm.com> wrote:
>>>
&
Hi Mark,
> On Jan 27, 2016, at 18:21 , Mark Rutland wrote:
>
> On Wed, Jan 27, 2016 at 06:14:00PM +0200, Pantelis Antoniou wrote:
>> Hi Mark,
>>
>>> On Jan 27, 2016, at 18:05 , Mark Rutland wrote:
>>>
>>> On Wed, Jan 27, 20
Hi Mark,
> On Jan 27, 2016, at 18:05 , Mark Rutland wrote:
>
> On Wed, Jan 27, 2016 at 08:50:17PM +0530, Amitoj Kaur Chawla wrote:
>> for_each_child_of_node performs an of_node_get on each iteration, so
>> to break out of the loop an of_node_put is required.
>>
>> Found using Coccinelle. The
Hi Mark,
> On Jan 27, 2016, at 18:05 , Mark Rutland wrote:
>
> On Wed, Jan 27, 2016 at 08:50:17PM +0530, Amitoj Kaur Chawla wrote:
>> for_each_child_of_node performs an of_node_get on each iteration, so
>> to break out of the loop an of_node_put is required.
>>
>> Found
Hi Mark,
> On Jan 27, 2016, at 18:21 , Mark Rutland <mark.rutl...@arm.com> wrote:
>
> On Wed, Jan 27, 2016 at 06:14:00PM +0200, Pantelis Antoniou wrote:
>> Hi Mark,
>>
>>> On Jan 27, 2016, at 18:05 , Mark Rutland <mark.rutl...@arm.com> wrote:
>>
301 - 400 of 1468 matches
Mail list logo