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: RE: RE: RE: RE: [Xen-devel] No C-States any longer...

To: Carsten Schiers <carsten@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: RE: RE: RE: RE: [Xen-devel] No C-States any longer...
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Sun, 12 Jun 2011 19:59:45 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Sun, 12 Jun 2011 05:03:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <H0000067000b1571.1307874258.uhura.space.zz@MHS>
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: <625BA99ED14B2D499DC4E29D8138F1505D1B363F9C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <H0000067000b1571.1307874258.uhura.space.zz@MHS>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acwo6vqcdfSlGD3JSaifXUnfE44rqQADQ/uQ
Thread-topic: RE: RE: RE: RE: [Xen-devel] No C-States any longer...
> From: Carsten Schiers [mailto:carsten@xxxxxxxxxx]
> Sent: Sunday, June 12, 2011 6:24 PM
> 
> There are some information in FACP (attached), there is no FADT.

FADT is plain text table, not encoded with AML language. It should be always 
there. :-)

Thanks
Kevin

> 
> In order to test native Linux, I need some more days. Family & Barbecue
> have higher Prio ;o).
> 
> Carsten.
> 
> -----Ursprüngliche Nachricht-----
> Von: Tian, Kevin [mailto:kevin.tian@xxxxxxxxx]
> Gesendet: Sonntag, 12. Juni 2011 10:57
> An: Carsten Schiers; xen-devel
> Betreff: RE: RE: RE: RE: [Xen-devel] No C-States any longer...
> 
> > From: Carsten Schiers [mailto:carsten@xxxxxxxxxx]
> > Sent: Friday, June 10, 2011 10:56 PM
> >
> > Some in-between notes, if someone is better in analyzing the code.
> There
> > is the following sequence
> > In drivers/scpi/processor_idle.c:
> >
> >         result = acpi_processor_get_power_info_cst(pr);
> >
> >         if (result == -ENODEV)
> >                 result = acpi_processor_get_power_info_fadt(pr);
> >
> >         if (result)
> >                 return result;
> >
> >         acpi_processor_get_power_info_default(pr);
> >
> > On a working Intel machine, it will go through it like this:
> >
> >   - acpi_processor_get_power_info_cst, which returns 0
> >   - acpi_processor_get_power_info_default
> >   - later acpi_processor_power_verify will find some c-states
> 
> this is expected sequence
> 
> >
> > On my non-working AMD machine, it will go through like this:
> >   - acpi_processor_get_power_info_cst, which returns -ENODEV
> >   - acpi_processor_get_power_info_fadt, which also return -ENODEV
> >   - this result is returned
> 
> though CST is optional, it's weird that even FADT doesn't contain valid
> Cx
> information. Could you compare with your working pvops dom0 version or
> compare with generic linux to see any difference? This parse logic
> should
> be generic for both Linux and Xen.
> 
> >
> > The returned result -ENODEV is cascaded up to the call in
> > xen_acpi_processor_power_init, but there
> > nothing is checked or done.
> >
> > I will now try to find the root cause
> (acpi_processor_get_power_info_cst
> > is to be checked next).
> 
> Anyway, you seems close to the root cause...
> Thanks
> Kevin
> 
> 


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