linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] ARM: mach-shmobile: Fix headsmp.S code to use CPUINIT
Date: Mon, 09 Jan 2012 01:38:36 +0000	[thread overview]
Message-ID: <20120109013836.GG25648@linux-sh.org> (raw)

On Wed, Dec 28, 2011 at 04:44:06PM +0900, Magnus Damm wrote:
> Convert the low level SMP assembly code for SH-Mobile ARM
> from using the INIT to the CPUINIT section. This unbreaks
> onlining of CPUs using the CPU hotplug interface:
> 
> echo 1 > /sys/devices/system/cpu/cpu1/online
> 
> Without this fix the reset vector code used by CPU hotplug
> will be freed as init section data and CPU cores cannot
> be brought online.

On Wed, Dec 28, 2011 at 04:47:16PM +0900, Magnus Damm wrote:
> Add the function shmobile_platform_kill_cpu() to allow
> SoC specific code to tie in their CPU shutdown code.

On Wed, Dec 28, 2011 at 04:53:16PM +0900, Magnus Damm wrote:
> Add cache flushing code to the SH-Mobile specific CPU hotplug
> implementation. While at it, add a cpu mask to make sure the
> cache flushing code is finished in platform_cpu_die() before
> letting the SoC-specific code in shmobile_platform_cpu_kill()
> proceed with turning off power.
> 
> Without this code CPU hotplug offline fails when cache is
> enabled on Cortex-A9 based SoCs.

All applied, thanks.

             reply	other threads:[~2012-01-09  1:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-09  1:38 Paul Mundt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-12-28  7:44 [PATCH] ARM: mach-shmobile: Fix headsmp.S code to use CPUINIT Magnus Damm

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=20120109013836.GG25648@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.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).