Thread (7 messages) 7 messages, 3 authors, 2018-01-31
STALE3042d

[RFC PATCH] tty: pl011: Avoid stuck-off spurious interrupts

From: Linus Walleij <hidden>
Date: 2018-01-31 12:28:43

On Mon, Jan 29, 2018 at 5:09 PM, Dave Martin [off-list ref] wrote:
Commit 9b96fbacda34 ("serial: PL011: clear pending interrupts")
clears the RX and receive timeout interrupts on pl011 startup, to
avoid a screaming-interrupt scenario that can occur when the
firmware or bootloader leaves these interrupts spuriously
asserted.
It looks OK to me.

I could never reproduce this issue myself, it was just reported by
Chanho, and we came up with this fix. AFAICR it was working fine
on ARM reference designs and my ST-Ericsson platforms before
and after.

I do not remember what hardware Chanho was seeing this problem
on, but let's loop in Chanho and ask.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help