1. 02 4月, 2015 1 次提交
    • J
      iwlwifi: mvm: do string formatting in debug triggers · 5d4f929e
      Johannes Berg 提交于
      The current code has a lot of duplicates of printing into a buffer
      (while having to make sure it's NUL-filled and -terminated) and
      then passing that to the debug trigger collection.
      
      Since that's error-prone, instead make the debug trigger collection
      function take a format string and format arguments (with compiler
      validity checking) and handle the buffer internally.
      
      This makes one behavioural change -- instead of sending the whole
      buffer to userspace (clearing is needed to not leak stack data) it
      just passes the actual string (including NUL-terminator.)
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      5d4f929e
  2. 02 3月, 2015 2 次提交
  3. 01 3月, 2015 3 次提交
  4. 22 1月, 2015 3 次提交
  5. 24 11月, 2014 3 次提交
  6. 11 11月, 2014 1 次提交
  7. 21 9月, 2014 1 次提交
  8. 09 9月, 2014 1 次提交
  9. 04 9月, 2014 2 次提交
  10. 08 7月, 2014 1 次提交
  11. 14 4月, 2014 1 次提交
  12. 13 4月, 2014 3 次提交
  13. 21 2月, 2014 1 次提交
  14. 13 2月, 2014 1 次提交
  15. 06 2月, 2014 1 次提交
  16. 04 2月, 2014 1 次提交
  17. 01 1月, 2014 1 次提交
  18. 18 12月, 2013 1 次提交
  19. 29 10月, 2013 1 次提交
  20. 03 10月, 2013 1 次提交
  21. 16 8月, 2013 1 次提交
  22. 06 8月, 2013 2 次提交
  23. 31 7月, 2013 2 次提交
  24. 29 5月, 2013 1 次提交
  25. 06 3月, 2013 1 次提交
  26. 04 3月, 2013 1 次提交
  27. 19 2月, 2013 1 次提交
  28. 05 2月, 2013 1 次提交
    • J
      iwlwifi: use threaded interrupt handler · 2bfb5092
      Johannes Berg 提交于
      With new transports coming up, move to threaded
      interrupt handling now. This has the advantage
      that we can use the same locking scheme with all
      different transports we may need to implement.
      
      Note that the TX path obviously still runs in a
      tasklet, so some spin_lock() calls need to change
      to spin_lock_bh() calls to properly lock out the
      TX path.
      
      In my test on a Calpella platform this has no
      impact on throughput or latency.
      
      Also add lockdep annotations to avoid lockups due
      to catch sending synchronous commands or using
      locks that connect with them from the irq thread.
      Reviewed-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      2bfb5092