From: plagnioj@jcrosoft.com (Jean-Christophe PLAGNIOL-VILLARD) Date: Thu, 28 Apr 2011 05:20:00 +0200 Subject: [PATCH] clkdev: add support to lookup for early platform device In-Reply-To: <20110428031704.GL29103@game.jcrosoft.org> References: <1303308314-3213-1-git-send-email-plagnioj@jcrosoft.com> <20110427084247.GK17290@n2100.arm.linux.org.uk> <20110427103145.GF29103@game.jcrosoft.org> <20110427104758.GG29103@game.jcrosoft.org> <20110427150057.GH29103@game.jcrosoft.org> <20110428020910.GA13539@linux-sh.org> <20110428024559.GK29103@game.jcrosoft.org> <20110428030817.GC13539@linux-sh.org> <20110428031704.GL29103@game.jcrosoft.org> Message-ID: <20110428032000.GM29103@game.jcrosoft.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > > > > > > > > > Are you willfully ignoring the init_name handling in > > > > early_platform_driver_probe_id() or something? > > > > > > > > See a636ee7fb35b731ba2b331f6294e809bb6be09c8 for example. > > > excatly but the issue is that the slab is not availlable yet > > > see 06fe53beb636294587d8e94ef83c06cef07c21fd > > > so init_name is still NULL :( > > > > > This is a non-argument until you demonstrate a use case where we have a > > reasonable expectation for the clock framework to be available and the > > slab allocator not. > > > > If you're thinking about the SH earlyprintk case then I suggest you look > > at the sh-sci driver to see how we presently deal with the situation > > there. > the sh-sci driver expect the clock will enable for him > which did IIRC Magnus on sh-mobile > I do not want to do so > > I've unfortunatly on at91 I use the early device during the map_io > > so the slab is available and bootmem either sorry none of theem is available yet Best Regards, J.