1. 22 Nov, 2019 5 commits
  2. 14 Nov, 2019 8 commits
  3. 08 Nov, 2019 3 commits
  4. 06 Nov, 2019 8 commits
  5. 05 Nov, 2019 3 commits
  6. 02 Nov, 2019 2 commits
  7. 23 Oct, 2019 2 commits
    • Tony Lindgren's avatar
      dmaengine: cppi41: Fix cppi41_dma_prep_slave_sg() when idle · bacdcb66
      Tony Lindgren authored
      Yegor Yefremov <yegorslists@googlemail.com> reported that musb and ftdi
      uart can fail for the first open of the uart unless connected using
      a hub.
      
      This is because the first dma call done by musb_ep_program() must wait
      if cppi41 is PM runtime suspended. Otherwise musb_ep_program() continues
      with other non-dma packets before the DMA transfer is started causing at
      least ftdi uarts to fail to receive data.
      
      Let's fix the issue by waking up cppi41 with PM runtime calls added to
      cppi41_dma_prep_slave_sg() and return NULL if still idled. This way we
      have musb_ep_program() continue with PIO until cppi41 is awake.
      
      Fixes: fdea2d09 ("dmaengine: cppi41: Add basic PM runtime support")
      Reported-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      Cc: stable@vger.kernel.org # v4.9+
      Link: https://lore.kernel.org/r/20191023153138.23442-1-tony@atomide.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
      bacdcb66
    • Peng Ma's avatar
      dmaengine: fsl-dpaa2-qdma: export the symbols · 53596dfa
      Peng Ma authored
      The symbols were not exported leading to error:
      
      WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/fsl-dpaa2-qdma/dpdmai.o
      see include/linux/module.h for more information
      GZIP    arch/arm64/boot/Image.gz
      ERROR: "dpdmai_enable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_set_rx_queue" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_get_tx_queue" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_get_rx_queue" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_get_attributes" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_open" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_close" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_disable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_reset" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      WARNING: "HYPERVISOR_platform_op" [vmlinux] is a static EXPORT_SYMBOL_GPL
      make[2]: *** [__modpost] Error 1
      make[1]: *** [modules] Error 2
      make[1]: *** Waiting for unfinished jobs....
      make: *** [sub-make] Error 2
      
      So export it.
      Signed-off-by: default avatarPeng Ma <peng.ma@nxp.com>
      Reported-by: default avatarAnders Roxell <anders.roxell@linaro.org>
      Link: https://lore.kernel.org/r/20191023045617.22764-1-peng.ma@nxp.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
      53596dfa
  8. 20 Oct, 2019 7 commits
  9. 18 Oct, 2019 2 commits