From: Stephen Boyd <sboyd@codeaurora.org>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-omap@vger.kernel.org,
linux-sh@vger.kernel.org, linux-tegra@vger.kernel.org,
Kukjin Kim <kgene.kim@samsung.com>,
David Brown <davidb@codeaurora.org>,
Tony Lindgren <tony@atomide.com>,
Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>,
Linus Walleij <linus.walleij@stericsson.com>
Subject: Re: [PATCH] arm: platsmp: Allow secondary cpu hotplug with maxcpus=1
Date: Thu, 30 Jun 2011 09:36:20 -0700 [thread overview]
Message-ID: <4E0CA604.5080802@codeaurora.org> (raw)
In-Reply-To: <20110630131154.GJ23312@n2100.arm.linux.org.uk>
On 6/30/2011 6:11 AM, Russell King - ARM Linux wrote:
> On Wed, Jun 29, 2011 at 11:31:39AM -0700, Stephen Boyd wrote:
>> void __init platform_smp_prepare_cpus(unsigned int max_cpus)
>> {
>> - int i;
>> -
>> /*
>> * Initialise the present map, which describes the set of CPUs
>> * actually populated at the present time.
>> */
>> - for (i = 0; i < max_cpus; i++)
>> - set_cpu_present(i, true);
>> + init_cpu_present(&cpu_possible_map);
> Ok, if we're now doing this in every platform, it might as well go into
> arch/arm/kernel/smp.c - platforms can re-initialize the present map
> in this callback if they need to do something different.
That sounds better. V2 coming soon.
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@codeaurora.org>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] arm: platsmp: Allow secondary cpu hotplug with maxcpus=1
Date: Thu, 30 Jun 2011 16:36:20 +0000 [thread overview]
Message-ID: <4E0CA604.5080802@codeaurora.org> (raw)
In-Reply-To: <20110630131154.GJ23312@n2100.arm.linux.org.uk>
On 6/30/2011 6:11 AM, Russell King - ARM Linux wrote:
> On Wed, Jun 29, 2011 at 11:31:39AM -0700, Stephen Boyd wrote:
>> void __init platform_smp_prepare_cpus(unsigned int max_cpus)
>> {
>> - int i;
>> -
>> /*
>> * Initialise the present map, which describes the set of CPUs
>> * actually populated at the present time.
>> */
>> - for (i = 0; i < max_cpus; i++)
>> - set_cpu_present(i, true);
>> + init_cpu_present(&cpu_possible_map);
> Ok, if we're now doing this in every platform, it might as well go into
> arch/arm/kernel/smp.c - platforms can re-initialize the present map
> in this callback if they need to do something different.
That sounds better. V2 coming soon.
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
WARNING: multiple messages have this Message-ID (diff)
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: platsmp: Allow secondary cpu hotplug with maxcpus=1
Date: Thu, 30 Jun 2011 09:36:20 -0700 [thread overview]
Message-ID: <4E0CA604.5080802@codeaurora.org> (raw)
In-Reply-To: <20110630131154.GJ23312@n2100.arm.linux.org.uk>
On 6/30/2011 6:11 AM, Russell King - ARM Linux wrote:
> On Wed, Jun 29, 2011 at 11:31:39AM -0700, Stephen Boyd wrote:
>> void __init platform_smp_prepare_cpus(unsigned int max_cpus)
>> {
>> - int i;
>> -
>> /*
>> * Initialise the present map, which describes the set of CPUs
>> * actually populated at the present time.
>> */
>> - for (i = 0; i < max_cpus; i++)
>> - set_cpu_present(i, true);
>> + init_cpu_present(&cpu_possible_map);
> Ok, if we're now doing this in every platform, it might as well go into
> arch/arm/kernel/smp.c - platforms can re-initialize the present map
> in this callback if they need to do something different.
That sounds better. V2 coming soon.
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2011-06-30 16:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-29 18:31 [PATCH] arm: platsmp: Allow secondary cpu hotplug with maxcpus=1 Stephen Boyd
2011-06-29 18:31 ` Stephen Boyd
2011-06-29 18:31 ` Stephen Boyd
2011-06-30 5:38 ` Paul Mundt
2011-06-30 5:38 ` Paul Mundt
2011-06-30 5:38 ` Paul Mundt
2011-06-30 13:11 ` Russell King - ARM Linux
2011-06-30 13:11 ` Russell King - ARM Linux
2011-06-30 13:11 ` [PATCH] arm: platsmp: Allow secondary cpu hotplug with Russell King - ARM Linux
2011-06-30 16:36 ` Stephen Boyd [this message]
2011-06-30 16:36 ` [PATCH] arm: platsmp: Allow secondary cpu hotplug with maxcpus=1 Stephen Boyd
2011-06-30 16:36 ` Stephen Boyd
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=4E0CA604.5080802@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=davidb@codeaurora.org \
--cc=kgene.kim@samsung.com \
--cc=linus.walleij@stericsson.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=srinidhi.kasagar@stericsson.com \
--cc=tony@atomide.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.