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

Re: [Xen-devel] [PATCH][Retry 1] 4/4: cpufreq/PowerNow! in Xen: PowerNow! changes


  • To: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Fri, 31 Aug 2007 18:44:55 +0100
  • Delivery-date: Fri, 31 Aug 2007 10:41:04 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acfr5NmmGClNJFfYEdySawAX8io7RQACpUAwAAHNWSM=
  • Thread-topic: [Xen-devel] [PATCH][Retry 1] 4/4: cpufreq/PowerNow! in Xen: PowerNow! changes

On 31/8/07 17:56, "Langsdorf, Mark" <mark.langsdorf@xxxxxxx> wrote:

>> Should we have a copy of that file in powernow-k8-xen.c? Can
>> the patched file work correctly in a native Linux build?
> 
> The patch is the same patch I submitted upstream for the native
> 2.6.23 Linux kernel.
> 
> In native mode, the kernel creates a cpumask for each cpu that
> lists its sibling cores.  Unfortunately, Xen doesn't do that.
> The patch instead reads and parses the _PSD ACPI structure,
> which indicates which cores share pstates with other cores.
> (Frankly, _PSD is the right way to do it, but the other way
> was easier until Linux got ACPI support for _PSD).  If Xen
> were using the same kernel version as Linux, the patch wouldn't
> be necessary.

Okay, that was the other possibility. :-) Fine then!

 -- Keir



_______________________________________________
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®.