summaryrefslogtreecommitdiff
path: root/drivers/dma/uniphier-xdmac.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2020-03-20 00:23:21 +0300
committerVinod Koul <vkoul@kernel.org>2020-03-23 12:06:24 +0530
commit6697255f239f5c04fcd6b819c0d35ae05bbf808c (patch)
treea12b493edca015d1c30d63d6ef0d8c055760587b /drivers/dma/uniphier-xdmac.c
parent6de88ea4ff665040e62e3b3ffea01e388ae09ac0 (diff)
downloadlwn-6697255f239f5c04fcd6b819c0d35ae05bbf808c.tar.gz
lwn-6697255f239f5c04fcd6b819c0d35ae05bbf808c.zip
dmaengine: tegra-apb: Improve DMA synchronization
Boot CPU0 always handles DMA interrupts and under some rare circumstances it could stuck in uninterruptible state for a significant time (like in a case of KASAN + NFS root). In this case sibling CPU, which waits for DMA transfer completion, will get a DMA transfer timeout. In order to handle this rare condition, interrupt status needs to be polled until interrupt is handled. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20200319212321.3297-2-digetx@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/uniphier-xdmac.c')
0 files changed, 0 insertions, 0 deletions