[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120424083603.GE26306@S2101-09.ap.freescale.net>
Date: Tue, 24 Apr 2012 16:36:06 +0800
From: Shawn Guo <shawn.guo@...aro.org>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: Rob Lee <rob.lee@...aro.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
linaro-dev@...ts.linaro.org, patches@...aro.org,
daniel.lezcano@...aro.org, linux-kernel@...r.kernel.org,
Amit Kucheria <amit.kucheria@...aro.org>,
kernel@...gutronix.de, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/3] ARM: imx: Add common imx cpuidle init functionality.
On Tue, Apr 24, 2012 at 08:54:26AM +0100, Russell King - ARM Linux wrote:
> On Tue, Apr 24, 2012 at 09:38:43AM +0800, Shawn Guo wrote:
> > On Mon, Apr 23, 2012 at 10:45:02AM -0500, Rob Lee wrote:
> > > >> Let me try last time. What about having a late_initcall hook in
> > > >> machine_desc?
> > > >
> > > > Also fine with me.
> > > >
> > >
> > > Shall I add Shawn's patch to my imx cpuidle patchset or should the
> > > arch/arm/kernel/setup.c and arch.h changes be submitted separately?
> > > If separately, Shawn, did you want to submit this patch or should I?
> > >
> > Strange. Russell is not in the Cc list. I remember I added Russell
> > into Cc when I propose the idea. Added him again.
>
> I didn't see any message in this thread cc'd to me, but that's not to
> say I hadn't already read this patch. I don't have any comment against
> it, but I do wonder how often this hook would be used.
>
I guess mach-* that use common cpuidle will likely need this hook.
> We do seem to have quite a number of late_initcall()s in arch/arm/mach-*,
> so it seems to be a good idea - provided someone's willing to convert all
> those users of late_initcall()s.
Agreed. The late_initcall()s in arch/arm/mach-* will not scale for
long time, since we are moving toward single build.
--
Regards,
Shawn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists