1. 03 2月, 2010 6 次提交
  2. 23 12月, 2009 2 次提交
  3. 20 12月, 2009 1 次提交
  4. 18 12月, 2009 2 次提交
    • D
      ioat3: fix p-disabled q-continuation · cd78809f
      Dan Williams 提交于
      When continuing a pq calculation the driver needs 3 extra sources.  The
      driver can perform a 3 source calculation with a single descriptor, but
      needs an extended descriptor to process up to 8 sources in one
      operation.  However, in the p-disabled case only one extra source is
      needed.  When continuing a p-disabled operation there are occasions
      (i.e. 0 < src_cnt % 8 < 3) where the tail operation does not need an
      extended descriptor.  Properly account for this fact otherwise invalid
      'dmacount' values will be written to hardware usually causing the
      channel to halt with 'invalid descriptor' errors.
      
      Cc: <stable@kernel.org>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      cd78809f
    • G
      sh: fix DMA driver's descriptor chaining and cookie assignment · 3542a113
      Guennadi Liakhovetski 提交于
      The SH DMA driver wrongly assigns negative cookies to transfer descriptors,
      also, its chaining of partial descriptors is broken. The latter problem is
      usually invisible, because maximum transfer size per chunk is 16M, but if you
      artificially set this limit lower, the driver fails. Since cookies are also
      used in chunk management, both these problems are fixed in one patch. As side
      effects a possible memory leak, when descriptors are prepared, but not
      submitted, and multiple races have also been fixed.
      Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Acked-by: NPaul Mundt <lethal@linux-sh.org>
      Acked-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      3542a113
  5. 17 12月, 2009 1 次提交
  6. 16 12月, 2009 1 次提交
  7. 12 12月, 2009 2 次提交
  8. 11 12月, 2009 3 次提交
  9. 04 12月, 2009 1 次提交
  10. 23 11月, 2009 1 次提交
  11. 20 11月, 2009 8 次提交
  12. 18 11月, 2009 1 次提交
  13. 26 10月, 2009 1 次提交
  14. 03 10月, 2009 1 次提交
  15. 22 9月, 2009 2 次提交
    • D
      ioat3: fix uninitialized var warnings · cdef57db
      Dan Williams 提交于
      drivers/dma/ioat/dma_v3.c: In function 'ioat3_prep_memset_lock':
      drivers/dma/ioat/dma_v3.c:439: warning: 'fill' may be used uninitialized in this function
      drivers/dma/ioat/dma_v3.c:437: warning: 'desc' may be used uninitialized in this function
      drivers/dma/ioat/dma_v3.c: In function '__ioat3_prep_xor_lock':
      drivers/dma/ioat/dma_v3.c:489: warning: 'xor' may be used uninitialized in this function
      drivers/dma/ioat/dma_v3.c:486: warning: 'desc' may be used uninitialized in this function
      drivers/dma/ioat/dma_v3.c: In function '__ioat3_prep_pq_lock':
      drivers/dma/ioat/dma_v3.c:631: warning: 'pq' may be used uninitialized in this function
      drivers/dma/ioat/dma_v3.c:628: warning: 'desc' may be used uninitialized in this function
      
      gcc-4.0, unlike gcc-4.3, does not see that these variables are
      initialized before use.  Convert the descriptor loops to do-while make
      this initialization apparent.
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      cdef57db
    • A
      drivers/dma/ioat/dma_v2.c: fix warnings · f477f5b3
      Andrew Morton 提交于
      drivers/dma/ioat/dma_v2.c: In function 'ioat2_dma_prep_memcpy_lock':
      drivers/dma/ioat/dma_v2.c:680: warning: 'hw' may be used uninitialized in this function
      drivers/dma/ioat/dma_v2.c:681: warning: 'desc' may be used uninitialized in this function
      
      Cc: Maciej Sosnowski <maciej.sosnowski@intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      f477f5b3
  16. 17 9月, 2009 1 次提交
  17. 15 9月, 2009 1 次提交
  18. 11 9月, 2009 2 次提交
  19. 09 9月, 2009 3 次提交
新手
引导
客服 返回
顶部