On 19/03/14 16:29, Pantelis Antoniou wrote:
> Hi Tomi,
> 
> On Mar 19, 2014, at 4:25 PM, Tomi Valkeinen wrote:
> 
>> On 17/03/14 16:09, Tomi Valkeinen wrote:
>>> Hi,
>>>
>>> I noticed that my omap4 panda does not boot with today's linux-next
>>> (8808b950581f71e3ee4cf8e6cae479f4c7106405). I didn't have much time to study
>>> it, but I didn't find any posts about the issue with a quick look. Below is
>>> the crash.
>>
>> I bisected this to the commit:
>>
>> commit ad2c12e9bc250b3387bcb4ab9ab114f43ff6122f
>> Author: Pantelis Antoniou <[email protected]>
>> Date:   Fri Dec 13 20:08:59 2013 +0200
>>
>>    of: device_node kobject lifecycle fixes
>>
>>    After the move to having device nodes be proper kobjects the lifecycle
>>    of the node needs to be controlled better.
>>
>>    At first convert of_add_node() in the unflattened functions to
>>    of_init_node() which initializes the kobject so that of_node_get/put
>>    work correctly even before of_init is called.
>>
>>    Afterwards introduce of_node_is_initialized & of_node_is_attached that
>>    query the underlying kobject about the state (attached means kobj
>>    is visible in sysfs)
>>
>>    Using that make sure the lifecycle of the tree is correct at all
>>    times.
>>
>>    Signed-off-by: Pantelis Antoniou <[email protected]>
>>    [grant.likely: moved of_node_init() calls, fixed up locking, and
>>                   dropped __of_populate() hunks]
>>    Signed-off-by: Grant Likely <[email protected]>
>>
> 
> Can you try this? It should fix it (plus it should be in -next soon)

Thanks, that fixes the issue (tested on omap4 panda).

 Tomi


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to