From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Date: Tue, 05 Mar 2013 07:11:39 +0000 Subject: Re: SDHI and MMCIF with kzm9g-reference Message-Id: <20130305071138.GD14275@linux-sh.org> List-Id: References: <20130301110802.GB24364@verge.net.au> In-Reply-To: <20130301110802.GB24364@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org On Tue, Mar 05, 2013 at 03:56:52PM +0900, Simon Horman wrote: > clocksource: sh_cmt: Set initcall level to subsys > > The reason for this is to ensure that CMT is probed earlier > than with its previous initcall level, module init. > > This came up as a problem with using kzm9g-reference which does > not make use of early timers or devices. In that scenario initialisation > of SDHI and MMCIF both stall on msleep() calls due to the absence > of a initialised clock source. > > Boot tested on: armadillo800eva, mackerel and kzm9g > > Signed-off-by: Simon Horman > Any change you make for CMT equally applies to TMU and MTU2, and should be made at the same time. We do not want these to get out of sync for no reason. Note that mmc is also under subsys, so you are still link order dependent there. If you wish to avoid that, it needs to be no later than arch_initcall.