From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] CPU hotplug support for Versatile platforms
Date: Fri, 17 Sep 2010 16:21:42 -0500 [thread overview]
Message-ID: <4C93DBE6.2040103@gmail.com> (raw)
In-Reply-To: <1284729124-15297-1-git-send-email-will.deacon@arm.com>
On 09/17/2010 08:12 AM, Will Deacon wrote:
> This patch series fixes some issues with the RealView CPU hotplug code and then
> factors out the common code into plat-versatile. Finally, support for multiple
> tiles is added to the Versatile Express BSP in order to decouple the
> tile-specific functions from the motherboard and hotplug support is
> added to the ct-ca9x4 tile using the new platform code.
>
> Taken against 2.6.35 and tested on RealView PB11MPCore and Versatile Express
> [ct-ca9x4] boards.
>
> Cc: Russell King - ARM Linux<linux@arm.linux.org.uk>
>
> Will Deacon (4):
> ARM: vexpress: add support for multiple core tiles
> ARM: realview: fix CPU hotplug support for SMP platforms
> ARM: plat-versatile: factor out common hotplug code
> ARM: vexpress: add support for CPU hotplug to ct-ca9x4 tile
>
> arch/arm/mach-realview/hotplug.c | 91 +++++++--------------
> arch/arm/mach-vexpress/Makefile | 1 +
> arch/arm/mach-vexpress/core.h | 5 -
> arch/arm/mach-vexpress/ct-ca9x4.c | 91 +++++++++++++++++---
> arch/arm/mach-vexpress/hotplug.c | 39 +++++++++
> arch/arm/mach-vexpress/include/mach/ct-ca9x4.h | 2 +
> arch/arm/mach-vexpress/include/mach/motherboard.h | 26 ++++++
> arch/arm/mach-vexpress/platsmp.c | 12 +---
> arch/arm/mach-vexpress/v2m.c | 61 +++++++++++---
> arch/arm/plat-versatile/Makefile | 1 +
> arch/arm/plat-versatile/hotplug.c | 57 +++++++++++++
> arch/arm/plat-versatile/include/plat/hotplug.h | 6 ++
> 12 files changed, 289 insertions(+), 103 deletions(-)
> create mode 100644 arch/arm/mach-vexpress/hotplug.c
> create mode 100644 arch/arm/plat-versatile/hotplug.c
> create mode 100644 arch/arm/plat-versatile/include/plat/hotplug.h
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
The platform specific SMP code is one area that prevents supporting a
single kernel image. All the functions in platsmp.c need to be converted
to function pointers and a lot of that code is pretty simliar across
platforms. What's needed is a common platsmp.c with something like
platform specific smp_ops like PowerPC. I think addressing that first
would simplify this restructuring as you are doing some of what's
needed, but you introducing new namespace problems like platform_cpu_*.
Rob
next prev parent reply other threads:[~2010-09-17 21:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-17 13:12 [PATCH 0/4] CPU hotplug support for Versatile platforms Will Deacon
2010-09-17 13:12 ` [PATCH 1/4] ARM: vexpress: add support for multiple core tiles Will Deacon
2010-09-17 13:12 ` [PATCH 2/4] ARM: realview: fix CPU hotplug support for SMP platforms Will Deacon
2010-09-17 13:12 ` [PATCH 3/4] ARM: plat-versatile: factor out common hotplug code Will Deacon
2010-09-17 13:12 ` [PATCH 4/4] ARM: vexpress: add support for CPU hotplug to ct-ca9x4 tile Will Deacon
2010-09-17 21:21 ` Rob Herring [this message]
2010-09-17 23:01 ` [PATCH 0/4] CPU hotplug support for Versatile platforms Russell King - ARM Linux
2010-09-18 20:58 ` Rob Herring
2010-09-22 17:45 ` Will Deacon
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=4C93DBE6.2040103@gmail.com \
--to=robherring2@gmail.com \
--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).