netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* STMMAC: sleep inside atomic
@ 2010-09-04 11:47 Jiri Slaby
  2010-09-06  9:47 ` Peppe CAVALLARO
  0 siblings, 1 reply; 6+ messages in thread
From: Jiri Slaby @ 2010-09-04 11:47 UTC (permalink / raw)
  To: peppe.cavallaro; +Cc: David S. Miller, ML netdev

Hi,

stanse found that the driver may sleep inside atomic:
stmmac_resume
  -> spin_lock
  -> stmmac_open
    -> request_irq
    -> kzalloc(..., GFP_KERNEL);
    -> init_dma_desc_rings
      -> kmalloc(..., GFP_KERNEL);
    -> and many others...
  -> spin_unlock

Could you fix that?

regards,
-- 
js

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-07  0:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-04 11:47 STMMAC: sleep inside atomic Jiri Slaby
2010-09-06  9:47 ` Peppe CAVALLARO
2010-09-06 19:25   ` Jiri Slaby
2010-09-06 20:08     ` David Miller
2010-09-06 20:55       ` Jiri Slaby
2010-09-07  0:50         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).