tg3: synchronize_irq() should be called without taking locks
Subsystems (2)
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(-)
Quoted 4 lines · Prashant Sreedharan
Prashant Sreedharan (3):
tg3_timer()should grabtp->lockbefore checking fortp->irq_synctg3_reset_task()needs to usertnl_lockto synchronize Releasetp->lockbefore invokingsynchronize_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
Quoted 8 lines · Peter Hurley
Quoted 4 lines · Prashant Sreedharan
Prashant Sreedharan (3):
tg3_timer()should grabtp->lockbefore checking fortp->irq_synctg3_reset_task()needs to usertnl_lockto synchronize Releasetp->lockbefore invokingsynchronize_irq()Thanks!
Quoted 8 lines
For series:
Reported-by Peter Hurley <[email protected]>Tested-by Peter Hurley <[email protected]>But maybe one of these patches should reference that this fixes
BUG: sleeping function... so that others can quickly find thisfix (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