Re: [patch] Add insmod option to force the use of the backup timer.



On Mon, 2007-03-05 at 19:03 -0800, Andrew Morton wrote:

Perhaps Alex can suggest some debugging steps we can take to work out
why the test isn't triggering?

I was lucky and had a hardware description of the bug I was trying to
work around with the 8250 backup timer patch. If the UART on the system
in question is an integrated component, it might be worthwhile to start
with the errata documented in the hardware manual.

The detection test is simply looking for UARTs that don't re-assert
the transmit holding register empty interrupt when it becomes
re-enabled. Since the backup timer is successfully kicking the UART
back into action, it would be interesting to know whether this is
because the "Diva test" is detecting work to do or if it's just a matter
of reading the IIR bits (the interrupt is there, but not getting
delivered). The state of the UART at that point may be a clue how to
detect the problem.

UARTs often seem to be the most troubling part of a system, so I'm
not opposed to a boot/module option, but auto-detection provides a much
better user experience. Thanks,

Alex

--
Alex Williamson HP Open Source & Linux Org.

-
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/



Relevant Pages

  • Re: RS232 or USB to RS485
    ... If you're building an embedded system you can patch up the defects ... 16550 instead of a dumber kind of UART on the board: ... either by design or with a bit of glue logic in hardware and software. ...
    (comp.arch.embedded)
  • Re: Writing pins to the RS232
    ... > existing driver and hold a pin on high? ... It's been a long time since I've looked at this low-level hardware, ... A serial port is driven by a thing called a UART (Universal Asynchronous ... Could you design a piece of hardware which could function as both a serial ...
    (comp.lang.python)
  • Re: ddl - Installation und Betrieb
    ... Baud laufen - stattdessen laeuft es auf einem Zwissenwert ... weiss, wie man den UART verbiegt, aber "dafuer entworfen" ... CD-Timer mit einem R-C-Glied in Hardware gegossen ist. ... dafuer schreiben... ...
    (de.rec.modelle.bahn)
  • Re: A quick c programming survey question
    ... The driver code for that UART ... > Using bit fields in hardware interfaces that need to be portable ... > registers, and write-only registers. ... to acknowledge the interrupt. ...
    (comp.arch.embedded)