From: horms@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] ARM: SH-Mobile: sh73a0: Secondary CPUs handle own SCU flags
Date: Thu, 10 Jan 2013 09:46:05 +0900 [thread overview]
Message-ID: <20130110004605.GA29988@verge.net.au> (raw)
In-Reply-To: <1357760512-2634-1-git-send-email-hechtb+renesas@gmail.com>
On Wed, Jan 09, 2013 at 08:41:51PM +0100, Bastian Hecht wrote:
> From: Bastian Hecht <hechtb@gmail.com>
>
> When booting secondary CPUs we have used the main CPU to set up the
> Snoop Control Unit flags of these CPUs. It is a cleaner approach
> if every CPU takes care of its own flags. We avoid the need for
> locking and the program logic is more concise. With this patch the file
> headsmp-sh73a0.S is added that contains a startup vector for secondary CPUs
> that sets up its own SCU flags.
> Further in sh73a0_smp_prepare_cpus() we can rely on the generic ARM helper
> scu_power_mode(). This is possible as we don't cross borders anymore (every
> CPU handles its own flags) and need no locking. So we can throw out the
> needless function modify_scu_cpu_psr().
>
> Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
Thanks, applied to the soc2 branch.
prev parent reply other threads:[~2013-01-10 0:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 19:41 [PATCH v2 1/2] ARM: SH-Mobile: sh73a0: Secondary CPUs handle own SCU flags Bastian Hecht
2013-01-09 19:41 ` [PATCH v2 2/2] ARM: SH-Mobile: sh73a0: Add CPU Hotplug Bastian Hecht
2013-01-10 0:46 ` Simon Horman
2013-01-10 0:46 ` Simon Horman [this message]
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=20130110004605.GA29988@verge.net.au \
--to=horms@verge.net.au \
--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).