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

[Xen-devel] Re: [PATCH][pvops_dom0][0/4] parse ACPI Cx/Px info for Xen

To: "Yu, Ke" <ke.yu@xxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH][pvops_dom0][0/4] parse ACPI Cx/Px info for Xen
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Mon, 20 Jul 2009 12:34:27 -0700
Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 20 Jul 2009 12:34:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D05DB80B95B23498C72C700BD6C2E0B2FBF1987@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>
References: <4D05DB80B95B23498C72C700BD6C2E0B2FBF1987@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2
On 07/18/09 23:45, Yu, Ke wrote:
> Note that the 04 patch xen-vcpu-pcpu-mapping.patch is a bit hacky. Its 
> purpose is fixing the gap between dom0 vcpu and physical acpi info. but due 
> to that this is a the architecture issue, no clean way is found with current 
> architecture. There is thread talking about moving the ACPI parser from dom0 
> to hypervisor. this issue will gone under such architecture. But by far, we 
> have to use this kind of hacky patch.
>
> Also this series of patches are rebased version of the previous post. Most of 
> the comments Jeremy provided last time is applied, with only one exception: 
> use xen specific cpufreq driver for the Px info. I tried this approach, and 
> finally find this approach need many hacks in cpufreq path to fix the gap of 
> vcpu and physical cpu. so I still keep the Px logic in external control logic 
> instead of cpufreq driver.
>   

Thats unfortunate.  Could you go into a bit more detail about the
problem with the pcpu/vcpu gap?  I wonder if this could be dealt with in
some other way?  For example, since it never(?) makes sense for cpufreq
to operate in terms of vcpus, could the interface be defined to always
operate in terms of pcpus, this erasing the gap?

(I can see lots of problems with this suggestion, but I'm just throwing
it up as a discussion point.)

    J

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

<Prev in Thread] Current Thread [Next in Thread>