All of lore.kernel.org
 help / color / mirror / Atom feed
* imx.c RXTL
@ 2015-04-29 12:08 Frazer, Will
  2015-04-29 13:24 ` Fabio Estevam
  2015-04-29 15:31 ` Fabio Estevam
  0 siblings, 2 replies; 8+ messages in thread
From: Frazer, Will @ 2015-04-29 12:08 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

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

Hi All,

I've been looking at
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/tty/serial/imx.c

& notice:

#define TXTL 2 /* reset default */
#define RXTL 1 /* reset default */

This seems to be setting the RX Threshold FIFO to 1 - rather than something more sensible like 14 which is more normal for 16550 compatible UARTS.

In tests I can see that with the value set as 1, under intensive serial use, CPU use goes towards about 20% (solo core). With the value set to 14 it's closer to 2%.

I can't think of a good reason why a FIFO would be set to interrupt for every character so is there some known bug/reason that anyone can advise me on as to why it is so?

Perhaps it's like this because it was only considered for console operation??

Thanks,
Will Frazer

Eurotech UK

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

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

end of thread, other threads:[~2015-04-29 17:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 12:08 imx.c RXTL Frazer, Will
2015-04-29 13:24 ` Fabio Estevam
2015-04-29 15:29   ` Fabio Estevam
2015-04-29 17:15     ` Nikolay Dimitrov
2015-04-29 15:31 ` Fabio Estevam
2015-04-29 17:00   ` Frazer, Will
2015-04-29 17:18     ` Nikolay Dimitrov
2015-04-29 17:38       ` Frazer, Will

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.