[cc'ing linux-next ml] On Wed, Mar 19, 2014 at 2:35 PM, Pantelis Antoniou <panto@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > Hi Tomi, > > On Mar 19, 2014, at 4:33 PM, Tomi Valkeinen wrote: > >> 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 <panto@xxxxxxxxxxxxxxxxxxxxxxx> >>>> 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 <panto@xxxxxxxxxxxxxxxxxxxxxxx> >>>> [grant.likely: moved of_node_init() calls, fixed up locking, and >>>> dropped __of_populate() hunks] >>>> Signed-off-by: Grant Likely <grant.likely@xxxxxxxxxx> >>>> >>> >>> 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 >> > > Yeah I know; my beaglebone hangs as well without it :) Hi Tomi, Pantelis sent the fix to me yesterday, but I hadn't tested and pushed it out until now. Tomorrow's linux-next it should be okay. g. -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html