mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Problem in Interrupt Handling ....
@ 2001-08-06 14:22 Etienne Lorrain
  0 siblings, 0 replies; 3+ messages in thread
From: Etienne Lorrain @ 2001-08-06 14:22 UTC (permalink / raw)
  To: linux-kernel; +Cc: Venu Gopal Krishna Vemula

> But after some period (may be after 2 –3
> hours) recv interrupts are not coming (all other type
> of interrupts are Ok ..),  If I reset the ISR0
> (interrupt status register which contains  recv
> interrupt) and enable ISR0, recv interrupts are
> coming.

 You have an higher priority interrupt pending on the
 "kind of" UART. Probably you have had two interrupts
 (TxReady and RxFull) on the same IRQ and you have treated
 only one of them, or you have forgotten to treat a modem
 interrupt or... Look at the UART interrupt priorities
 in your documentation.
 This is excluding the obvious case "two serial lines shares
 the same IRQ".

  Hope that helps,
  Etienne.

___________________________________________________________
Do You Yahoo!? -- Vos albums photos en ligne, 
Yahoo! Photos : http://fr.photos.yahoo.com

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

* Re: Problem in Interrupt Handling ....
       [not found] <no.id>
@ 2001-08-06 13:51 ` Alan Cox
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Cox @ 2001-08-06 13:51 UTC (permalink / raw)
  To: Venu Gopal Krishna Vemula; +Cc: linux-kernel

> serial communication adapter which is based on
> interrrupt driven IO, top half handles registering the
> Immediate task queue and  acknowledging to PIC, bottom
> half performs the actual task of interrupt handling. 

Why are you touching the PIC at all - the kernel handles the PIC for you.
Indeed you IRQ might not even be coming from a PIC

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

* Problem in Interrupt Handling ....
@ 2001-08-06 13:27 Venu Gopal Krishna Vemula
  0 siblings, 0 replies; 3+ messages in thread
From: Venu Gopal Krishna Vemula @ 2001-08-06 13:27 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 789 bytes --]

Hi,
         I am developing  a linux device driver for a 
serial communication adapter which is based on
interrrupt driven IO, top half handles registering the
Immediate task queue and  acknowledging to PIC, bottom
half performs the actual task of interrupt handling. 

         But after some period (may be after 2 –3
hours) recv interrupts are not coming (all other type
of interrupts are Ok ..),  If I reset the ISR0
(interrupt status register which contains  recv
interrupt) and enable ISR0, recv interrupts are
coming. 

I would appreciate if you can help solving this
problem.

regards,
Vvgkrishna_78@yahoo.com



__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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

end of thread, other threads:[~2001-08-06 14:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-06 14:22 Problem in Interrupt Handling Etienne Lorrain
     [not found] <no.id>
2001-08-06 13:51 ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-08-06 13:27 Venu Gopal Krishna Vemula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®