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

From: Alex Williamson
Date: Mon Mar 05 2007 - 23:22:58 EST


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/