From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: logical_cpu_map: decouple CPU mapping from SMP
Date: Mon, 16 Jan 2012 16:10:03 +0000 [thread overview]
Message-ID: <4F144BDB.1090908@arm.com> (raw)
In-Reply-To: <1326728755-10133-1-git-send-email-will.deacon@arm.com>
On 16/01/12 15:45, Will Deacon wrote:
> It turns out that the logical CPU mapping is useful even when !CONFIG_SMP
> for manipulation of devices like interrupt and power controllers when
> running a UP kernel on a CPU other than 0. This can happen when kexecing
> a UP image from an SMP kernel.
>
> In the future, multi-cluster systems running AMP configurations will
> require something similar for mapping cluster IDs, so it makes sense to
> decouple this logic in preparation for this support.
>
> Cc: Marc Zyngier <marc.zyngier@arm.com>
> Cc: Yang Bai <hamo.by@gmail.com>
> Reported-by: Joerg Roedel <joerg.roedel@amd.com>
> Signed-off-by: Will Deacon <will.deacon@arm.com>
> ---
> arch/arm/common/gic.c | 7 ++-----
> arch/arm/include/asm/smp.h | 6 ------
> arch/arm/include/asm/smp_plat.h | 6 ++++++
> arch/arm/kernel/setup.c | 14 ++++++++++++++
> arch/arm/kernel/smp.c | 14 --------------
> arch/arm/mach-exynos/hotplug.c | 1 +
> arch/arm/mach-exynos/platsmp.c | 1 +
> arch/arm/mach-highbank/highbank.c | 3 +--
> arch/arm/mach-imx/src.c | 5 +----
> arch/arm/mach-msm/hotplug.c | 1 +
> arch/arm/mach-msm/platsmp.c | 1 +
> arch/arm/mach-realview/hotplug.c | 1 +
> arch/arm/mach-shmobile/smp-sh73a0.c | 1 +
> arch/arm/mach-ux500/hotplug.c | 1 +
> arch/arm/mach-ux500/platsmp.c | 1 +
> arch/arm/mach-vexpress/hotplug.c | 1 +
> arch/arm/plat-versatile/platsmp.c | 1 +
> 17 files changed, 34 insertions(+), 31 deletions(-)
You may want to also add a #include <asm/smp_plat.h> to
arch/arm/mach-shmobile/smp-r8a7779.c (a newcomer in Linus' tree).
Otherwise:
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
M.
--
Jazz is not dead. It just smells funny...
next prev parent reply other threads:[~2012-01-16 16:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-16 15:45 [PATCH 1/2] ARM: logical_cpu_map: decouple CPU mapping from SMP Will Deacon
2012-01-16 15:45 ` [PATCH 2/2] ARM: SCU: use cpu_logical_map for per-CPU low power mode Will Deacon
2012-01-16 16:10 ` Marc Zyngier [this message]
2012-01-16 16:12 ` [PATCH 1/2] ARM: logical_cpu_map: decouple CPU mapping from SMP Will Deacon
2012-01-17 7:43 ` Yang Bai
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=4F144BDB.1090908@arm.com \
--to=marc.zyngier@arm.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