1. 11 Jul, 2016 1 commit
    • Bhaktipriya Shridhar's avatar
      spi: spi-topcliff-pch: Remove deprecated create_singlethread_workqueue · 0d357739
      Bhaktipriya Shridhar authored
      The workqueue "wk" serves as a queue for carrying out execution
      of requests. It has a single work item(&drv_data->work) and hence doesn't
      require ordering. Also, it is not being used on a memory reclaim path.
      Hence, the singlethreaded workqueue has been replaced with the use of
      system_wq.
      
      System workqueues have been able to handle high level of concurrency
      for a long time now and hence it's not required to have a singlethreaded
      workqueue just to gain concurrency. Unlike a dedicated per-cpu workqueue
      created with create_singlethread_workqueue(), system_wq allows multiple
      work items to overlap executions even on the same CPU; however, a
      per-cpu workqueue doesn't have any CPU locality or global ordering
      guarantee unless the target CPU is explicitly specified and thus the
      increase of local concurrency shouldn't make any difference.
      
      Work item has been flushed in pch_spi_free_resources() to ensure that
      there are no pending tasks while disconnecting the driver.
      
      Also dropped the label 'err_return' since it's not being used anymore.
      Signed-off-by: default avatarBhaktipriya Shridhar <bhaktipriya96@gmail.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      0d357739
  2. 22 Dec, 2014 1 commit
  3. 20 Oct, 2014 1 commit
  4. 30 Jul, 2014 1 commit
  5. 16 Jul, 2014 1 commit
  6. 29 Apr, 2014 1 commit
  7. 25 Mar, 2014 1 commit
  8. 24 Mar, 2014 1 commit
  9. 26 Feb, 2014 1 commit
  10. 19 Feb, 2014 2 commits
  11. 14 Feb, 2014 1 commit
  12. 17 Jan, 2014 1 commit
  13. 03 Dec, 2013 1 commit
  14. 16 Oct, 2013 1 commit
  15. 24 Sep, 2013 1 commit
  16. 12 Aug, 2013 1 commit
  17. 04 Jun, 2013 1 commit
  18. 29 May, 2013 1 commit
  19. 22 May, 2013 1 commit
  20. 20 May, 2013 1 commit
  21. 27 Apr, 2013 1 commit
  22. 25 Apr, 2013 1 commit
  23. 07 Dec, 2012 1 commit
  24. 01 Sep, 2012 1 commit
  25. 27 Aug, 2012 1 commit
  26. 19 May, 2012 2 commits
  27. 21 Mar, 2012 1 commit
  28. 09 Mar, 2012 6 commits
  29. 05 Feb, 2012 1 commit
  30. 30 Oct, 2011 1 commit
  31. 29 Oct, 2011 2 commits
  32. 04 Oct, 2011 1 commit
    • Tomoya MORINAGA's avatar
      spi-topcliff-pch: Fix overrun issue · f3e03e2e
      Tomoya MORINAGA authored
      We found that adding load, Rx data sometimes drops.(with DMA transfer mode)
      The cause is that before starting Rx-DMA processing, Tx-DMA processing starts.
      This causes FIFO overrun occurs.
      
      This patch fixes the issue by modifying FIFO tx-threshold and DMA descriptor
      size like below.
      
                            Current                   this patch
      Rx-descriptor   4Byte+12Byte*341    -->    12Byte*340-4Byte-12Byte
      Rx-threshold                   (Not modified)
      Tx-descriptor   4Byte+12Byte*341    -->    16Byte-12Byte*340
      Rx-threshold    12Byte              -->    2Byte
      Signed-off-by: default avatarTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      f3e03e2e