From: Keir Fraser Subject: Re: Clock Interrupt not occurring. hypervisor_callback not being called. (more info) Date: Wed, 1 Mar 2006 22:42:44 +0000 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ivan Kelly Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 1 Mar 2006, at 16:17, Ivan Kelly wrote: > The problem seems to be that evtchn_pending[0] is not being updated > fast enough after the callback is made. Therefore the callback is > running and seeing nothing as pending and discarding anything that > happens. This is certainly not happening or I think it would have been discovered and fixed by now. :-) When firing an event the pending flag gets set first, then the selector bit, then the evtchn_upcall_pending master flag, then the upcall happens. When processing an upcall, you should clear bits in the opposite order. -- Keir