linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 4/5] msm: hotplug: support cpu hotplug on msm
Date: Tue, 14 Dec 2010 17:30:07 +0000	[thread overview]
Message-ID: <20101214173007.GA24303@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1292302233-16194-5-git-send-email-johlstei@codeaurora.org>

On Mon, Dec 13, 2010 at 08:50:32PM -0800, Jeff Ohlstein wrote:
> +static inline void platform_do_lowpower(unsigned int cpu)
> +{
> +	/* Just enter wfe for now. */
> +	for (;;) {
> +		asm("wfe" : : : "memory");
> +		if (pen_release == cpu) {
> +			/*
> +			 * OK, proper wakeup, we're done
> +			 */
> +			break;
> +		}
> +		smp_rmb();

I can't work out what this read memory barrier is doing here.  Could you
suggest what purpose it's serving please?

  reply	other threads:[~2010-12-14 17:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14  4:50 [PATCH v4 0/5] SMP support for msm Jeff Ohlstein
2010-12-14  4:50 ` [PATCH v4 1/5] msm: Secure Channel Manager (SCM) support Jeff Ohlstein
2010-12-14  4:50 ` [PATCH v4 2/5] msm: scm-boot: Support for setting cold/warm boot addresses Jeff Ohlstein
2010-12-14  4:50 ` [PATCH v4 3/5] msm: timer: SMP timer support for msm Jeff Ohlstein
2010-12-14  4:50 ` [PATCH v4 4/5] msm: hotplug: support cpu hotplug on msm Jeff Ohlstein
2010-12-14 17:30   ` Russell King - ARM Linux [this message]
2010-12-14 22:31     ` Jeff Ohlstein
2010-12-14  4:50 ` [PATCH v5 5/5] msm: add SMP support for msm Jeff Ohlstein
2010-12-15 12:35   ` Catalin Marinas
2010-12-15 13:44     ` David Brown
2010-12-15 16:03       ` Russell King - ARM Linux
2010-12-15 17:42         ` Steve Muckle
2010-12-14 16:59 ` [PATCH v4 0/5] " David Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101214173007.GA24303@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).