[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1303261637140.4430@kaball.uk.xensource.com>
Date: Tue, 26 Mar 2013 16:39:30 +0000
From: Stefano Stabellini <stefano.stabellini@...citrix.com>
To: Arnd Bergmann <arnd@...db.de>
CC: Stefano Stabellini <Stefano.Stabellini@...citrix.com>,
"xen-devel@...ts.xensource.com" <xen-devel@...ts.xensource.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"konrad.wilk@...cle.com" <konrad.wilk@...cle.com>,
Ian Campbell <Ian.Campbell@...rix.com>,
"rob.herring@...xeda.com" <rob.herring@...xeda.com>,
"will.deacon@....com" <will.deacon@....com>,
"marc.zyngier@....com" <marc.zyngier@....com>
Subject: Re: [PATCH v2 5/6] xenvm: add a simple PSCI node and a second cpu
On Tue, 26 Mar 2013, Arnd Bergmann wrote:
> On Tuesday 26 March 2013, Stefano Stabellini wrote:
> > Signed-off-by: Stefano Stabellini <stefano.stabellini@...citrix.com>
> > CC: rob.herring@...xeda.com
> > CC: will.deacon@....com
> > CC: marc.zyngier@....com
> > CC: arnd@...db.de
>
> I wonder how this is supposed to work on real systems. Shouldn't the dt
> blob be filled out with the correct number of CPUs at the time you start
> the guest?
> This change looks like you just make all guests use a hardcoded
> set of two CPUs instead of just one, but you probably want to allow any
> number between 1 and the number of physically present cores.
That's right, the DT passed on to the guests is generated by the
hypervisor. This is just an example, adding a cpu and a psci node is
just meant to make it clear that Xen supports multi-vcpu guests using
PSCI to bootstrap secondary cpus.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists