Re: [PATCH -mm v4 6/9] atmel_serial: Split the interrupt handler
- From: "Remy Bohmer" <linux@xxxxxxxxxx>
- Date: Wed, 13 Feb 2008 21:13:37 +0100
Hello All,
All works now for me with preempt-rt. The problem is using hrtimer.
I think that hrtimer are executed with interrupts disabled so, if
this happen when I must receive a char, i have an overrun.
No, they share the same interrupt line...
So, while the timer interrupt handler is running, the serial handler
has to wait until the timer interrupt handler has finished.
Notice that the HRT interrupt handler is quite heavy and takes a long
time to complete.
And, as I already mentioned, related to the 1 byte FIFO and a
interrupt latency of about 85us (without HRT), it is logical that you
can get an overrun at the higher serial speeds... (>=115200bps)
The only solution was the dma support to serial device.
Or, use flow control?
Kind Regards,
Remy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- Re: [PATCH -mm v4 6/9] atmel_serial: Split the interrupt handler
- From: Haavard Skinnemoen
- Re: [PATCH -mm v4 6/9] atmel_serial: Split the interrupt handler
- From: Remy Bohmer
- Re: [PATCH -mm v4 6/9] atmel_serial: Split the interrupt handler
- From: michael
- Re: [PATCH -mm v4 6/9] atmel_serial: Split the interrupt handler
- From: Remy Bohmer
- Re: [PATCH -mm v4 6/9] atmel_serial: Split the interrupt handler
- From: michael
- Re: [PATCH -mm v4 6/9] atmel_serial: Split the interrupt handler
- Prev by Date: Re: [PATCH 2.6.24-mm1 1/8] (resend) IPC/semaphores: code factorisation
- Next by Date: Re: [PATCH] Adaptec AACRAID: convert fibctx->wait_sem to completion
- Previous by thread: Re: [PATCH -mm v4 6/9] atmel_serial: Split the interrupt handler
- Next by thread: Re: [PATCH -mm v4 6/9] atmel_serial: Split the interrupt handler
- Index(es):
Relevant Pages
|
Loading