Skip to contentSkip to conversation

tg3: synchronize_irq() should be called without taking locks

PATCH Superseded Prashant Sreedharan 2 participants 3 messages Jan 14, 2015

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover tg3: synchronize_irq() should be called without taking locks

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 is validating this patch set, we need few days before merging

 drivers/net/ethernet/broadcom/tg3.c |   23 ++++++++++++++++++++---
 1 files changed, 20 insertions(+), 3 deletions(-)
Tested-by on the v1 series
#1 lore raw
Quoted 4 lines · Prashant Sreedharan

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()

Thanks!

For series:

But maybe one of these patches should reference that this fixes

BUG: sleeping function... so that others can quickly find this

fix (if they're bisecting or whatever). For the same reason, it might be useful for this series to be just one patch.

Regards,
Peter Hurley

#2 lore raw
Quoted 8 lines · Peter Hurley
Quoted 4 lines · Prashant Sreedharan

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()

Thanks!

Quoted 8 lines

For series:

But maybe one of these patches should reference that this fixes

BUG: sleeping function... so that others can quickly find this

fix (if they're bisecting or whatever).

Sure will add

Quoted 2 lines

For the same reason, it
might be useful for this series to be just one patch.

These are logical different sections of code, I prefer them to be small patches.

Quoted 4 lines

Regards,
Peter Hurley