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] Local APIC doesn't implement "One shot" mode?

To: <alarson@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Local APIC doesn't implement "One shot" mode?
From: Keir Fraser <keir@xxxxxxx>
Date: Tue, 23 Nov 2010 14:05:33 +0000
Cc:
Delivery-date: Tue, 23 Nov 2010 06:06:53 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=lnc74q688iBU4IeZ0IrYjNVStEnxIVPmVQU9RZYQJ84=; b=vansM1vQuai4kMS1oT9s1aAPJEtiI5p9HodiC9fdLbCrAqgtQ15WLjLKJU1JNo6fDM KJSt2D4Rlo7L27+URAlP3+eLHHv07DRIvtnoxDFHdpE2EdWQL7coTisACUs9alIcmnlX L+IotWoJDwaBdiOuH60rdMPw5Da/wwMXub084=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=Q6EfUkDrcXkUbNINnwGZtUae0Ah4/JOjTxOVmqE8UMKf6SIsoTJGXYNwKE7CDkLiHK MZH9L7JUhIK2SocPbmbsxWdfgpklsEibVXhyqB1qc98wZHJhkPpXD0JNGDKW3i1pEmUn YQQGJOnfMEJzI8kpqF4PEkmgD6p+YNaaJjh3s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OF6DD8DC79.9FD1B48C-ON862577E4.001E40B1-862577E4.004CE8DB@xxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuLF35Rzr/A0B4js0CB08rbMSE1kA==
Thread-topic: [Xen-devel] Local APIC doesn't implement "One shot" mode?
User-agent: Microsoft-Entourage/12.27.0.100910
On 23/11/2010 14:00, "alarson@xxxxxxxx" <alarson@xxxxxxxx> wrote:

> I've now have gotten our OS running on Xen 4.0.  Many thanks.
> 
> However it appears that the Local APIC presented to the client only
> implements the "periodic" timer mode, and not "one shot" (bit 17 of the
> APIC Local Vector Table).  I say "apparently" because I have limited time
> on the hardware so I didn't have time to write a definitive test case, but
> the external visible behavior is that the local apic timer does not stop
> at zero when programmed for "one-shot" mode.  This isn't overly difficult
> for me to work around, but I thought I'd mention it just in case it
> warranted fixing.  If desired, I can confirm my conjecture the next time I
> have time on the hardware.

You are correct in your observation. If you care about correct one-shot
behaviour for reads of the current-count register, I can propose a patch for
you to test?

 -- Keir

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



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