1. 04 Jul, 2017 5 commits
  2. 03 Jul, 2017 2 commits
    • Sinan Kaya's avatar
      dmaengine: qcom_hidma: correct API violation for submit · 99efdb3e
      Sinan Kaya authored
      Current code is violating the DMA Engine API by putting the submitted
      requests directly into the HW queue. This causes queued transactions
      to be started by another thread as soon as the first one finishes.
      
      The DMA Engine document clearly states this.
      
      "dmaengine_submit() will not start the DMA operation".
      
      Move HW queuing of the requests into the issue_pending() routine
      to comply with API requirements also create a new queued state for
      temporarily holding the requests.
      
      A descriptor goes through these transitions now.
      
      free->prepared->queued->active->completed->free
      
      as opposed to
      
      free->prepared->active->completed->free
      Signed-off-by: default avatarSinan Kaya <okaya@codeaurora.org>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      99efdb3e
    • Stefan Roese's avatar
      dmaengine: zynqmp_dma: Remove max len check in zynqmp_dma_prep_memcpy · 82474dad
      Stefan Roese authored
      Remove check for "len > ZYNQMP_DMA_MAX_TRANS_LEN" as its not needed.
      If the length is larger, the transfer is split up into multiple parts
      with the max descriptor length already.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Kedareswara rao Appana <appanad@xilinx.com>
      Cc: Vinod Koul <vinod.koul@intel.com>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      82474dad
  3. 30 Jun, 2017 1 commit
    • Jon Hunter's avatar
      dmaengine: tegra-apb: Really fix runtime-pm usage · 65a5c3dd
      Jon Hunter authored
      Commit edd3bdbe ("dmaengine: tegra-apb: Correct runtime-pm usage")
      added pm_runtime_get/put() calls to the tegra-apb DMA system suspend
      callbacks. Runtime PM is disabled during system suspend and so these
      APIs cannot be used. Fix the suspend handling for the tegra-apb DMA by
      moving the save and restore of the DMA register context into the
      runtime PM suspend and resume callbacks, and then use the
      pm_runtime_force_suspend/resume() APIs to invoke the runtime PM
      callbacks during system suspend.
      
      Fixes: edd3bdbe ("dmaengine: tegra-apb: Correct runtime-pm usage")
      Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      65a5c3dd
  4. 29 Jun, 2017 1 commit
  5. 26 Jun, 2017 1 commit
  6. 22 Jun, 2017 1 commit
  7. 17 Jun, 2017 1 commit
  8. 15 Jun, 2017 3 commits
  9. 01 Jun, 2017 2 commits
  10. 30 May, 2017 2 commits
  11. 24 May, 2017 6 commits
  12. 19 May, 2017 2 commits
    • Colin Ian King's avatar
      dmaengine: bcm-scm-raid: remove redundant null check on req · 1fc63cb4
      Colin Ian King authored
      Req is never null on at the point of the null check, so
      remove this redundant check and just return &req->tx.
      
      Detected by CoverityScan, CID#1436147 ("Logically dead code")
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      1fc63cb4
    • Arnd Bergmann's avatar
      dmaengine: bcm-sba-raid: fix Kconfig dependencies · 58d96125
      Arnd Bergmann authored
      The new driver requires both mailbox and raid support for compile
      testing:
      
      drivers/dma/built-in.o: In function `sba_remove':
      edma.c:(.text+0x4414): undefined reference to `mbox_free_channel'
      drivers/dma/built-in.o: In function `sba_issue_pending':
      edma.c:(.text+0x46cc): undefined reference to `mbox_send_message'
      drivers/dma/built-in.o: In function `sba_probe':
      edma.c:(.text+0x4e60): undefined reference to `mbox_request_channel'
      edma.c:(.text+0x5038): undefined reference to `mbox_free_channel'
      drivers/dma/built-in.o: In function `sba_tx_status':
      edma.c:(.text+0x5210): undefined reference to `mbox_client_peek_data'
      
      drivers/dma/built-in.o: In function `sba_prep_dma_pq_req':
      edma.c:(.text+0x5784): undefined reference to `raid6_gflog'
      edma.c:(.text+0x5798): undefined reference to `raid6_gflog'
      
      This rearranges the Kconfig dependencies accordingly.
      
      Fixes: 743e1c8f ("dmaengine: Add Broadcom SBA RAID driver")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      58d96125
  13. 16 May, 2017 4 commits
  14. 15 May, 2017 2 commits
  15. 14 May, 2017 7 commits