From: Dave Winchell Subject: Re: Clock Interrupt not occurring. hypervisor_callback not being called. Date: Tue, 28 Feb 2006 17:40:15 -0500 Message-ID: <4404D14F.1060200@virtualiron.com> References: Mime-Version: 1.0 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 Have you tried making evtchn_pending and evtchn_mask volatile in shared_info_t? -Dave Winchell Ivan Kelly wrote: > Im having a strange problem with a hypervisor_callback that I have > written. > Im setting up VIRQ_TIMER and have added a handler for it. The > evtchn_mask bit, evtchn_pending bit, evtchn_upcall_mask, > evtchn_upcall_pending and evtchn_pending_sel>>5 bit are all zeroed. > I have a loop running, outputting text to the console in the main > thread of execution. When I run my kernel, this thread will run > continuous, and never be interrupted by the evtchn handler. Im > printing out the values of all the relevant fields(masks and pending > etc) and they all seem to be set correctly, but nothing happens. > Curiously, when I add a print statement to the do_hypervisor_callback > function, the callback seems to work correctly. Does anyone have any > idea why this could be happening? > Best regards > Ivan Kelly > >------------------------------------------------------------------------ > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel > >