1. 06 Sep, 2017 3 commits
  2. 05 Sep, 2017 4 commits
  3. 29 Aug, 2017 1 commit
    • Stefan Roese's avatar
      dmaengine: altera: Use macros instead of structs to describe the registers · 6084fc2e
      Stefan Roese authored
      This patch moves from a struct declaration for the DMA controller
      registers to macros with offests to the base address. This is mainly
      done to remove the sparse warnings, since the function parameter of
      ioread32/iowrite32 is "void __iomem *" instead of a pointer to struct
      members. With this patch applied, no sparse warning is seen anymore.
      
      Please note that the struct for the descriptors is still kept in place,
      as the code largely accesses the struct members as internal variables
      before the complete struct is copied into the descriptor FIFO of the
      DMA controller.
      
      Additionally this patch also removes two warnings "variable xxx set but
      not used" seen when compiling with "W=1". The registers need to be read
      to flush the response FIFO, but nothing needs to be done with them. So
      the code is correct here and the warning is a false one.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      6084fc2e
  4. 28 Aug, 2017 20 commits
  5. 25 Aug, 2017 1 commit
  6. 23 Aug, 2017 1 commit
  7. 22 Aug, 2017 1 commit
  8. 21 Aug, 2017 5 commits
  9. 19 Jul, 2017 1 commit
    • Vinod Koul's avatar
      dmaengine: bcm-scm-raid: statify functions · dd2bceb0
      Vinod Koul authored
      This driver builds with warnings which can be fixed by making these
      functions static.
      
        CC [M]  drivers/dma/bcm-sba-raid.o
      drivers/dma/bcm-sba-raid.c:786:1: warning: no previous prototype for ‘sba_prep_dma_xor_req’ [-Wmissing-prototypes]
       sba_prep_dma_xor_req(struct sba_device *sba,
       ^
      drivers/dma/bcm-sba-raid.c:995:1: warning: no previous prototype for ‘sba_prep_dma_pq_req’ [-Wmissing-prototypes]
       sba_prep_dma_pq_req(struct sba_device *sba, dma_addr_t off,
       ^
      drivers/dma/bcm-sba-raid.c:1247:1: warning: no previous prototype for ‘sba_prep_dma_pq_single_req’ [-Wmissing-prototypes]
       sba_prep_dma_pq_single_req(struct sba_device *sba, dma_addr_t off,
       ^
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      dd2bceb0
  10. 18 Jul, 2017 2 commits
    • Stefan Roese's avatar
      dmaengine: Add driver for Altera / Intel mSGDMA IP core · a85c6f1b
      Stefan Roese authored
      This driver adds support for the Altera / Intel modular Scatter-Gather
      Direct Memory Access (mSGDMA) intellectual property (IP) to the Linux
      DMAengine subsystem. Currently it supports the following op modes:
      
      - DMA_MEMCPY
      - DMA_SG
      - DMA_SLAVE
      
      This implementation has been tested on an Altera Cyclone FPGA connected
      via PCIe, both on an ARM and an x86 platform.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Vinod Koul <vinod.koul@intel.com>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      a85c6f1b
    • Arvind Yadav's avatar
      dmaengine: ioat: constify pci_device_id. · 01fa2fae
      Arvind Yadav authored
      pci_device_id are not supposed to change at runtime. All functions
      working with pci_device_id provided by <linux/pci.h> work with
      const pci_device_id. So mark the non-const structs as const.
      
      File size before:
         text	   data	    bss	    dec	    hex	filename
        12582	   3056	     16	  15654	   3d26	drivers/dma/ioat/init.o
      
      File size After adding 'const':
         text	   data	    bss	    dec	    hex	filename
        14773	    865	     16	  15654	   3d26	drivers/dma/ioat/init.o
      Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      01fa2fae
  11. 15 Jul, 2017 1 commit