All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] hw interrupts off, __ipipe_handle_irq
@ 2010-01-19 13:13 A C
  2010-01-20 11:55 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: A C @ 2010-01-19 13:13 UTC (permalink / raw)
  To: adeos

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

Hello,
in the comment before the definition of the function __ipipe_handle_irq(), it is written : "hw interrupts are off on entry". For the isr of the nios2, is it done (disable hw interrupts) in entry.s or in __ipipe_grab_irq() ? In fact, we do not find where it is done.
Regards
Adrien Chiron & Vincent Vanbesien



      

[-- Attachment #2: Type: text/html, Size: 621 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Adeos-main] hw interrupts off, __ipipe_handle_irq
  2010-01-19 13:13 [Adeos-main] hw interrupts off, __ipipe_handle_irq A C
@ 2010-01-20 11:55 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2010-01-20 11:55 UTC (permalink / raw)
  To: A C; +Cc: adeos

A C wrote:
> Hello, in the comment before the definition of the function
> __ipipe_handle_irq(), it is written : "hw interrupts are off on
> entry". For the isr of the nios2, is it done (disable hw interrupts)
> in entry.s or in __ipipe_grab_irq() ? In fact, we do not find where
> it is done. Regards Adrien Chiron & Vincent Vanbesien

That is standard behaviour for a processor to enter interrupt handling
code with interrupts disabled somehow. Otherwise, for level interrupts,
you would get an infinite loop. So, what you should look for in entry.S
are the points where interrupts are re-enabled, because this code is
entered with irqs off, mostly.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-20 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-19 13:13 [Adeos-main] hw interrupts off, __ipipe_handle_irq A C
2010-01-20 11:55 ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.