Skip to content
Commit ef0d9557 authored by Daniel Leung's avatar Daniel Leung Committed by Christopher Friedt
Browse files

uart: ns16550: add workaround to re-enable interrupts in ISR



In some configurations (e.g. edge interrupt triggers),
an interruptible event occurs during ISR and the host interrupt
controller does not see the new event due to IIR is constantly
asserting interrupts. For example, the callback handles RX and
then TX. If another character comes in before end of TX processing
(TX interrupt still asserts while raising RX interrupt), the host
interrupt controller may not see this new event. So if needed,
the IER is being toggled to re-assert interrupts at the end of ISR
to nudge the host interrupt controller to fire the ISR again.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent cf3dabed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment