1. 12 12月, 2016 2 次提交
  2. 19 10月, 2016 1 次提交
  3. 08 10月, 2016 2 次提交
  4. 02 10月, 2016 2 次提交
  5. 28 9月, 2016 1 次提交
  6. 17 9月, 2016 1 次提交
  7. 24 8月, 2016 1 次提交
  8. 23 8月, 2016 1 次提交
    • M
      IB/hfi1,IB/qib: Fix qp_stats sleep with rcu read lock held · c62fb260
      Mike Marciniszyn 提交于
      The qp init function does a kzalloc() while holding the RCU
      lock that encounters the following warning with a debug kernel
      when a cat of the qp_stats is done:
      
      [  231.723948] rcu_scheduler_active = 1, debug_locks = 0
      [  231.731939] 3 locks held by cat/11355:
      [  231.736492]  #0:  (debugfs_srcu){......}, at: [<ffffffff813001a5>] debugfs_use_file_start+0x5/0x90
      [  231.746955]  #1:  (&p->lock){+.+.+.}, at: [<ffffffff81289a6c>] seq_read+0x4c/0x3c0
      [  231.755873]  #2:  (rcu_read_lock){......}, at: [<ffffffffa0a0c535>] _qp_stats_seq_start+0x5/0xd0 [hfi1]
      [  231.766862]
      
      The init functions do an implicit next which requires the rcu read lock
      before the kzalloc().
      
      Fix for both drivers is to change the scope of the init function to only
      do the allocation and the initialization of the just allocated iter.
      
      The implict next is moved back into the respective start functions to fix
      the issue.
      Signed-off-by: NIra Weiny <ira.weiny@intel.com>
      Signed-off-by: NMike Marciniszyn <mike.marciniszyn@intel.com>
      CC: <stable@vger.kernel.org> # 4.6.x-
      Reviewed-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      c62fb260
  9. 03 8月, 2016 2 次提交
  10. 18 6月, 2016 1 次提交
  11. 27 5月, 2016 1 次提交
  12. 26 5月, 2016 2 次提交
  13. 01 5月, 2016 1 次提交
  14. 29 4月, 2016 3 次提交
  15. 11 3月, 2016 19 次提交