[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] use per-cpu variables in cpufreq


  • To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Tue, 31 May 2011 08:31:20 +0100
  • Cc: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "mark.langsdorf@xxxxxxx" <mark.langsdorf@xxxxxxx>
  • Delivery-date: Tue, 31 May 2011 09:56:30 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=dSc10hyb5CoT9ghKAukDYw3073bsbZsh6+K29BdU22KFrLKPcpGIT6vEYCGZjTFFB1 rx14xh8mPccpl9q7O51N5RWycb6D3t0VMLMcSwKADEaIoHW4xY+D/XL6uV/2HLS6Xg4h mvinhvUpqdfKB0KS03Us/UC9/uzENCVHl2v1s=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acwerk9F8e7j0dGkgkWeWO/HHFUIHQAhiunAAAwQTMI=
  • Thread-topic: [Xen-devel] [PATCH] use per-cpu variables in cpufreq

On 31/05/2011 02:51, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

>> 
>> Well, there is a difference between logical and physical cpu hotplug. Xen is
>> capable of bringing CPUs online and offline without them actually being
>> physically plugged/unplugged from the mainboard. Indeed our physical hotplug
>> support is relatively new and I would suspect not much used (and it supports
>> only physical insertion, not removal!).
>> 
>> Frankly there are a number of questions around CPUs that are physically
>> plugged in after boot:
>>  * How does per-CPU ACPI state like PM info get set up?
> 
> A hotplug-able cpu still has an ACPI CPU object in DSDT table, which may exist
> in original DSDT table, or dynamically loaded later upon hotplug event. Once
> dom0 ACPI recognizes a new CPU object, it will notify Xen about discovered
> pm information.

Thanks. I guessed there was probably some magic for this.

 -- Keir

>>  * In a system where TSCs are otherwise all perfectly in sync, does the
>> firmware help us by setting up the new CPUs' TSCs likewise?
> 
> Here what firmware can do is similar to what Xen can do, which can't ensure
> you a truly synchronized TSC on new CPU.
> 
> Thanks
> Kevin
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.