Skip to content

tg3: synchronize_irq() should be called without taking locks

Prashant Sreedharan netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tg3: tg3_timer() should grab tp->lock before checking for tp->irq_syncdrivers/net/ethernet/broadcom/tg3.c+5 -30 replies
2/3tg3: tg3_reset_task() needs to use rtnl_lock to synchronizedrivers/net/ethernet/broadcom/tg3.c+3 -00 replies
3/3tg3: Release tp->lock before invoking synchronize_irq()drivers/net/ethernet/broadcom/tg3.c+12 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchPeter Hurley
1/3T-b
2/3T-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net 0/3 v2]tg3: synchronize_irq() should be called without taking locks

v2: Added Reported-by, Tested-by fields and reference to the thread that
reported the problem

This series addresses the problem reported by Peter Hurley in mail thread
https://lkml.org/lkml/2015/1/12/1082

Prashant Sreedharan (3):
tg3_timer() should grab tp->lock before checking for tp->irq_sync tg3_reset_task() needs to use rtnl_lock to synchronize Release tp->lock before invoking synchronize_irq()

Our QA team also has validated this patch series. Thanks.

 drivers/net/ethernet/broadcom/tg3.c |   23 ++++++++++++++++++++---
 1 files changed, 20 insertions(+), 3 deletions(-)