An error occurred fetching the project authors.
  1. 04 May, 2016 1 commit
    • Andy Shevchenko's avatar
      dmaengine: dw: fix master selection · 42e6f01a
      Andy Shevchenko authored
      commit 3fe6409c upstream.
      
      The commit 89500520 ("dmaengine: dw: apply both HS interfaces and remove
      slave_id usage") cleaned up the code to avoid usage of depricated slave_id
      member of generic slave configuration.
      
      Meanwhile it broke the master selection by removing important call to
      dwc_set_masters() in ->device_alloc_chan_resources() which copied masters from
      custom slave configuration to the internal channel structure.
      
      Everything works until now since there is no customized connection of
      DesignWare DMA IP to the bus, i.e. one bus and one or more masters are in use.
      The configurations where 2 masters are connected to the different masters are
      not working anymore. We are expecting one user of such configuration and need
      to select masters properly. Besides that it is obviously a performance
      regression since only one master is in use in multi-master configuration.
      
      Select masters in accordance with what user asked for. Keep this patch in a form
      more suitable for back porting.
      
      We are safe to take necessary data in ->device_alloc_chan_resources() because
      we don't support generic slave configuration embedded into custom one, and thus
      the only way to provide such is to use the parameter to a filter function which
      is called exactly before channel resource allocation.
      
      While here, replase BUG_ON to less noisy dev_warn() and prevent channel
      allocation in case of error.
      
      Fixes: 89500520 ("dmaengine: dw: apply both HS interfaces and remove slave_id usage")
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      42e6f01a
  2. 03 Mar, 2016 3 commits
  3. 31 Oct, 2015 2 commits
  4. 30 Sep, 2015 2 commits
  5. 17 Jul, 2015 1 commit
  6. 16 Mar, 2015 2 commits
  7. 05 Mar, 2015 1 commit
  8. 05 Feb, 2015 1 commit
  9. 13 Jan, 2015 2 commits
  10. 22 Dec, 2014 1 commit
  11. 11 Nov, 2014 1 commit
  12. 15 Oct, 2014 3 commits
  13. 11 Sep, 2014 4 commits
  14. 15 Jul, 2014 3 commits
  15. 22 May, 2014 3 commits
  16. 07 May, 2014 1 commit
  17. 26 Mar, 2014 1 commit
  18. 17 Feb, 2014 1 commit
  19. 20 Jan, 2014 3 commits
  20. 14 Nov, 2013 2 commits
  21. 25 Oct, 2013 1 commit
  22. 05 Aug, 2013 1 commit