Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758305Ab3G2RaL (ORCPT ); Mon, 29 Jul 2013 13:30:11 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:44384 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754239Ab3G2RaI (ORCPT ); Mon, 29 Jul 2013 13:30:08 -0400 Date: Mon, 29 Jul 2013 11:29:52 -0600 From: Jason Gunthorpe To: Jason Cooper Cc: Dave Martin , Mark Rutland , Tomasz Figa , Wolfram Sang , Grant Likely , Russell King - ARM Linux , "devicetree@vger.kernel.org" , Ian Campbell , Pawel Moll , Stephen Warren , Richard Cochran , Domenico Andreoli , "linux-arm-kernel@lists.infradead.org" , James Bottomley , "ksummit-2013-discuss@lists.linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "jonsmirl@gmail.com" Subject: Re: [Ksummit-2013-discuss] Defining schemas for Device Tree Message-ID: <20130729172952.GA1884@obsidianresearch.com> References: <2469263.vMN09Q7Tzi@flatron> <20130729150124.GS29916@titan.lakedaemon.net> <20130729164905.GB2280@localhost.localdomain> <20130729172339.GT29916@titan.lakedaemon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130729172339.GT29916@titan.lakedaemon.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.195 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 863 Lines: 19 On Mon, Jul 29, 2013 at 01:23:39PM -0400, Jason Cooper wrote: > true, the answer to this problem may be to create a depgraph of the > nodes based on phandles and child status, then init. However, if the > goal is to accelerate boot times, then that should not be calculated > during each boot, especially since it doesn't likely change from boot to > boot. That seems like a really smart idea. dtc could store the startup-order and dependencies in the dtb someplace and the kernel can just run through that. Using a combination of declaration order and topo-phandle sorting would probably cover all cases??? Jason -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/