Re: [Question] refcount of DT node

2016-04-16 Thread Masahiro Yamada
Hi experts. 2016-04-15 3:38 GMT+09:00 Russell King - ARM Linux : > > Their stance is not something I agree with - if we have something, > it should be correct, even if it's not what we would ultimately > desire, _or_ it should be removed. This half-way house that we > have today is total madnes

Re: [Question] refcount of DT node

2016-04-14 Thread Russell King - ARM Linux
On Thu, Apr 14, 2016 at 10:59:57AM +0100, 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

Re: [Question] refcount of DT node

2016-04-14 Thread Rob Herring
On Thu, Apr 14, 2016 at 01:02:56PM +0300, Pantelis Antoniou wrote: > 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 exp

Re: [Question] refcount of DT node

2016-04-14 Thread Frank Rowand
On 4/14/2016 3:02 AM, Pantelis Antoniou wrote: > 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 underst

Re: [Question] refcount of DT node

2016-04-14 Thread Pantelis Antoniou
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. >> >>

Re: [Question] refcount of DT node

2016-04-14 Thread Mark Rutland
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. > > > [1] Does this reference count exist for Overlay? > Is a node freed w

Re: [Question] refcount of DT node

2016-04-14 Thread Pantelis Antoniou
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 messag

Re: [Question] refcount of DT node

2016-04-14 Thread Mark Rutland
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 message from DT people is... don't worry about DT node refcounting. > Do wh

Re: [Question] refcount of DT node

2016-04-14 Thread Russell King - ARM Linux
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 message from DT people is... don't worry about DT node refcounting. Do whatever you want with it, they don't care whether you have correct refcounting or not. T

[Question] refcount of DT node

2016-04-14 Thread Masahiro Yamada
Hi experts. My understanding of refcount of DT node is poor. Please help me understand it correctly. Sorry if I am asking stupid questions. [1] Does this reference count exist for Overlay? Is a node freed when its refcount becomes zero? [2] When of_node_put() should be called, or sho