[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimkUpgPD5BdjL-3aV=miJwbT0OOWAJJ+V7LUhbP@mail.gmail.com>
Date: Mon, 13 Dec 2010 15:12:15 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: ykaoua@...lcomm.com
Cc: David Brown <davidb@...eaurora.org>,
Daniel Walker <dwalker@...eaurora.org>,
linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Jeff Ohlstein <johlstei@...eaurora.org>,
Brian Swetland <swetland@...gle.com>,
Dima Zavin <dima@...roid.com>,
Arve Hjønnevåg <arve@...roid.com>,
Bryan Huntsman <bryanh@...eaurora.org>,
Russell King <linux@....linux.org.uk>
Subject: Re: [PATCH v3 4/5] msm: hotplug: support cpu hotplug on msm
On 13 December 2010 01:20, <ykaoua@...lcomm.com> wrote:
> --- /dev/null
> +++ b/arch/arm/mach-msm/hotplug.c
[...]
> +static inline void platform_do_lowpower(unsigned int cpu)
> +{
> + /* Just enter wfe for now. */
> + for (;;) {
> + asm("wfe");
> + if (pen_release == cpu) {
> + /*
> + * OK, proper wakeup, we're done
> + */
> + break;
> + }
> + smp_rmb();
Do you need some barrier after wfe?
--
Catalin
Powered by blists - more mailing lists