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] cpufreq support status

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Jan Beulich" <jbeulich@xxxxxxxxxx>, "Mark Langsdorf" <mark.langsdorf@xxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] cpufreq support status
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 24 Oct 2007 16:53:16 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 24 Oct 2007 01:54:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F013B240B@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <47164254.76E4.0078.0@xxxxxxxxxx><C33BE743.16FBC%Keir.Fraser@xxxxxxxxxxxx><471F1E1C.76E4.0078.0@xxxxxxxxxx> <D470B4E54465E3469E2ABBC5AFAC390F013B240B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgWF54DJ8pMPCRCQlaMIGAVWw3d4QAAQTBwAABQb7A=
Thread-topic: [Xen-devel] cpufreq support status
Attached patch allows dom0 to touch P-state control MSRs on Intel 
processors. As Keir said earlier, I/O space style doesn't need special 
handle since by default dom0 can access I/O ports unless explicitly 
denied.

A correction to earlier comment. Based on processor stepping, users 
have to try both acpi_cpufreq (for I/O) and speedstep_centrino (for 
MSR) drivers to see which one works, when xen-linux still stays at 
2.6.18. But once xen-linux syncs to latest kernel version, acpi_cpufreq 
then becomes the default one for both cases.

But at the same time, I would not suggest enabling on-demand governor 
by default before confirming its correctness.

Thanks,
Kevin

>From: Tian, Kevin
>Sent: 2007年10月24日 16:39
>
>>From: Jan Beulich
>>Sent: 2007年10月24日 16:28
>>
>>Looking into this some more, I find that
>>ACPI_ADR_SPACE_FIXED_HARDWARE
>>is mostly unsupported in Linux except for C-state handling, in which
>case
>>is
>>resolves to MWAIT.
>>
>
>FFH is mapped to msr for P-state handling on Intel processors. You
>can refer to acpi-cpufreq.c in latest native Linux kernel, where have
>logic to handle both IO space and FFH space.
>
>Since 2.6.2*, acpi-cpufreq.c is the preferred cpufreq driver for
>intel processors.
>
>But if you look at the current 2.6.18-xen, acpi-cpufreq.c can only handle
>I/O space and instead speedstep-centrino.c manipulates FFH, i.e. MSR
>directly. But because the _PDC capabilities is set to FFH capable in
>2.6.18, speedstep_centrino.c becomes the only drive working in this
>environment then.
>
>Thanks,
>Kevin
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel

Attachment: eist_msr.patch
Description: eist_msr.patch

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