summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPekka Pessi <ppessi@nvidia.com>2022-03-02 16:04:24 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-15 14:18:01 +0200
commit8d3a7b206458801eb842f97c5d4ba59fd911c71d (patch)
treefee91533d3a9fc8802fbe54133418c395367461b /include/linux
parent28c8fd84bea13cbf238d7b19d392de2fcc31331c (diff)
mailbox: tegra-hsp: Flush whole channel
commit 60de2d2dc284e0dd1c2c897d08625bde24ef3454 upstream. The txdone can re-fill the mailbox. Keep polling the mailbox during the flush until all the messages have been delivered. This fixes an issue with the Tegra Combined UART (TCU) where output can get truncated under high traffic load. Signed-off-by: Pekka Pessi <ppessi@nvidia.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Fixes: 91b1b1c3da8a ("mailbox: tegra-hsp: Add support for shared mailboxes") Cc: stable@vger.kernel.org Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions