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] Timer going backwards and Unable to handle kernel NULLpo

To: Jan Beulich <jbeulich@xxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Timer going backwards and Unable to handle kernel NULLpointer
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 30 May 2007 18:31:04 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Robert Hulme <rob@xxxxxxxxxxxx>
Delivery-date: Wed, 30 May 2007 10:29:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C28363F6.FB6C%keir@xxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acei1xeKVjL7Yg7KEdyiOwAX8io7RQACTTEh
Thread-topic: [Xen-devel] Timer going backwards and Unable to handle kernel NULLpointer
User-agent: Microsoft-Entourage/11.3.3.061214
On 30/5/07 17:25, "Keir Fraser" <keir@xxxxxxxxxxxxx> wrote:

> How about if we add support for ACPI PM timer as platform clock source?
> Should be easy, any ACPI system will most likely provide it, and it should
> be much better to use than the PIT (even a 24-bit PM timer should only wrap
> every 5 seconds). We'll have to prevent dom0 monkeying with the timer:
> either disallow accesses, or emulate the register.

I've now done this in c/s 15189:2d7d33ac982. Works okay on my test box and
is now available from the staging tree. I didn't implement anything to stop
dom0 clobbering the timer register, as we don't currently do so for cyclone
or hpet time sources either. We can add it if it turns out to be a problem.

 -- Keir


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