Messages in this thread | | | From | Stephen Boyd <> | Subject | Re: [PATCH v3] tty: serial: qcom_geni_serial: Fix softlock | Date | Mon, 03 Dec 2018 08:22:15 -0800 |
| |
Quoting Ryan Case (2018-11-29 18:18:40) > Transfers were being divided into device FIFO sized (64 byte max) > operations which would poll for completion within a spin_lock_irqsave / > spin_unlock_irqrestore block. This both made things slow by waiting for > the FIFO to completely drain before adding further data and would also > result in softlocks on large transmissions. > > This patch allows larger transfers with continuous FIFO additions as > space becomes available and removes polling from the interrupt handler. > > Signed-off-by: Ryan Case <ryandcase@chromium.org> > ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
| |