Re: OF_DYNAMIC node lifecycle

2014-07-16 Thread Grant Likely
On Wed, Jul 16, 2014 at 5:12 PM, Nathan Fontenot wrote: > On 07/16/2014 05:26 PM, Grant Likely wrote: >> On Wed, Jul 16, 2014 at 2:57 PM, Grant Likely >> wrote: >>> On Wed, Jul 16, 2014 at 12:30 PM, Tyrel Datwyler >>> wrote: On 07/15/2014 10:33 PM, Grant Likely wrote: > I've got anothe

Re: OF_DYNAMIC node lifecycle

2014-07-16 Thread Nathan Fontenot
On 07/16/2014 05:26 PM, Grant Likely wrote: > On Wed, Jul 16, 2014 at 2:57 PM, Grant Likely wrote: >> On Wed, Jul 16, 2014 at 12:30 PM, Tyrel Datwyler >> wrote: >>> On 07/15/2014 10:33 PM, Grant Likely wrote: I've got another question about powerpc reconfiguration. I was looking at the

Re: OF_DYNAMIC node lifecycle

2014-07-16 Thread Grant Likely
On Wed, Jul 16, 2014 at 2:57 PM, Grant Likely wrote: > On Wed, Jul 16, 2014 at 12:30 PM, Tyrel Datwyler > wrote: >> On 07/15/2014 10:33 PM, Grant Likely wrote: >>> I've got another question about powerpc reconfiguration. I was looking >>> at the dlpar_configure_connector() function in dlpar.c. I

Re: OF_DYNAMIC node lifecycle

2014-07-16 Thread Grant Likely
On Wed, Jul 16, 2014 at 12:30 PM, Tyrel Datwyler wrote: > On 07/15/2014 10:33 PM, Grant Likely wrote: >> I've got another question about powerpc reconfiguration. I was looking >> at the dlpar_configure_connector() function in dlpar.c. I see that the >> function has the ability to process multiple

Re: OF_DYNAMIC node lifecycle

2014-07-16 Thread Tyrel Datwyler
On 07/15/2014 10:33 PM, Grant Likely wrote: > I've got another question about powerpc reconfiguration. I was looking > at the dlpar_configure_connector() function in dlpar.c. I see that the > function has the ability to process multiple nodes with additional > sibling and child nodes. It appears to

Re: OF_DYNAMIC node lifecycle

2014-07-15 Thread Grant Likely
I've got another question about powerpc reconfiguration. I was looking at the dlpar_configure_connector() function in dlpar.c. I see that the function has the ability to process multiple nodes with additional sibling and child nodes. It appears to link them into a detached tree structure, and the f

Re: OF_DYNAMIC node lifecycle

2014-06-27 Thread Nathan Fontenot
On 06/27/2014 07:41 AM, Grant Likely wrote: > On Thu, 26 Jun 2014 15:01:49 -0500, Nathan Fontenot > wrote: >> On 06/25/2014 03:24 PM, Grant Likely wrote: >>> On Tue, 24 Jun 2014 15:10:55 -0500, Nathan Fontenot >>> wrote: >> heh! I have often thought about adding reference counting to device

Re: OF_DYNAMIC node lifecycle

2014-06-27 Thread Nathan Fontenot
On 06/27/2014 07:40 AM, Pantelis Antoniou wrote: > Hi Grant, > > On Jun 27, 2014, at 3:32 PM, Grant Likely wrote: > >> On Thu, 26 Jun 2014 14:59:31 -0500, Nathan Fontenot >> wrote: >>> On 06/25/2014 03:22 PM, Grant Likely wrote: On Tue, 24 Jun 2014 15:07:05 -0500, Nathan Fontenot wr

Re: OF_DYNAMIC node lifecycle

2014-06-27 Thread Pantelis Antoniou
Hi Grant, On Jun 27, 2014, at 3:32 PM, Grant Likely wrote: > On Thu, 26 Jun 2014 14:59:31 -0500, Nathan Fontenot > wrote: >> On 06/25/2014 03:22 PM, Grant Likely wrote: >>> On Tue, 24 Jun 2014 15:07:05 -0500, Nathan Fontenot >>> wrote: On 06/23/2014 09:58 AM, Grant Likely wrote: > On

Re: OF_DYNAMIC node lifecycle

2014-06-27 Thread Grant Likely
On Thu, 26 Jun 2014 15:01:49 -0500, Nathan Fontenot wrote: > On 06/25/2014 03:24 PM, Grant Likely wrote: > > On Tue, 24 Jun 2014 15:10:55 -0500, Nathan Fontenot > > wrote: > heh! I have often thought about adding reference counting to device tree > properties. > >>> > >>> You horrible

Re: OF_DYNAMIC node lifecycle

2014-06-27 Thread Grant Likely
On Thu, 26 Jun 2014 14:59:31 -0500, Nathan Fontenot wrote: > On 06/25/2014 03:22 PM, Grant Likely wrote: > > On Tue, 24 Jun 2014 15:07:05 -0500, Nathan Fontenot > > wrote: > >> On 06/23/2014 09:58 AM, Grant Likely wrote: > >>> On Thu, 19 Jun 2014 11:33:20 +0300, Pantelis Antoniou > >>> wrote:

Re: OF_DYNAMIC node lifecycle

2014-06-26 Thread Nathan Fontenot
On 06/25/2014 03:24 PM, Grant Likely wrote: > On Tue, 24 Jun 2014 15:10:55 -0500, Nathan Fontenot > wrote: >> On 06/23/2014 09:48 AM, Grant Likely wrote: >>> On Thu, 19 Jun 2014 10:26:15 -0500, Nathan Fontenot >>> wrote: On 06/18/2014 03:07 PM, Grant Likely wrote: > Hi Nathan and Tyrel

Re: OF_DYNAMIC node lifecycle

2014-06-26 Thread Nathan Fontenot
On 06/25/2014 03:22 PM, Grant Likely wrote: > On Tue, 24 Jun 2014 15:07:05 -0500, Nathan Fontenot > wrote: >> On 06/23/2014 09:58 AM, Grant Likely wrote: >>> On Thu, 19 Jun 2014 11:33:20 +0300, Pantelis Antoniou >>> wrote: Hi Grant, CCing Thomas Gleixner & Steven Rostedt, since t

Re: OF_DYNAMIC node lifecycle

2014-06-25 Thread Grant Likely
On Tue, 24 Jun 2014 15:10:55 -0500, Nathan Fontenot wrote: > On 06/23/2014 09:48 AM, Grant Likely wrote: > > On Thu, 19 Jun 2014 10:26:15 -0500, Nathan Fontenot > > wrote: > >> On 06/18/2014 03:07 PM, Grant Likely wrote: > >>> Hi Nathan and Tyrel, > >>> > >>> I'm looking into lifecycle issues o

Re: OF_DYNAMIC node lifecycle

2014-06-25 Thread Grant Likely
On Tue, 24 Jun 2014 15:07:05 -0500, Nathan Fontenot wrote: > On 06/23/2014 09:58 AM, Grant Likely wrote: > > On Thu, 19 Jun 2014 11:33:20 +0300, Pantelis Antoniou > > wrote: > >> Hi Grant, > >> > >> CCing Thomas Gleixner & Steven Rostedt, since they might have a few > >> ideas... > >> > >> On J

Re: OF_DYNAMIC node lifecycle

2014-06-24 Thread Nathan Fontenot
On 06/23/2014 09:48 AM, Grant Likely wrote: > On Thu, 19 Jun 2014 10:26:15 -0500, Nathan Fontenot > wrote: >> On 06/18/2014 03:07 PM, Grant Likely wrote: >>> Hi Nathan and Tyrel, >>> >>> I'm looking into lifecycle issues on nodes modified by OF_DYNAMIC, and >>> I'm hoping you can help me. Right n

Re: OF_DYNAMIC node lifecycle

2014-06-24 Thread Nathan Fontenot
On 06/23/2014 09:58 AM, Grant Likely wrote: > On Thu, 19 Jun 2014 11:33:20 +0300, Pantelis Antoniou > wrote: >> Hi Grant, >> >> CCing Thomas Gleixner & Steven Rostedt, since they might have a few >> ideas... >> >> On Jun 18, 2014, at 11:07 PM, Grant Likely wrote: >> >>> Hi Nathan and Tyrel, >>> >

Re: OF_DYNAMIC node lifecycle

2014-06-23 Thread Grant Likely
On Mon, 23 Jun 2014 18:26:04 +0300, Pantelis Antoniou wrote: > On Jun 23, 2014, at 5:58 PM, Grant Likely wrote: > > We'll also need a transition plan to move to RCU. I think the existing > > iterators can be modified to do the rcu locking in-line, but still require > > the of_node_get/put stuff (

Re: OF_DYNAMIC node lifecycle

2014-06-23 Thread Pantelis Antoniou
Hi Grant, On Jun 23, 2014, at 5:58 PM, Grant Likely wrote: > On Thu, 19 Jun 2014 11:33:20 +0300, Pantelis Antoniou > wrote: >> Hi Grant, >> >> CCing Thomas Gleixner & Steven Rostedt, since they might have a few >> ideas... >> >> On Jun 18, 2014, at 11:07 PM, Grant Likely wrote: >> >>> Hi Nat

Re: OF_DYNAMIC node lifecycle

2014-06-23 Thread Grant Likely
On Thu, 19 Jun 2014 11:33:20 +0300, Pantelis Antoniou wrote: > Hi Grant, > > CCing Thomas Gleixner & Steven Rostedt, since they might have a few > ideas... > > On Jun 18, 2014, at 11:07 PM, Grant Likely wrote: > > > Hi Nathan and Tyrel, > > > > I'm looking into lifecycle issues on nodes modif

Re: OF_DYNAMIC node lifecycle

2014-06-23 Thread Grant Likely
On Thu, 19 Jun 2014 10:26:15 -0500, Nathan Fontenot wrote: > On 06/18/2014 03:07 PM, Grant Likely wrote: > > Hi Nathan and Tyrel, > > > > I'm looking into lifecycle issues on nodes modified by OF_DYNAMIC, and > > I'm hoping you can help me. Right now, pseries seems to be the only > > user of OF_

Re: OF_DYNAMIC node lifecycle

2014-06-19 Thread Nathan Fontenot
On 06/18/2014 03:07 PM, Grant Likely wrote: > Hi Nathan and Tyrel, > > I'm looking into lifecycle issues on nodes modified by OF_DYNAMIC, and > I'm hoping you can help me. Right now, pseries seems to be the only > user of OF_DYNAMIC, but making OF_DYNAMIC work has a huge impact on > the entire ker

Re: OF_DYNAMIC node lifecycle

2014-06-19 Thread Pantelis Antoniou
Hi Grant, CCing Thomas Gleixner & Steven Rostedt, since they might have a few ideas... On Jun 18, 2014, at 11:07 PM, Grant Likely wrote: > Hi Nathan and Tyrel, > > I'm looking into lifecycle issues on nodes modified by OF_DYNAMIC, and > I'm hoping you can help me. Right now, pseries seems to be

OF_DYNAMIC node lifecycle

2014-06-18 Thread Grant Likely
Hi Nathan and Tyrel, I'm looking into lifecycle issues on nodes modified by OF_DYNAMIC, and I'm hoping you can help me. Right now, pseries seems to be the only user of OF_DYNAMIC, but making OF_DYNAMIC work has a huge impact on the entire kernel because it requires all DT code to manage reference