From: dirk.behme@de.bosch.com (Dirk Behme)
To: linux-arm-kernel@lists.infradead.org
Subject: i.MX6 Solo: maxcpus=1 vs. nosmp: Warning from smp_twd.c?
Date: Thu, 14 Feb 2013 15:47:50 +0100 [thread overview]
Message-ID: <511CF916.2060705@de.bosch.com> (raw)
In-Reply-To: <CAOMZO5CTfzZxRNQF=x5-MkM4nGBOXRd0CN7OnO1p=ahHDoT8CQ@mail.gmail.com>
On 14.02.2013 15:40, Fabio Estevam wrote:
> Hi Dirk,
>
> On Thu, Feb 14, 2013 at 12:10 PM, Dirk Behme <dirk.behme@de.bosch.com> wrote:
>> Hi,
>>
>> working on a i.MX6 Solo SoC (one Cortex A9 core) we are usually booting with
>> maxcpus=1 a kernel built with CONFIG_NR_CPUS=4. This is done to be able to
>> boot the same kernel on the Solo and Quad version of that SoC.
>>
>> Now, we tried to switch from 'maxcpus=1' to 'nosmp'. With 'nosmp' we get the
>> warning [1] in the boot messages. This isn't there with 'maxcpus=1'.
>
> maxcpus=1 and nosmp are not equivalent as per the comment from kernel/smp.c:
>
> /*
> * Setup routine for controlling SMP activation
> *
> * Command-line option of "nosmp" or "maxcpus=0" will disable SMP
> * activation entirely (the MPS table probe still happens, though).
> *
> * Command-line option of "maxcpus=<NUM>", where <NUM> is an integer
> * greater than 0, limits the maximum number of CPUs activated in
> * SMP mode to <NUM>.
> */
Yes, understood that both options are not equal.
But should both options work on a single ARM Cortex A9 SoC without a
warning? Or should one of the both options be preferred on a single ARM
Cortex A9 SoC?
Thanks
Dirk
prev parent reply other threads:[~2013-02-14 14:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-14 14:10 i.MX6 Solo: maxcpus=1 vs. nosmp: Warning from smp_twd.c? Dirk Behme
2013-02-14 14:37 ` Russell King - ARM Linux
2013-02-15 9:25 ` Dirk Behme
2013-02-18 2:50 ` Shawn Guo
2013-02-21 7:16 ` Dirk Behme
2013-02-21 7:29 ` Shawn Guo
2013-02-14 14:40 ` Fabio Estevam
2013-02-14 14:47 ` Dirk Behme [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=511CF916.2060705@de.bosch.com \
--to=dirk.behme@de.bosch.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