linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Thecus n2100 uart irq?
@ 2009-09-23 12:36 Mikael Pettersson
  2009-09-23 13:07 ` Lennert Buytenhek
  2009-09-23 13:13 ` Aaro Koskinen
  0 siblings, 2 replies; 4+ messages in thread
From: Mikael Pettersson @ 2009-09-23 12:36 UTC (permalink / raw)
  To: linux-arm-kernel

The plat_serial8250_port data in mach-iop32x/n2100.c stores
a zero in the .irq field. This causes the 8250 serial driver
to run the serial console in irq-less mode with a high-frequency
polling timer.

According to /proc/timer_stats on my n2100, the 8250 polling
timer generates more timeouts than any other timer in my kernel,
and about 10 times more timeouts than the second most active
timer.

Apart from the constant CPU overhead, this prevents CONFIG_NO_HZ
(in my pending plat-iop clocksource/clockevents conversion) from
being effective: the frequent timeouts keeps the timer interrupt
rate just as high as in the NO_HZ case.

The other mach-iop32x machines use one of the IRQ_IOP32X_XINT[0-3]
interrupts for their uarts. I've tried all four values on the n2100,
but none of them seemed to work: the console would go silent when
the kernel starts init.

Does anyone know how run the n2100 uart properly with an irq?

/Mikael

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

end of thread, other threads:[~2009-09-24 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 12:36 Thecus n2100 uart irq? Mikael Pettersson
2009-09-23 13:07 ` Lennert Buytenhek
2009-09-24 13:15   ` Mikael Pettersson
2009-09-23 13:13 ` Aaro Koskinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).