“ab187e21cca56516d108492d2ca83ed7b94c6b4e”上不存在“...EfficientNet/EfficientNetB3_train_infer_python.txt”
  1. 11 11月, 2018 1 次提交
    • J
      iwlwifi: mvm: remove queue_info_lock · f3f240f9
      Johannes Berg 提交于
      All the queue management code runs under mvm->mutex, so there are
      only very few cases of accessing the data structures without it:
       * TX path, which doesn't take any locks anyway
       * iwl_mvm_wake_sw_queue() and iwl_mvm_stop_sw_queue() where we
         just (atomically) read a bitmap, so the lock isn't needed.
      
      Therefore, we can remove the spinlock. This enables some cleanup
      in the ugly locking in iwl_mvm_inactivity_check().
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      f3f240f9
  2. 08 10月, 2018 1 次提交
    • J
      iwlwifi: mvm: kill INACTIVE queue state · 724fe771
      Johannes Berg 提交于
      We don't really need this state: instead of having an inactive
      state where we can awaken zombie queues again if needed, just
      keep them in their normal state unless a new queue is actually
      needed and there's no other way of getting one.
      
      We do this here by making the inactivity check not free queues
      unless instructed that we now really need to allocate one to a
      specific station, and in that case it'll just free the queue
      immediately, without doing any inactivity step inbetween.
      
      The only downside is a little bit more processing in this case,
      but the code complexity is lower.
      
      Additionally, this fixes a corner case: due to the way the code
      worked, we could only ever reuse an inactive queue if it was
      the reserved queue for a station, as iwl_mvm_find_free_queue()
      would never consider returning an inactive queue.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      724fe771
  3. 06 10月, 2018 1 次提交
  4. 28 9月, 2018 1 次提交
  5. 31 8月, 2018 6 次提交
  6. 26 7月, 2018 1 次提交
  7. 30 5月, 2018 2 次提交
  8. 26 4月, 2018 1 次提交
  9. 20 4月, 2018 3 次提交
  10. 28 3月, 2018 1 次提交
  11. 16 3月, 2018 1 次提交
    • E
      iwlwifi: mvm: set the correct tid when we flush the MCAST sta · 334167de
      Emmanuel Grumbach 提交于
      The tid being used for the queue (cab_queue) for the MCAST
      station has been changed recently to be 0 (for BE).
      The flush path still flushed only the special tid (15)
      which means that the firmware wasn't flushing the right
      queue and we could get a firmware crash upon remove
      station if we had an MCAST packet on the ring.
      
      The current code that flushes queues for a station only
      differentiates between internal stations (stations that
      aren't instantiated in mac80211, like the MCAST station)
      and the non-internal ones.
      Internal stations can be either: BCAST (beacons), MCAST
      (for cab_queue), GENERAL_PURPOSE (p2p dev, and sniffer
      injection). The internal stations can use different tids.
      
      To make the code simpler, just flush all the tids always
      and add the special internal tid (15) for internal
      stations. The firmware will know how to handle this even
      if we hadn't any queue mapped that that tid.
      
      Fixes: e340c1a6ef4b ("iwlwifi: mvm: Correctly set the tid for mcast queue")
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      334167de
  12. 02 3月, 2018 2 次提交
  13. 21 12月, 2017 2 次提交
  14. 06 12月, 2017 1 次提交
  15. 28 11月, 2017 1 次提交
  16. 25 11月, 2017 2 次提交
  17. 03 11月, 2017 1 次提交
  18. 25 10月, 2017 1 次提交
    • M
      locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns... · 6aa7de05
      Mark Rutland 提交于
      locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns to READ_ONCE()/WRITE_ONCE()
      
      Please do not apply this to mainline directly, instead please re-run the
      coccinelle script shown below and apply its output.
      
      For several reasons, it is desirable to use {READ,WRITE}_ONCE() in
      preference to ACCESS_ONCE(), and new code is expected to use one of the
      former. So far, there's been no reason to change most existing uses of
      ACCESS_ONCE(), as these aren't harmful, and changing them results in
      churn.
      
      However, for some features, the read/write distinction is critical to
      correct operation. To distinguish these cases, separate read/write
      accessors must be used. This patch migrates (most) remaining
      ACCESS_ONCE() instances to {READ,WRITE}_ONCE(), using the following
      coccinelle script:
      
      ----
      // Convert trivial ACCESS_ONCE() uses to equivalent READ_ONCE() and
      // WRITE_ONCE()
      
      // $ make coccicheck COCCI=/home/mark/once.cocci SPFLAGS="--include-headers" MODE=patch
      
      virtual patch
      
      @ depends on patch @
      expression E1, E2;
      @@
      
      - ACCESS_ONCE(E1) = E2
      + WRITE_ONCE(E1, E2)
      
      @ depends on patch @
      expression E;
      @@
      
      - ACCESS_ONCE(E)
      + READ_ONCE(E)
      ----
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: davem@davemloft.net
      Cc: linux-arch@vger.kernel.org
      Cc: mpe@ellerman.id.au
      Cc: shuah@kernel.org
      Cc: snitzer@redhat.com
      Cc: thor.thayer@linux.intel.com
      Cc: tj@kernel.org
      Cc: viro@zeniv.linux.org.uk
      Cc: will.deacon@arm.com
      Link: http://lkml.kernel.org/r/1508792849-3115-19-git-send-email-paulmck@linux.vnet.ibm.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
      6aa7de05
  19. 18 10月, 2017 1 次提交
  20. 08 9月, 2017 1 次提交
  21. 18 8月, 2017 2 次提交
  22. 01 8月, 2017 6 次提交
  23. 30 6月, 2017 1 次提交