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] Disable Xen PowerNow! support on Opteron 2nd gen

To: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Disable Xen PowerNow! support on Opteron 2nd gen and earlier processors
From: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
Date: Fri, 25 Jan 2008 18:21:50 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Jan 2008 16:23:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <DD74FBB8EE28D441903D56487861CD9D2778C394@xxxxxxxxxxxxxxxxxxxxxx>
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: <C3BD7902.12BE7%Keir.Fraser@xxxxxxxxxxxx> <200801251658.40027.mark.langsdorf@xxxxxxx> <DD74FBB8EE28D441903D56487861CD9D2778C394@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchfpYfNcLmVBnYsR/eJulgSx7w0bAAAg3DgAAJTBlA=
Thread-topic: [Xen-devel] [PATCH] Disable Xen PowerNow! support on Opteron 2nd gen and earlier processors
> > I tried this suggestion and also implemented the trace function in
> > cpu_frequency_change() and local_time_calibration() you 
> > suggested in a previous message.
> 
> Please provide the output of the tracing.

I did, in the attached gzip'd xm dmesg log.

> Presumably the time-goes-backwards messages only come out when
> stepping frequency down?

The time-goes-backwards messages appear in Xen when 
stepping frequency down, and when the frequency goes up.

> Presumably it is the CPU that is down-stepping that thinks 
> time has gone backwards?

> The messages comes out shortly after the downstep?

Yes, but the Xen trace
 
> Once the multiplier change has happened, you need to create a new time
> record for the CPU based on the global clock PIT/HPET (and update the
> frequency info in the record).

I thought I was doing that already.  The code that is in
there now was written on Keir based on my original design.
 
> Implemented correctly, this really ought to work just fine.

We seem to be missing something in the correct implementation.

-Mark Langsdorf
Operating System Research Center
AMD



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