[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Local APIC doesn't implement "One shot" mode?


  • To: <alarson@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcuLF35Rzr/A0B4js0CB08rbMSE1kA==
  • Thread-topic: [Xen-devel] Local APIC doesn't implement "One shot" mode?

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.