1. 29 Jun, 2016 8 commits
  2. 28 Jun, 2016 4 commits
  3. 27 Jun, 2016 1 commit
  4. 22 Jun, 2016 2 commits
  5. 19 Jun, 2016 5 commits
  6. 18 Jun, 2016 3 commits
  7. 17 Jun, 2016 1 commit
  8. 16 Jun, 2016 2 commits
  9. 15 Jun, 2016 1 commit
    • Eric Dumazet's avatar
      net/mlx4_en: initialize cmd.context_lock spinlock earlier · 0c5ddb51
      Eric Dumazet authored
      
      
      Maciej Żenczykowski reported lockdep warning a spinlock
      was not registered before being held in mlx4_cmd_wake_completions()
      
      cmd.context_lock initialization is not at the right place.
      
      1) mlx4_cmd_use_events() can be called multiple times.
         Calling spin_lock_init() on a live spinlock can lead
         to hangs.
      
      2) mlx4_cmd_wake_completions() can be called while lock
         has not been initialized.
         Lockdep complains, and current logic is not race prone.
      
      It seems better to move the initialization earlier in
      mlx4_load_one()
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Reported-by: default avatarMaciej Żenczykowski <maze@google.com>
      Cc: Eugenia Emantayev <eugenia@mellanox.com>
      Cc: Tariq Toukan <tariqt@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0c5ddb51
  10. 14 Jun, 2016 1 commit
  11. 13 Jun, 2016 1 commit
  12. 11 Jun, 2016 11 commits