From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45E2E241.40104@domain.hid> Date: Mon, 26 Feb 2007 14:36:01 +0100 From: Steven Scholz MIME-Version: 1.0 Subject: Re: [Xenomai-core] latency hangs on AT91RM9200 References: <45DECFAF.60304@domain.hid> <45DF04F2.4020002@domain.hid> <45DF192C.6020505@domain.hid> <45E2B3A1.8070102@domain.hid> <45E2C2C3.1020202@domain.hid> In-Reply-To: <45E2C2C3.1020202@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: Xenomai-core@domain.hid Hi Gilles, >> Ok, found the bug (actually, Philippe did), as almost expected, the way >> it is related to the latency program period is not really obvious. The >> bug is that in the macro "irq_handler" in entry-armv.S, the return value >> (in r0) of __ipipe_grab_irq is overriden by the subsequent call to >> get_irqnr_and_base. > > Here comes a patch. Note that it will only work correctly with > CONFIG_PREEMPT disabled for now. Right now we are testing it on two boards. Looks good. Thanks a million! -- Steven