WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] use per-cpu variables in cpufreq
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:user-agent:date:subject:from:to:cc:message-id :thread-topic:thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=JpCe4pI67r8m9bCVDWfjugymMfJ+KHHzHQeUZ+BA4e8=; b=kFg2bPtsPNUdszRb7vunWo9v7P774oHRHvpFmAwQG51eb3BysZRsaeiNJ97pBN0mf9 WMDOnnKwvoGGGTIJn0yi8K7JpHqZ7oWZW/vQIMf6olA78FRK0K13wsx3fI+J5xCr5up3 dJTBeL19eyJKSIwsmoERFxVv/e5DYTRC6ckFo=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <625BA99ED14B2D499DC4E29D8138F1505CA61C06B3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acwerk9F8e7j0dGkgkWeWO/HHFUIHQAhiunAAAwQTMI=
Thread-topic: [Xen-devel] [PATCH] use per-cpu variables in cpufreq
User-agent: Microsoft-Entourage/12.29.0.110113
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