[Skiboot] [PATCH] hw/lpc-uart: read from RBR to clear character timeout interrupts
Stewart Smith
stewart at linux.vnet.ibm.com
Fri Oct 6 17:25:06 AEDT 2017
Stewart Smith <stewart at linux.vnet.ibm.com> writes:
> Jeremy Kerr <jk at ozlabs.org> writes:
>> When using the aspeed SUART, we see a condition where the UART sends
>> continuous character timeout interrupts. This change adds a (heavily
>> commented) dummy read from the RBR to clear the interrupt condition on
>> init.
>>
>> Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
>> ---
>> hw/lpc-uart.c | 21 +++++++++++++++++++++
>> 1 file changed, 21 insertions(+)
>
> well, that looks like fun!
>
> Merged to master as of 3e806acf92b891b2942bbf8d1e4c971af0393ecb
and by that I mean 435bc2e6393d98c846c7416c4418357b4b876c76.
Pay no attention to the nearly competent man behind the curtain.
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list