1. 24 2月, 2015 23 次提交
  2. 22 2月, 2015 2 次提交
  3. 21 2月, 2015 9 次提交
  4. 20 2月, 2015 2 次提交
  5. 18 2月, 2015 1 次提交
  6. 14 2月, 2015 2 次提交
  7. 12 2月, 2015 1 次提交
    • J
      tg3: Hold tp->lock before calling tg3_halt() from tg3_init_one() · d0af71a3
      Jun'ichi Nomura \(NEC\) 提交于
      tg3_init_one() calls tg3_halt() without tp->lock despite its assumption
      and causes deadlock.
      If lockdep is enabled, a warning like this shows up before the stall:
      
        [ BUG: bad unlock balance detected! ]
        3.19.0test #3 Tainted: G            E
        -------------------------------------
        insmod/369 is trying to release lock (&(&tp->lock)->rlock) at:
        [<ffffffffa02d5a1d>] tg3_chip_reset+0x14d/0x780 [tg3]
        but there are no more locks to release!
      
      tg3_init_one() doesn't call tg3_halt() under normal situation but
      during kexec kdump I hit this problem.
      
      Fixes: 932f19de ("tg3: Release tp->lock before invoking synchronize_irq()")
      Signed-off-by: NJun'ichi Nomura <j-nomura@ce.jp.nec.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d0af71a3