[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] [patch] valid data left in rx fifo: no more interrupts
At Fri, 04 Jun 2004 20:06:09 +1000,
John Williams wrote:
[...]
> > What that means is that, the Interrupt controller won't get
> > interrupted from UART Lite any more, even if UART lite get new data.
>
> hmmm... I would have thought exactly the opposite - as soon as the
> generic IRQ handling code acks and unmasks the UARTLite IRQ, the
> still-asserted interrupt would be registered once again, and we'd
> actually end up in a nasty interrupt loop with no user process getting
> any time to actually drain the flip buffer...
Unless I'm (well, actually it's not me but my hardware guy helped me
reading the source ;) mis-reading, INTC gets UART Lite interrupt with
FDC.
Even if you clear FDC while C is asserted with level, you won't get
signal.
> So, perhaps the fix is correct, but for exactly the opposite reason that
> you suggest ;-)
>
> Have you tried copy and pasting a large chunk of text into a terminal
> window after your fix? That usually is a good way to hang the serial
> driver...
yup, i did that, and the patch fix the problem.
Jozsef, would you mind applying the patch to see whether the patch fix
the phenomea you are seeing?
regards,
--
yashi
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/