mbox series

[0/4] imx-sdma fixes for 4.19-rc

Message ID 20180830132213.5958-1-l.stach@pengutronix.de (mailing list archive)
Headers show
Series imx-sdma fixes for 4.19-rc | expand

Message

Lucas Stach Aug. 30, 2018, 1:22 p.m. UTC
Hi all,

as mentioned previously [1], the change to switch imx-sdma to use a
dma-pool for the dma descriptors is broken. This series reverts the
broken commits and adds an alternative solution to the issue, which
was solved with using the dma pool. Namely the freeing of dma
descriptor memory from the device_terminate_all callback, which may
be called with interrupts disabled, causing a warning from the dma
mapping API.

As the broken code is part of 4.19-rc1, this series needs to go in
as a regression fix.

Regards,
Lucas

[1] https://patchwork.kernel.org/patch/10473979/

Lucas Stach (4):
  Revert "dmaengine: imx-sdma: Use GFP_NOWAIT for dma allocations"
  Revert "dmaengine: imx-sdma: alloclate bd memory from dma pool"
  dmaengine: imx-sdma: implement channel termination via worker
  dmaengine: imx-sdma: use GFP_NOWAIT for dma descriptor allocations

 drivers/dma/imx-sdma.c | 58 +++++++++++++++++++++++++-----------------
 1 file changed, 35 insertions(+), 23 deletions(-)