From: Julien Grall <julien.grall@linaro.org>
To: Chen Baozi <baozich@gmail.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>,
Xen Developer List <xen-devel@lists.xen.org>
Subject: Re: Question about SMP support for ARM
Date: Mon, 12 Aug 2013 13:40:57 +0100 [thread overview]
Message-ID: <5208D7D9.3070705@linaro.org> (raw)
In-Reply-To: <20130812122849.GA21654@cbz-workstation>
On 08/12/2013 01:28 PM, Chen Baozi wrote:
> On Mon, Aug 12, 2013 at 01:24:40PM +0100, Julien Grall wrote:
>> On 08/12/2013 01:14 PM, Chen Baozi wrote:
>>> Hi Ian & Julien,
>>
>> Hi,
>>
>>> It seems that Xen for ARM is not support SMP boot by default since "max_phys_cpus" is not set?
>>
>> max_phys_cpus allows use to restrict the number of cpus handled by Xen.
>> It's only used to set NR_CPUS. If the former is not set, Xen will use
>> 128 as default value (see include/asm-arm/config.h).
>
> Thanks.
>
> Then I think I need to find out why the log says:
>
> Waiting for 0 other CPUs to be ready
> ...
> Brought up 1 CPUs
>
> since I do have got 2 cores on OMAP5 and added "kick cpu" codes to
> mode_switch.S next.
Xen uses the device tree to know the real number of cpus.
You should have a node cpus similar to :
cpus {
cpu@0 {
device_type = "cpu";
reg = "0";
};
cpu@1 {
device_type = "cpu";
reg = "1";
};
};
Cheers,
--
Julien Grall
prev parent reply other threads:[~2013-08-12 12:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-12 12:14 Question about SMP support for ARM Chen Baozi
2013-08-12 12:24 ` Julien Grall
2013-08-12 12:28 ` Chen Baozi
2013-08-12 12:40 ` Julien Grall [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=5208D7D9.3070705@linaro.org \
--to=julien.grall@linaro.org \
--cc=Ian.Campbell@citrix.com \
--cc=baozich@gmail.com \
--cc=xen-devel@lists.xen.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 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.